Skip to content

Commit 328f718

Browse files
committed
made serviceCollection internal to be accessed by AutoML extension in fairlearn
In fairlearn AutoML, we have to add in a singleton to the serviceCollection called moment, which will be later extracted to calculate the fairness parity.
1 parent 4514678 commit 328f718

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Microsoft.ML.AutoML/AutoMLExperiment/AutoMLExperiment.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ public AutoMLExperiment SetEvaluateMetric(RegressionMetric metric, string labelC
197197
return this;
198198
}
199199

200+
internal IServiceCollection ServiceCollection { get => _serviceCollection; }
201+
200202
/// <summary>
201203
/// Run experiment and return the best trial result synchronizely.
202204
/// </summary>

0 commit comments

Comments
 (0)