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