15 references to ChoiceOption
Microsoft.ML.AutoML (1)
SweepableEstimator\SweepablePipeline.cs (1)
40
var choiceOption = new
ChoiceOption
(schemaOptions);
Microsoft.ML.AutoML.Samples (2)
Sweepable\SearchSpaceExample.cs (2)
28
myParameterSearchSpace2["BoolOption"] = new
ChoiceOption
(true, false);
29
myParameterSearchSpace2["StrOption"] = new
ChoiceOption
("a", "b", "c");
Microsoft.ML.SearchSpace (3)
Option\ChoiceOption.cs (1)
41
:
this
(choices)
SearchSpace.cs (2)
217
ChoiceAttribute choice => choice.DefaultValue == null ? new
ChoiceOption
(choice.Candidates) : new ChoiceOption(choice.Candidates, defaultChoice: choice.DefaultValue),
264
ChoiceAttribute choice => choice.DefaultValue == null ? new
ChoiceOption
(choice.Candidates) : new ChoiceOption(choice.Candidates, defaultChoice: choice.DefaultValue),
Microsoft.ML.SearchSpace.Tests (9)
ChoiceOptionTest.cs (6)
21
var option = new
ChoiceOption
("a", "b", "c");
35
var option = new
ChoiceOption
("a");
43
var option = new
ChoiceOption
("a", "b", "c");
48
option = new
ChoiceOption
("a", "b", "c", "d");
57
var option = new
ChoiceOption
("b");
68
searchSpace["choice"] = new
ChoiceOption
(1, 2, 3);
SearchSpaceTest.cs (3)
220
searchSpace.Add("choice", new
ChoiceOption
("a", "b", "c"));
223
anotherNestOption["choice"] = new
ChoiceOption
("d", "e");
245
searchSpace.Add("choice", new
ChoiceOption
("a", "b", "c"));