1 write to Max
Microsoft.ML.AutoML (1)
PipelineSuggesters\PipelineSuggester.cs (1)
153
Max
= fp.Max,
13 references to Max
Microsoft.ML.AutoML (13)
Sweepers\Parameters.cs (13)
339
Runtime.Contracts.Assert(args.Min < args.
Max
, "min must be less than max");
355
? Math.Pow(1.0 * _args.
Max
/ _args.Min, 1.0 / (_args.NumSteps - 1))
357
var logMax = Math.Log(_args.
Max
, logBase);
362
val = (float)(_args.Min + normalizedValue * (_args.
Max
- _args.Min));
376
var logBase = _args.StepSize ?? Math.Pow(1.0 * _args.
Max
/ _args.Min, 1.0 / (_args.NumSteps - 1));
379
var maxPlusEpsilon = _args.
Max
* Math.Sqrt(logBase);
390
var stepSize = _args.StepSize ?? (Double)(_args.
Max
- _args.Min) / (_args.NumSteps - 1);
392
var maxPlusEpsilon = _args.
Max
+ stepSize / 2;
427
Runtime.Contracts.Assert(_args.Min <= valueTyped.Value && valueTyped.Value <= _args.
Max
, "Value not in correct range");
431
float logBase = (float)(_args.StepSize ?? Math.Pow(1.0 * _args.
Max
/ _args.Min, 1.0 / (_args.NumSteps - 1)));
432
return (float)((Math.Log(valueTyped.Value, logBase) - Math.Log(_args.Min, logBase)) / (Math.Log(_args.
Max
, logBase) - Math.Log(_args.Min, logBase)));
435
return (valueTyped.Value - _args.Min) / (_args.
Max
- _args.Min);
442
return (_args.Min <= valueTyped.Value && valueTyped.Value <= _args.
Max
);