Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Working implementation of explain_predictions and explain_predictions_best_worst. * Refactoring explainers so that differences between report types are more modular. * Updating release notes for PR 1016. * Adding tests for error metrics. * Moving release note for PR 1016 to upcoming release. * Adding test for classification pipeline _classes property. * Adding section to model understanding user guide about explain_predictions and explain_predictions_best_worst. * Adding test for custom metric. Replacing names of default error metrics with more user-friendly output. * Adding explain_predictions and explain_predictions_best_worst to api reference and fixing docs. * Adding Predicted Value as a field in the classification reports. * Making metrics public. * Reducing the text output in the prediction explanations section of the model understanding user guide. * If a user tries to access pipeline._classes before fitting the pipeline, a helpful ValueError will be raised. * Fixing typo in docs. * Moving the ReportSectionMakers to _user_interface and adding some base classes to make the structure more clear. * Adding a test for pipeline._classes for problems where the labels are ints. * Modifying changelog for 1016. * Adding docstring for _make_single_prediction_shap_table. * Making _TableMaker private. * Fixing lint. * Not mocking shap values in test_explain_prediction_value_error.
- Loading branch information
1 parent
bbc315f
commit 49556bb
Showing
10 changed files
with
877 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# flake8:noqa | ||
from .explainers import explain_prediction | ||
from .explainers import explain_prediction, explain_predictions_best_worst, explain_predictions |
Oops, something went wrong.