Explainerdashboard

Latest version: v0.4.7

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 14

0.2.16

Breaking Changes
- `hide_whatifcontribution` parameter now called `hide_whatifcontributiongraph`

New Features
- added parameter `n_input_cols` to FeatureInputComponent to select in how many columns to split the inputs
- Made PredictionSummaryComponent and ShapContributionTableComponent also work
with InputFeatureComponent
- added a `PredictionSummaryComponent` and `ShapContributionTableComponent`
to the "what if" tab
- hide with `hide_whatifprediction=True` and `hide_whatifcontributiontable=True`


Improvements
- features of `FeatureInputComponent` are now ordered by mean shap importance
- Added range indicator for numerical features in FeatureInputComponent
- hide them `hide_range=True`
- changed a number of dropdowns from `dcc.Dropdown` to `dbc.Select`
- reordered the regression random index selector
component a bit

0.2.15

New Features
- can now hide entire components on tabs/composites:


ExplainerDashboard(explainer,
importances tab:
hide_importances=True,
classification stats tab:
hide_globalcutoff=True, hide_modelsummary=True,
hide_confusionmatrix=True, hide_precision=True,
hide_classification=True, hide_rocauc=True,
hide_prauc=True, hide_liftcurve=True, hide_cumprecision=True,
regression stats tab:
hide_modelsummary=True,
hide_predsvsactual=True, hide_residuals=True,
hide_regvscol=True,
individual predictions:
hide_predindexselector=True, hide_predictionsummary=True,
hide_contributiongraph=True, hide_pdp=True,
hide_contributiontable=True,
whatif:
hide_whatifindexselector=True, hide_inputeditor=True,
hide_whatifcontribution=True, hide_whatifpdp=True,
shap dependence:
hide_shapsummary=True, hide_shapdependence=True,
shap interactions:
hide_interactionsummary=True, hide_interactiondependence=True,
decisiontrees:
hide_treeindexselector=True, hide_treesgraph=True,
hide_treepathtable=True, hide_treepathgraph=True,
).run()


Bug Fixes
- Fixed bug where if you passed a default index as `**kwargs`, the random index selector
would still fire at startup, overriding the passed index
- Fixed bug where in case of ties in shap values the contributions graph/table would show
more than depth/topx feature
- Fixed bug where favicon was not showing when using custom bootstrap theme
- Fixed bug where logodds where multiplied by 100 in `ShapContributionTableComponent`

Improvements
- added checks on `logins` parameter to give more helpful error messages
- also now accepts a single pair of logins: `logins=['user1', 'password1']`
- added a `hide_footer` parameter to components with a CardFooter

0.2.14

New Features
- added `bootstrap` parameter to dashboard to make theming easier:
e.g. `ExplainerDashboard(explainer, bootstrap=dbc.themes.FLATLY).run()`
- added `hide_subtitle` parameter to all components with subtitles
- added `description` parameter to all components to adjust the hover-over-title
tooltip
- can pass additional `**kwargs` to ExplainerDashboard.from_config() to override
stored parameters, e.g. `db = ExplainerDashboard.from_config("dashboard.yaml", higher_is_better=False)`

Bug Fixes
- fixed bug where `drop_na=True` for `explainer.plot_pdp()` was not working.
-

Improvements
- `**kwargs` are now also stored when calling `ExplainerDashboard.to_yaml()`
- turned single radioitems into switches
- `RegressionVsColComponent`: hide "show point cloud next to violin" switch
when col is not in `cats`

0.2.13.2

Bug Fixes
- fixed RegressionRandomIndexComponent bug that crashed when y.astype(np.int64),
now casting all slider ranges to float.

0.2.13.1

Bug Fixes
- fixed pdp bug introduced with setting `X.index` to `self.idxs` where
the highlighted index was not the right index
- now hiding entire `CardHeader` when `hide_title=True`
- index was not initialized in ShapContributionsGraphComponent and Shap ContributionsTableComponent

0.2.13

Breaking Changes
- Now always have to pass a specific port when terminating a JupyterDash-based
(i.e. inline, external or jupyterlab) dashboard: `ExplainerDashboard.terminate(port=8050)`
- but now also works as a classmethod, so don't have to instantiate an
actual dashboard just to terminate one!
- ExplainerComponent `_register_components` has been renamed to `component_callbacks`
to avoid the confusing underscore

New Features
- new: `ClassifierPredictionSummaryComponent`,`RegressionPredictionSummaryComponent`
- already integrated into the individual predictions tab
- also added a piechart with predictions
- Wrapped all the ExplainerComponents in `dbc.Card` for a cleaner look to the dashboard.
- added subtitles to all components

Improvements
- using `go.Scattergl` instead of `go.Scatter` for some plots which should improve
performance with larger datasets
- `ExplainerDashboard.terminate()` is now a classmethod, so don't have to build
an ExplainerDashboard instance in order to terminate a running JupyterDash
dashboard.
- added `no_permutations` boolean argument to `ImportancesComponent` (that
you can also pass to `ExplainerDashboard` `**kwargs`)
-


Other Changes
- Added warning that kwargs get passed down the ExplainerComponents
- Added exception when trying to use `ClassifierRandomIndexComponent` with a
`RegressionExplainer` or `RegressionRandomIndexComponent` with a `ClassifierExplainer`
- dashboard now uses Composites directly instead of the ExplainerTabs

Page 8 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.