22 writes to TrialSettings
Microsoft.ML.AutoML (11)
API\BinaryClassificationExperiment.cs (2)
411
TrialSettings
= settings,
437
TrialSettings
= settings,
API\MulticlassClassificationExperiment.cs (2)
389
TrialSettings
= settings,
415
TrialSettings
= settings,
API\RegressionExperiment.cs (2)
416
TrialSettings
= settings,
443
TrialSettings
= settings,
AutoMLExperiment\AutoMLExperiment.cs (1)
310
TrialSettings
= trialSettings,
AutoMLExperiment\IMonitor.cs (1)
119
TrialSettings
= settings,
AutoMLExperiment\ITrialResultManager.cs (1)
176
TrialSettings
= new TrialSettings
AutoMLExperiment\Runner\SweepablePipelineRunner.cs (2)
68
TrialSettings
= settings,
87
TrialSettings
= settings,
Microsoft.ML.AutoML.Tests (10)
AutoMLExperimentTests.cs (1)
455
TrialSettings
= settings,
TrialResultManagerTest.cs (1)
46
TrialSettings
= trialSettings,
TunerTests.cs (8)
63
TrialSettings
= trialSettings,
94
TrialSettings
= trialSettings,
129
TrialSettings
= settings,
190
TrialSettings
= trialSetting,
225
TrialSettings
= trialSetting,
275
TrialSettings
= trialSettings,
329
TrialSettings
= trialSettings,
375
TrialSettings
= trialSettings,
Microsoft.ML.Fairlearn (1)
Reductions\GridSearchTrialRunner.cs (1)
102
TrialSettings
= settings,
27 references to TrialSettings
Microsoft.ML.AutoML (18)
AutoMLExperiment\AutoMLExperiment.cs (2)
236
var trialNum = trialResultManager?.GetAllTrialResults().Max(t => t.
TrialSettings
?.TrialId) + 1 ?? 0;
279
trialResult.
TrialSettings
.EndedAtUtc = DateTime.UtcNow;
AutoMLExperiment\IMonitor.cs (4)
43
_logger.Info($"Update Best Trial - Id: {result.
TrialSettings
.TrialId} - Metric: {result.Metric} - Pipeline: {_pipeline.ToString(result.
TrialSettings
.Parameter)}");
50
_logger.Info($"Update Completed Trial - Id: {result.
TrialSettings
.TrialId} - Raw Metric: {result.Metric + fResult.FairnessMetric} - Fairness Metric: {-fResult.FairnessMetric} - Total Metric: {result.Metric} - Pipeline: {this._pipeline} - Duration: {result.DurationInMilliseconds}");
54
_logger.Info($"Update Completed Trial - Id: {result.
TrialSettings
.TrialId} - Metric: {result.Metric} - Pipeline: {this._pipeline} - Duration: {result.DurationInMilliseconds}");
AutoMLExperiment\ITrialResultManager.cs (3)
100
foreach (var trialResult in _newTrialResults.OrderBy(res => res.
TrialSettings
.TrialId))
102
var parameter = _searchSpace.MappingToFeatureSpace(trialResult.
TrialSettings
.Parameter);
107
trialResult.
TrialSettings
.TrialId.ToString(CultureInfo.InvariantCulture),
AutoMLExperiment\TrialResult.cs (1)
47
return obj?.
TrialSettings
?.TrialId.GetHashCode() ?? 0;
Tuner\CostFrugalTuner.cs (2)
76
var trialId = result.
TrialSettings
.TrialId;
77
var parameter = result.
TrialSettings
.Parameter;
Tuner\EciCfoTuner.cs (1)
69
var schema = result.
TrialSettings
.Parameter[AutoMLExperiment.PipelineSearchspaceName]["_SCHEMA_"].AsType<string>();
Tuner\SmacTuner.cs (3)
128
features[i] = _searchSpace.MappingToFeatureSpace(r.
TrialSettings
.Parameter).Select(f => Convert.ToSingle(f)).ToArray();
172
var bestKParamSets = _histories.OrderBy(i => i.Loss).Take(_localSearchParentCount).Select(r => r.
TrialSettings
.Parameter);
216
retainedConfigs.Remove(previousRun.
TrialSettings
.Parameter);
Utils\BestResultUtil.cs (2)
102
var parameter = result.
TrialSettings
.Parameter;
114
var parameter = result.
TrialSettings
.Parameter;
Microsoft.ML.AutoML.Interactive (7)
AutoMLMonitorKernelExtension.cs (4)
52
var bestTrialParam = JsonSerializer.Serialize(monitor.BestTrial.
TrialSettings
.Parameter, new JsonSerializerOptions() { WriteIndented = true, });
54
summary.Add(p($"Id: {monitor.BestTrial.
TrialSettings
.TrialId}"));
55
summary.Add(p($"Trainer: {monitor.SweepablePipeline.ToString(monitor.BestTrial.
TrialSettings
.Parameter)}".Replace("Unknown=>", "")));
74
var x = monitor.CompletedTrials.Select(x => x.
TrialSettings
.TrialId);
NotebookMonitor.cs (3)
47
var activeRunParam = JsonSerializer.Serialize(result.
TrialSettings
.Parameter, new JsonSerializerOptions() { WriteIndented = false, });
51
new KeyValuePair<string, object>("Trial",result.
TrialSettings
.TrialId),
53
new KeyValuePair<string, object>("Trainer",SweepablePipeline.ToString(result.
TrialSettings
.Parameter).Replace("Unknown=>","")),
Microsoft.ML.AutoML.Tests (2)
AutoMLExperimentTests.cs (1)
372
result.
TrialSettings
.Parameter[nameof(TrainValidateDatasetManager)]["TrainValidateDatasetSubsamplingKey"]
TunerTests.cs (1)
137
var trialSettings = lastResult.
TrialSettings
;