18 references to FromObject
Microsoft.ML.AutoML (1)
SweepableEstimator\SweepableEstimator.cs (1)
68set => base.Parameter = Parameter.FromObject(value);
Microsoft.ML.AutoML.Tests (8)
TunerTests.cs (8)
35var cfo = new CostFrugalTuner(searchSpace, Parameter.FromObject(initValues)); 109var cfo = new CostFrugalTuner(searchSpace, Parameter.FromObject(initValues), seed: seed); 135var newCfo = new CostFrugalTuner(searchSpace, Parameter.FromObject(initValues), history.Take(99), seed); 154var cfo = new CostFrugalTuner(searchSpace, Parameter.FromObject(initValues)); 240var cfo = new CostFrugalTuner(searchSpace, Parameter.FromObject(initValues)); 295var cfo = new CostFrugalTuner(searchSpace, Parameter.FromObject(initValues)); 344var cfo = new CostFrugalTuner(searchSpace, Parameter.FromObject(initValues)); 392var cfo = new CostFrugalTuner(searchSpace, Parameter.FromObject(initValues));
Microsoft.ML.SearchSpace (4)
Option\ChoiceOption.cs (2)
32Choices = distinctChoices.Select(o => Parameter.FromObject(o)).ToArray(); 45Default = MappingToFeatureSpace(Parameter.FromObject(defaultChoice));
SearchSpace.cs (2)
425: base(typeof(T), Parameter.FromObject(defaultOption)) 442var param = Parameter.FromObject(input);
Microsoft.ML.SearchSpace.Tests (5)
ParameterTest.cs (5)
88var parameter = Parameter.FromObject(b); 108var parameter = Parameter.FromObject(b); 145var paramB1 = Parameter.FromObject(b); 146var paramB2 = Parameter.FromObject(b); 151paramB2 = Parameter.FromObject(b);