19 instantiations of UniformIntOption
Microsoft.ML.AutoML.Samples (2)
Sweepable\SearchSpaceExample.cs (2)
23
myParameterSearchSpace2["IntOption"] = new
UniformIntOption
(min: -10, max: 10, logBase: false, defaultValue: 0);
33
nestedSearchSpace["IntOption"] = new
UniformIntOption
(min: -10, max: 10, logBase: false, defaultValue: 0);
Microsoft.ML.SearchSpace (5)
Converter\NumericOptionConverter.cs (1)
43
"int" => new
UniformIntOption
(Convert.ToInt32(schema.Min), Convert.ToInt32(schema.Max), schema.LogBase, Convert.ToInt32(schema.Default)),
SearchSpace.cs (4)
222
(int min, int max, int init, bool logBase) => new
UniformIntOption
(min, max, logBase, init),
223
(int min, int max, null, bool logBase) => new
UniformIntOption
(min, max, logBase),
269
(int min, int max, int init, bool logBase) => new
UniformIntOption
(min, max, logBase, init),
270
(int min, int max, null, bool logBase) => new
UniformIntOption
(min, max, logBase),
Microsoft.ML.SearchSpace.Tests (12)
SearchSpaceTest.cs (7)
134
ss.Add("A", new
UniformIntOption
(-1000, 1000));
221
searchSpace.Add("int", new
UniformIntOption
(0, 1));
224
anotherNestOption["int"] = new
UniformIntOption
(2, 3);
246
searchSpace.Add("int", new
UniformIntOption
(0, 1));
259
searchSpace["a"] = new
UniformIntOption
(0, 1);
260
searchSpace["b"] = new
UniformIntOption
(1, 2);
261
searchSpace["c"] = new
UniformIntOption
(2, 3);
UniformNumericOptionTests.cs (5)
23
var option = new
UniformIntOption
(0, 100);
34
var option = new
UniformIntOption
(1, 1024, true);
45
var option = new
UniformIntOption
(0, 100);
56
var option = new
UniformIntOption
(20, 1024, defaultValue: 20, logBase: true);
63
var option = new
UniformIntOption
(1, 1024, true);
7 references to UniformIntOption
Microsoft.ML.SearchSpace (2)
Converter\NumericOptionConverter.cs (1)
54
UniformIntOption
intOption => new Schema
Option\UniformNumericOption.cs (1)
161
/// Create a <see cref="
UniformIntOption
"/> using <paramref name="min"/>, <paramref name="max"/> and <paramref name="defaultValue"/>.
Microsoft.ML.SearchSpace.Tests (5)
UniformNumericOptionTests.cs (5)
23
var
option = new UniformIntOption(0, 100);
34
var
option = new UniformIntOption(1, 1024, true);
45
var
option = new UniformIntOption(0, 100);
56
var
option = new UniformIntOption(20, 1024, defaultValue: 20, logBase: true);
63
var
option = new UniformIntOption(1, 1024, true);