1 write to Options
Microsoft.ML.AutoML (1)
Utils\SweepableParamAttributes.cs (1)
58Options = isBool ? new object[] { false, true } : values;
9 references to Options
Microsoft.ML.AutoML (9)
PipelineSuggesters\PipelineSuggester.cs (1)
143Values = dp.Options.Select(o => o.ToString()).ToArray()
TrainerExtensions\TrainerExtensionUtil.cs (2)
271var option = dp.Options[optIndex].ToString().ToLower(); 289SetValue(fi, (IComparable)dp.Options[optIndex], obj, propType);
Utils\SweepableParamAttributes.cs (6)
67if (!Frozen && 0 <= val && val < Options.Length) 74for (int i = 0; i < Options.Length; i++) 75if (valueText == Options[i].ToString()) 110new SweepableDiscreteParam(Name, Options) { RawValue = RawValue, Frozen = Frozen }; 115return $"[{GetType().Name}({name}new object[]{{{string.Join(", ", Options.Select(TranslateOption))}}})]"; 118public override IComparable ProcessedValue() => (IComparable)Options[(int)RawValue];