3 instantiations of DiscreteValueGenerator
Microsoft.ML.Sweeper (1)
Parameters.cs (1)
532
sweepValues = new
DiscreteValueGenerator
(generatorOptions);
Microsoft.ML.Sweeper.Tests (2)
SweeperTest.cs (1)
59
return new
DiscreteValueGenerator
(args);
TestSweeper.cs (1)
84
var paramSweep = new
DiscreteValueGenerator
(new DiscreteParamOptions() { Name = "bla", Values = new[] { "foo", "bar", "baz" } });
16 references to DiscreteValueGenerator
Microsoft.ML.Sweeper (12)
Algorithms\KdoSweeper.cs (3)
224
if (sweepParam is
DiscreteValueGenerator
parameterDiscrete)
353
private double[] CategoriesToWeights(
DiscreteValueGenerator
param, IRunResult[] previousRuns)
396
private double[] CategoriesToWeightsOld(
DiscreteValueGenerator
param, IEnumerable<IRunResult> previousRuns)
Algorithms\SmacSweeper.cs (4)
283
DiscreteValueGenerator
parameterDiscrete = sweepParam as
DiscreteValueGenerator
;
446
var
parameterDiscrete = sweepParam as
DiscreteValueGenerator
;
Algorithms\SweeperProbabilityUtils.cs (4)
175
var
parameterDiscrete = sweepParam as
DiscreteValueGenerator
;
220
var
parameterDiscrete = sweepParams[i] as
DiscreteValueGenerator
;
Parameters.cs (1)
20
[assembly: LoadableClass(typeof(
DiscreteValueGenerator
), typeof(DiscreteParamOptions), typeof(SignatureSweeperParameter),
Microsoft.ML.Sweeper.Tests (4)
SweeperTest.cs (3)
20
DiscreteValueGenerator
valueGenerator = CreateDiscreteValueGenerator();
37
DiscreteValueGenerator
valueGenerator = CreateDiscreteValueGenerator();
51
private static
DiscreteValueGenerator
CreateDiscreteValueGenerator()
TestSweeper.cs (1)
84
var
paramSweep = new DiscreteValueGenerator(new DiscreteParamOptions() { Name = "bla", Values = new[] { "foo", "bar", "baz" } });