1 write to Choices
Microsoft.ML.SearchSpace (1)
Option\ChoiceOption.cs (1)
32
Choices
= distinctChoices.Select(o => Parameter.FromObject(o)).ToArray();
10 references to Choices
Microsoft.ML.SearchSpace (10)
Converter\ChoiceOptionConverter.cs (1)
39
Choices = value.
Choices
,
Option\ChoiceOption.cs (8)
33
_option = new UniformSingleOption(0,
Choices
.Length);
55
public override int FeatureSpaceDim =>
Choices
.Length == 1 ? 0 : 1;
58
public override int?[] Step => new int?[] {
Choices
.Length };
68
var x = Array.IndexOf(
Choices
, param);
80
return
Choices
[0];
89
if (idx >=
Choices
.Length)
91
idx =
Choices
.Length - 1;
93
return
Choices
[idx];
Option\OptionBase.cs (1)
44
/// <see cref="ChoiceOption.
Choices
"/>. And in <see cref="UniformNumericOption"/>, it's always [null]. And in <see cref="ML.SearchSpace.SearchSpace"/>, it's a combination of all <see cref="Step"/> in its options.