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