3 writes to StepSize
Microsoft.ML.AutoML (3)
PipelineSuggesters\PipelineSuggester.cs (2)
162
fpArgs.
StepSize
= fp.StepSize.Value;
181
lpArgs.
StepSize
= lp.StepSize.Value;
Sweepers\Parameters.cs (1)
32
StepSize
= null;
21 references to StepSize
Microsoft.ML.AutoML (21)
Sweepers\Parameters.cs (21)
216
Runtime.Contracts.Assert(!args.LogBase || args.
StepSize
== null || args.
StepSize
> 1, "StepSize must be greater than 1 if log scale is used");
217
Runtime.Contracts.Assert(args.LogBase || args.
StepSize
== null || args.
StepSize
> 0, "StepSize must be greater than 0 if linear scale is used");
228
var logBase = !_args.
StepSize
.HasValue
230
: _args.
StepSize
.Value;
247
if ((_args.
StepSize
== null && _args.NumSteps > (_args.Max - _args.Min)) ||
248
(_args.
StepSize
!= null && _args.
StepSize
<= 1))
258
var logBase = _args.
StepSize
?? Math.Pow(1.0 * _args.Max / _args.Min, 1.0 / (_args.NumSteps - 1));
272
var stepSize = _args.
StepSize
?? (Double)(_args.Max - _args.Min) / (_args.NumSteps - 1);
313
float logBase = (float)(_args.
StepSize
?? Math.Pow(1.0 * _args.Max / _args.Min, 1.0 / (_args.NumSteps - 1)));
342
Runtime.Contracts.Assert(!args.LogBase || args.
StepSize
== null || args.
StepSize
> 1, "StepSize must be greater than 1 if log scale is used");
343
Runtime.Contracts.Assert(args.LogBase || args.
StepSize
== null || args.
StepSize
> 0, "StepSize must be greater than 0 if linear scale is used");
354
var logBase = !_args.
StepSize
.HasValue
356
: _args.
StepSize
.Value;
376
var logBase = _args.
StepSize
?? Math.Pow(1.0 * _args.Max / _args.Min, 1.0 / (_args.NumSteps - 1));
390
var stepSize = _args.
StepSize
?? (Double)(_args.Max - _args.Min) / (_args.NumSteps - 1);
431
float logBase = (float)(_args.
StepSize
?? Math.Pow(1.0 * _args.Max / _args.Min, 1.0 / (_args.NumSteps - 1)));