You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Microsoft.ML.Data/Transforms/ExplainabilityCatalog.cs
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@ public static class ExplainabilityCatalog
17
17
/// Note that this functionality is not supported by all the models. See <see cref="FeatureContributionCalculatingTransformer"/> for a list of the suported models.
18
18
/// </summary>
19
19
/// <param name="catalog">The model explainability operations catalog.</param>
20
-
/// <param name="modelParameters">Trained model parameters that support Feature Contribution Calculation and which will be used for scoring.</param>
21
-
/// <param name="featureColumnName">The name of the feature column that will be used as input.</param>
20
+
/// <param name="predictionTransformer">A <see cref="ISingleFeaturePredictionTransformer{TModel}"/> that supports Feature Contribution Calculation,
21
+
/// and which will also be used for scoring.</param>
22
22
/// <param name="numberOfPositiveContributions">The number of positive contributions to report, sorted from highest magnitude to lowest magnitude.
23
23
/// Note that if there are fewer features with positive contributions than <paramref name="numberOfPositiveContributions"/>, the rest will be returned as zeros.</param>
24
24
/// <param name="numberOfNegativeContributions">The number of negative contributions to report, sorted from highest magnitude to lowest magnitude.
@@ -32,11 +32,10 @@ public static class ExplainabilityCatalog
Copy file name to clipboardExpand all lines: src/Microsoft.ML.Data/Transforms/FeatureContributionCalculationTransformer.cs
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -286,23 +286,22 @@ internal static class Defaults
286
286
/// Note that this functionality is not supported by all the models. See <see cref="FeatureContributionCalculatingTransformer"/> for a list of the suported models.
287
287
/// </summary>
288
288
/// <param name="env">The environment to use.</param>
289
-
/// <param name="modelParameters">Trained model parameters that support Feature Contribution Calculation and which will be used for scoring.</param>
290
-
/// <param name="featureColumnName">The name of the feature column that will be used as input.</param>
289
+
/// <param name="predictionTransformer">A <see cref="ISingleFeaturePredictionTransformer{TModel}"/> that supports Feature Contribution Calculation,
290
+
/// and which will also be used for scoring.</param>
291
291
/// <param name="numberOfPositiveContributions">The number of positive contributions to report, sorted from highest magnitude to lowest magnitude.
292
292
/// Note that if there are fewer features with positive contributions than <paramref name="numberOfPositiveContributions"/>, the rest will be returned as zeros.</param>
293
293
/// <param name="numberOfNegativeContributions">The number of negative contributions to report, sorted from highest magnitude to lowest magnitude.
294
294
/// Note that if there are fewer features with negative contributions than <paramref name="numberOfNegativeContributions"/>, the rest will be returned as zeros.</param>
295
295
/// <param name="normalize">Whether the feature contributions should be normalized to the [-1, 1] interval.</param>
/// <param name="useFeatureWeightFilter">Use features weight to pre-filter features.</param>
54
53
/// <param name="numberOfExamplesToUse">Limit the number of examples to evaluate on. <cref langword="null"/> means up to ~2 bln examples from <paramref param="data"/> will be used.</param>
55
54
/// <param name="permutationCount">The number of permutations to perform.</param>
56
55
/// <returns>Array of per-feature 'contributions' to the score.</returns>
/// <param name="useFeatureWeightFilter">Use features weight to pre-filter features.</param>
132
129
/// <param name="numberOfExamplesToUse">Limit the number of examples to evaluate on. <cref langword="null"/> means up to ~2 bln examples from <paramref param="data"/> will be used.</param>
133
130
/// <param name="permutationCount">The number of permutations to perform.</param>
134
131
/// <returns>Array of per-feature 'contributions' to the score.</returns>
/// <param name="useFeatureWeightFilter">Use features weight to pre-filter features.</param>
207
202
/// <param name="numberOfExamplesToUse">Limit the number of examples to evaluate on. <cref langword="null"/> means up to ~2 bln examples from <paramref param="data"/> will be used.</param>
208
203
/// <param name="permutationCount">The number of permutations to perform.</param>
209
204
/// <returns>Array of per-feature 'contributions' to the score.</returns>
/// <param name="useFeatureWeightFilter">Use features weight to pre-filter features.</param>
288
281
/// <param name="numberOfExamplesToUse">Limit the number of examples to evaluate on. <cref langword="null"/> means up to ~2 bln examples from <paramref param="data"/> will be used.</param>
289
282
/// <param name="permutationCount">The number of permutations to perform.</param>
290
283
/// <returns>Array of per-feature 'contributions' to the score.</returns>
0 commit comments