1 write to Min
Microsoft.ML.AutoML (1)
PipelineSuggesters\PipelineSuggester.cs (1)
171
Min
= lp.Min,
20 references to Min
Microsoft.ML.AutoML (20)
Sweepers\Parameters.cs (20)
213
Runtime.Contracts.Assert(args.
Min
< args.Max, "min must be less than max");
215
Runtime.Contracts.Assert(!args.LogBase || args.
Min
> 0, "min must be positive if log scale is used");
229
? Math.Pow(1.0 * _args.Max / _args.
Min
, 1.0 / (_args.NumSteps - 1))
232
var logMin = Math.Log(_args.
Min
, logBase);
233
val = (long)(_args.
Min
* Math.Pow(logBase, normalizedValue * (logMax - logMin)));
236
val = (long)(_args.
Min
+ normalizedValue * (_args.Max - _args.
Min
));
247
if ((_args.StepSize == null && _args.NumSteps > (_args.Max - _args.
Min
)) ||
250
for (long i = _args.
Min
; i <= _args.Max; i++)
258
var logBase = _args.StepSize ?? Math.Pow(1.0 * _args.Max / _args.
Min
, 1.0 / (_args.NumSteps - 1));
262
for (Double value = _args.
Min
; value <= maxPlusEpsilon; value *= logBase)
272
var stepSize = _args.StepSize ?? (Double)(_args.Max - _args.
Min
) / (_args.NumSteps - 1);
275
for (Double value = _args.
Min
; value <= maxPlusEpsilon; value += stepSize)
309
Runtime.Contracts.Assert(_args.
Min
<= valueTyped.Value && valueTyped.Value <= _args.Max, "Value not in correct range");
313
float logBase = (float)(_args.StepSize ?? Math.Pow(1.0 * _args.Max / _args.
Min
, 1.0 / (_args.NumSteps - 1)));
314
return (float)((Math.Log(valueTyped.Value, logBase) - Math.Log(_args.
Min
, logBase)) / (Math.Log(_args.Max, logBase) - Math.Log(_args.
Min
, logBase)));
317
return (float)(valueTyped.Value - _args.
Min
) / (_args.Max - _args.
Min
);
323
return (_args.
Min
<= valueTyped.Value && valueTyped.Value <= _args.Max);