9 instantiations of UniformSingleOption
Microsoft.ML.AutoML (1)
API\AutoMLExperimentExtension.cs (1)
37searchSpace.Add(datasetManager.SubSamplingKey, new UniformSingleOption(0, 1, false, 0.1f));
Microsoft.ML.AutoML.Samples (1)
Sweepable\SearchSpaceExample.cs (1)
24myParameterSearchSpace2["SingleOption"] = new UniformSingleOption(min: 1, max: 10, logBase: true, defaultValue: 1);
Microsoft.ML.Fairlearn (1)
Reductions\Utilities.cs (1)
31var option = new UniformSingleOption(-gridLimit, gridLimit, defaultValue: Convert.ToSingle(rand.NextDouble()) * 2.0f * gridLimit - gridLimit);
Microsoft.ML.SearchSpace (6)
Converter\NumericOptionConverter.cs (1)
44"float" => new UniformSingleOption(Convert.ToSingle(schema.Min), Convert.ToSingle(schema.Max), schema.LogBase, Convert.ToSingle(schema.Default)),
Option\ChoiceOption.cs (1)
33_option = new UniformSingleOption(0, Choices.Length);
SearchSpace.cs (4)
224(float min, float max, float init, bool logBase) => new UniformSingleOption(min, max, logBase, init), 225(float min, float max, null, bool logBase) => new UniformSingleOption(min, max, logBase), 271(float min, float max, float init, bool logBase) => new UniformSingleOption(min, max, logBase, init), 272(float min, float max, null, bool logBase) => new UniformSingleOption(min, max, logBase),
4 references to UniformSingleOption
Microsoft.ML.Fairlearn (1)
Reductions\Utilities.cs (1)
31var option = new UniformSingleOption(-gridLimit, gridLimit, defaultValue: Convert.ToSingle(rand.NextDouble()) * 2.0f * gridLimit - gridLimit);
Microsoft.ML.SearchSpace (3)
Converter\NumericOptionConverter.cs (1)
70UniformSingleOption singleOption => new Schema
Option\ChoiceOption.cs (1)
21private readonly UniformSingleOption _option;
Option\UniformNumericOption.cs (1)
123/// Create a <see cref="UniformSingleOption"/> using <paramref name="min"/>, <paramref name="max"/> and <paramref name="defaultValue"/>.