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