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