1 interface inheriting from IValueGenerator
Microsoft.ML.Sweeper (1)
Parameters.cs (1)
203public interface INumericValueGenerator : IValueGenerator
1 implementation of IValueGenerator
Microsoft.ML.Sweeper (1)
Parameters.cs (1)
468public class DiscreteValueGenerator : IValueGenerator
29 references to IValueGenerator
Microsoft.ML.Sweeper (26)
Algorithms\Grid.cs (8)
23public delegate void SignatureSweeperFromParameterList(IValueGenerator[] sweepParameters); 33public IComponentFactory<IValueGenerator>[] SweptParameters; 40protected readonly IValueGenerator[] SweepParameters; 56protected SweeperBase(OptionsBase options, IHostEnvironment env, IValueGenerator[] sweepParameters, string name) 124foreach (var sweptParameter in SweepParameters) 137public RandomGridSweeper(IHostEnvironment env, Options options, IValueGenerator[] sweepParameters) 141foreach (var sweptParameter in SweepParameters) 192foreach (var sweepParameter in SweepParameters)
Algorithms\KdoSweeper.cs (3)
42public IComponentFactory<IValueGenerator>[] SweptParameters; 83private readonly IValueGenerator[] _sweepParameters; 222var sweepParam = _sweepParameters[i];
Algorithms\NelderMead.cs (6)
24public IComponentFactory<IValueGenerator>[] SweptParameters; 27public IComponentFactory<IValueGenerator[], ISweeper> FirstBatchSweeper = ComponentFactoryUtils.CreateFromFunction<IValueGenerator[], ISweeper>((host, array) => new UniformRandomSweeper(host, new SweeperBase.OptionsBase(), array)); 85private readonly List<IValueGenerator> _sweepParameters; 100_sweepParameters = new List<IValueGenerator>(); 103var parameter = sweptParameter.CreateComponent(env);
Algorithms\Random.cs (1)
27public UniformRandomSweeper(IHostEnvironment env, OptionsBase options, IValueGenerator[] sweepParameters)
Algorithms\SmacSweeper.cs (4)
29public IComponentFactory<IValueGenerator>[] SweptParameters; 66private readonly IValueGenerator[] _sweepParameters; 276IValueGenerator sweepParam = _sweepParameters[i]; 442var sweepParam = _sweepParameters[index];
Algorithms\SweeperProbabilityUtils.cs (3)
160public static float[] ParameterSetAsFloatArray(IHost host, IValueGenerator[] sweepParams, ParameterSet ps, bool expandCategoricals = true) 169var sweepParam = sweepParams[i]; 212public static ParameterSet FloatArrayAsParameterSet(IHost host, IValueGenerator[] sweepParams, float[] array, bool expandedCategoricals = true)
Parameters.cs (1)
522public bool TryParseParameter(string paramValue, Type paramType, string paramName, out IValueGenerator sweepValues, out string error)
Microsoft.ML.Sweeper.Tests (3)
TestSweeper.cs (3)
137SweptParameters = new IComponentFactory<IValueGenerator>[] { 374FirstBatchSweeper = ComponentFactoryUtils.CreateFromFunction<IValueGenerator[], ISweeper>( 552FirstBatchSweeper = ComponentFactoryUtils.CreateFromFunction<IValueGenerator[], ISweeper>(