-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix FeatureColumnName in the public API #2990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2990 +/- ##
==========================================
- Coverage 72.3% 72.29% -0.02%
==========================================
Files 796 796
Lines 142349 142349
Branches 16051 16051
==========================================
- Hits 102923 102908 -15
- Misses 35041 35061 +20
+ Partials 4385 4380 -5
|
/// <param name="numPositiveContributions">The number of positive contributions to report, sorted from highest magnitude to lowest magnitude. | ||
/// Note that if there are fewer features with positive contributions than <paramref name="numPositiveContributions"/>, the rest will be returned as zeros.</param> | ||
/// <param name="numNegativeContributions">The number of negative contributions to report, sorted from highest magnitude to lowest magnitude. | ||
/// Note that if there are fewer features with negative contributions than <paramref name="numNegativeContributions"/>, the rest will be returned as zeros.</param> | ||
/// <param name="normalize">Whether the feature contributions should be normalized to the [-1, 1] interval.</param> | ||
public static FeatureContributionCalculatingEstimator FeatureContributionCalculation(this ModelOperationsCatalog.ExplainabilityTransforms catalog, | ||
ICalculateFeatureContribution modelParameters, | ||
string featureColumn = DefaultColumnNames.Features, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
featureColumn = [](start = 19, length = 16)
#2966 rewrites these functions, so you can drop changes to ExplainabilityCatalog
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be much appreciated indeed :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, but please remove the changes to ExplainabilityCatalog
to prevent one of you from having to fix merge errors.
Fixes #2975
featureColumn
parameter in ExplanabilityCatalog.cs