14 writes to TrialId
Microsoft.ML.AutoML (2)
AutoMLExperiment\AutoMLExperiment.cs (1)
245
TrialId
= trialNum++,
AutoMLExperiment\ITrialResultManager.cs (1)
178
TrialId
= id,
Microsoft.ML.AutoML.Tests (12)
TrialResultManagerTest.cs (1)
40
TrialId
= i,
TunerTests.cs (11)
49
TrialId
= i,
80
TrialId
= i,
115
TrialId
= i,
150
TrialId
= 0,
183
TrialId
= id++,
218
TrialId
= id++,
259
TrialId
= 0,
314
TrialId
= i,
361
TrialId
= i,
402
TrialId
= i,
415
TrialId
= i,
20 references to TrialId
Microsoft.ML.AutoML (15)
AutoMLExperiment\AutoMLExperiment.cs (3)
236
var trialNum = trialResultManager?.GetAllTrialResults().Max(t => t.TrialSettings?.
TrialId
) + 1 ?? 0;
299
Exception thrown during Trial {trialSettings.
TrialId
} with configuration {JsonSerializer.Serialize(trialSettings)}
303
Abandoning Trial {trialSettings.
TrialId
} and continue training.
AutoMLExperiment\IMonitor.cs (5)
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}");
62
_logger.Info($"Update Failed Trial - Id: {settings.
TrialId
} - Pipeline: {_pipeline.ToString(settings.Parameter)}");
67
_logger.Info($"Update Running Trial - Id: {setting.
TrialId
}");
AutoMLExperiment\IPerformanceMonitor.cs (1)
152
_logger.Trace($"cancel current trial {trialSettings.
TrialId
} because it uses {metrics.PeakMemoryUsage} mb memory and the maximum memory usage is {d}");
AutoMLExperiment\ITrialResultManager.cs (2)
100
foreach (var trialResult in _newTrialResults.OrderBy(res => res.TrialSettings.
TrialId
))
107
trialResult.TrialSettings.
TrialId
.ToString(CultureInfo.InvariantCulture),
AutoMLExperiment\TrialResult.cs (1)
47
return obj?.TrialSettings?.
TrialId
.GetHashCode() ?? 0;
Tuner\AutoZeroTuner.cs (1)
105
_configLookBook[settings.
TrialId
] = config;
Tuner\CostFrugalTuner.cs (2)
55
var trialId = settings.
TrialId
;
76
var trialId = result.TrialSettings.
TrialId
;
Microsoft.ML.AutoML.Interactive (4)
AutoMLMonitorKernelExtension.cs (3)
54
summary.Add(p($"Id: {monitor.BestTrial.TrialSettings.
TrialId
}"));
64
summary.Add(p($"Id: {monitor.ActiveTrial.
TrialId
}"));
74
var x = monitor.CompletedTrials.Select(x => x.TrialSettings.
TrialId
);
NotebookMonitor.cs (1)
51
new KeyValuePair<string, object>("Trial",result.TrialSettings.
TrialId
),
Microsoft.ML.AutoML.Tests (1)
AutoMLExperimentTests.cs (1)
452
var metric = 1.000 + 0.01 * settings.
TrialId
;