1 write to Max
Microsoft.ML.SearchSpace (1)
Option\UniformNumericOption.cs (1)
30
Max
= max;
10 references to Max
Microsoft.ML.SearchSpace (10)
Converter\NumericOptionConverter.cs (3)
59
Max = Convert.ToInt32(intOption.
Max
),
67
Max = doubleOption.
Max
,
75
Max = Convert.ToSingle(singleOption.
Max
),
Option\UniformNumericOption.cs (7)
60
Contract.Assert(x <=
Max
&& x >= Min, $"{x} is not within [{Min}, {
Max
}]");
63
var logMax = Math.Log(
Max
);
71
return new[] { x / (
Max
- Min) - Min / (
Max
- Min) };
84
var order = Math.Pow(
Max
/ Min, value);
90
return Parameter.FromDouble((Min + (
Max
- Min) * value));