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