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