Implemented interface member:
14 writes to
Microsoft.ML.AutoML (6)
SweepableEstimator\SweepableEstimatorPipeline.cs (1)
31
Parameter
[
i.ToString()] = e.Parameter;
SweepableEstimator\SweepablePipeline.cs (2)
57
parameter
[
kv.Key] = kv.Value;
61
parameter
[
SchemaOption] = Parameter.FromString(_currentSchema);
Tuner\AutoZeroTuner.cs (2)
101
parameter
[
trainerEstimatorName] = config.TrainerParameter;
104
settings.Parameter
[
AutoMLExperiment.PipelineSearchspaceName] = parameter;
Tuner\EciCfoTuner.cs (1)
59
parameter
[
k.Key] = _defaultParameter[k.Key];
Microsoft.ML.AutoML.Tests (1)
TrainValidaionDatasetManagerTest.cs (1)
40
parameter
[
nameof(TrainValidateDatasetManager)] = Parameter.CreateNestedParameter();
Microsoft.ML.SearchSpace (5)
Option\NestOption.cs (1)
57
param
[
kv.Key] = kv.Value.SampleFromFeatureSpace(feature);
Parameter.cs (2)
206
parameter
[
name] = p;
224
parameter
[
param.Key] = param.Value;
SearchSpace.cs (2)
120
param
[
key] = value;
393
res
[
kv.Key] = Update(left.ContainsKey(kv.Key) ? left[kv.Key] : null, right.ContainsKey(kv.Key) ? right[kv.Key] : null);
Microsoft.ML.SearchSpace.Tests (2)
SearchSpaceTest.cs (2)
249
parameter
[
"choice"] = Parameter.FromString("a");
250
parameter
[
"int"] = Parameter.FromInt(0);
56 references to
Microsoft.ML.AutoML (18)
API\BinaryClassificationExperiment.cs (1)
384
var parameter = settings.Parameter
[
AutoMLExperiment.PipelineSearchspaceName];
API\MulticlassClassificationExperiment.cs (1)
364
var parameter = settings.Parameter
[
AutoMLExperiment.PipelineSearchspaceName];
API\RegressionExperiment.cs (1)
391
var parameter = settings.Parameter
[
AutoMLExperiment.PipelineSearchspaceName];
AutoMLExperiment\IDatasetManager.cs (2)
75
var trainTestSplitParameter = settings?.Parameter.ContainsKey(nameof(TrainValidateDatasetManager)) is true ? settings.Parameter
[
nameof(TrainValidateDatasetManager)] : null;
78
var subSampleRatio = parameter.ContainsKey(_subSamplingKey) ? parameter
[
_subSamplingKey].AsType<double>() : 1;
AutoMLExperiment\Runner\SweepablePipelineRunner.cs (1)
39
var parameter = settings.Parameter
[
AutoMLExperiment.PipelineSearchspaceName];
SweepableEstimator\Converter\SweepablePipelineConverter.cs (1)
29
jsonObject["currentSchema"] = value.CurrentParameter
[
"_SCHEMA_"].AsType<string>();
SweepableEstimator\SweepableEstimatorPipeline.cs (2)
43
e.Parameter = parameter
[
i.ToString()];
83
pipeline = pipeline.Append(_estimators[i].BuildFromOption(context, parameter
[
ssName]));
SweepableEstimator\SweepablePipeline.cs (3)
86
_currentSchema = parameter
[
SchemaOption].AsType<string>();
95
var param = parameter
[
key];
155
var schema = pipelineParameter
[
"_SCHEMA_"].AsType<string>();
Tuner\AutoZeroTuner.cs (4)
99
var label = parameter
[
trainerEstimatorName]["LabelColumnName"].AsType<string>();
100
var feature = parameter
[
trainerEstimatorName]["FeatureColumnName"].AsType<string>();
102
parameter
[
trainerEstimatorName]["LabelColumnName"] = Parameter.FromString(label);
103
parameter
[
trainerEstimatorName]["FeatureColumnName"] = Parameter.FromString(feature);
Tuner\EciCfoTuner.cs (2)
59
parameter[k.Key] = _defaultParameter
[
k.Key];
69
var schema = result.TrialSettings.Parameter
[
AutoMLExperiment.PipelineSearchspaceName]["_SCHEMA_"].AsType<string>();
Microsoft.ML.AutoML.Tests (2)
AutoMLExperimentTests.cs (1)
372
result.TrialSettings.Parameter
[
nameof(TrainValidateDatasetManager)]["TrainValidateDatasetSubsamplingKey"]
TrainValidaionDatasetManagerTest.cs (1)
41
parameter
[
nameof(TrainValidateDatasetManager)][trainValidationDatasetManager.SubSamplingKey] = Parameter.FromDouble(0.3);
Microsoft.ML.Fairlearn (3)
Reductions\GridSearchTrialRunner.cs (3)
55
var pipeline = _pipeline.BuildFromOption(_context, settings.Parameter
[
"_pipeline_"]);
57
var lambdas = settings.Parameter
[
"_lambda_search_space"];
64
var value = lambdas
[
x].AsType<float>();
Microsoft.ML.SearchSpace (4)
Option\NestOption.cs (1)
71
var input = parameter
[
key];
SearchSpace.cs (3)
139
var input = parameter
[
key];
393
res[kv.Key] = Update(left.ContainsKey(kv.Key) ? left
[
kv.Key] : null, right.ContainsKey(kv.Key) ? right
[
kv.Key] : null);
Microsoft.ML.SearchSpace.Tests (29)
ChoiceOptionTest.cs (1)
70
parameter
[
"choice"].AsType<int>().Should().Be(2);
ParameterTest.cs (15)
90
parameter
[
"Int"].AsType<int>().Should().Be(0);
91
parameter
[
"Float"].AsType<float>().Should().Be(1f);
92
parameter
[
"Double"].AsType<double>().Should().Be(2);
93
parameter
[
"Bool"].AsType<bool>().Should().BeFalse();
94
parameter
[
"String"].AsType<string>().Should().Be("String");
95
parameter
[
"Strings"].AsType<string[]>().Should().BeEquivalentTo("A", "B", "C");
96
parameter
[
"JTokenType"].AsType<JsonTokenType>().Should().Be(JsonTokenType.Null);
97
parameter
[
"A"].AsType<A>().Strings.Should().BeEquivalentTo("A", "B", "C");
113
parameter
[
"Int"].AsType<int>().Should().Be(0);
114
parameter
[
"Float"].AsType<float>().Should().Be(1f);
115
parameter
[
"Double"].AsType<double>().Should().Be(2);
116
parameter
[
"Bool"].AsType<bool>().Should().BeFalse();
117
parameter
[
"Strings"].AsType<string[]>().Should().BeEquivalentTo("A", "B", "C");
118
parameter
[
"JTokenType"].AsType<JsonTokenType>().Should().Be(JsonTokenType.Null);
132
parameter
[
"_SampleSize"].AsType<double>().Should().Be(15000.0);
SearchSpaceTest.cs (13)
138
param
[
"A"].AsType<int>().Should().Be(0);
229
parameter
[
"nestOption"]["choice"].AsType<string>().Should().Be("d");
230
parameter
[
"nestOption"]["int"].AsType<int>().Should().Be(2);
231
parameter
[
"choice"].AsType<string>().Should().Be("a");
232
parameter
[
"int"].AsType<int>().Should().Be(0);
235
parameter
[
"nestOption"]["choice"].AsType<string>().Should().Be("e");
236
parameter
[
"nestOption"]["int"].AsType<int>().Should().Be(3);
237
parameter
[
"choice"].AsType<string>().Should().Be("c");
238
parameter
[
"int"].AsType<int>().Should().Be(1);
265
parameter
[
"a"].AsType<int>().Should().Be(0);
267
parameter
[
"a"].AsType<int>().Should().Be(1);
273
parameter
[
"b"].AsType<int>().Should().Be(1);
275
parameter
[
"b"].AsType<int>().Should().Be(2);