Explainerdashboard

Latest version: v0.4.7

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

Scan your dependencies

Page 9 of 14

0.2.12.1

Bug Fix:
- When `X `had a `RangeIndex`, the `plot against feature` component would not work. This is now fixed (by casting it to a str index)

Improvement
- hiding orientation dropdown on ShapContributionsGraphComponent by default. (undo by passing `hide_orientation=False`.)

0.2.12

Breaking Changes
- removed `metrics_markdown()` method. Added `metrics_descriptions()` that
describes the metric in words.
- removed `PredsVsColComponent`, `ResidualsVsColComponent` and `ActualVsColComponent`,
these three are now subsumed in `RegressionVsColComponent`.

New Features
- Added tooltips everywhere throughout the dashboard to explainer
components, plots, dropdowns and toggles of the dashboard itself.


Improvements
- changed colors on contributions graph and xgboost trees graph: up=green, down=red
- added `higher_is_better` parameter. Set to False to switch green and red colors.
- Clarified wording on index selector components
- hiding `group cats` toggle everywhere when no cats are passed
- passing `**kwargs` of ExplainerDashbaord down to all all tabs and (sub) components
so that you can configure components from an ExplainerDashboard param.
e.g. `ExplainerDashboard(explainer, higher_is_better=False).run()` will
pass the higher_is_better param down to all components. In the case of the
ShapContributionsGraphComponent and the XGBoostDecisionTrees component
this will cause the red and green colors to flip (normally green is up
and red is down.)

0.2.11

New Features
- added (very limited) sklearn.Pipeline support. You can pass a Pipeline as
`model` parameter as long as the pipeline either:
1. Does not add, remove or reorders any input columns
2. has a .get_feature_names() method that returns the new column names
(this is currently beings debated in sklearn SLEP007)
- added cutoff slider to CumulativePrecisionComponent
- For RegressionExplainer added ActualVsColComponent and PredsVsColComponent
in order to investigate partial correlations between y/preds and
various features.
- added `index_name` parameter: name of the index column (defaults to `X.index.name`
or `idxs.name`). So when you pass `index_name="Passenger"`, you get
a "Random Passenger" button on the index selector instead of "Random Index",
etc.

Bug Fixes
- Fixed a number of bugs for when no labels are passed (`y=None`):
- fixing explainer.random_index() for when y is missing
- Hiding label/y/residuals selector in RandomIndexSelectors
- Hiding y/residuals in prediction summary
- Hiding model_summary tab
- Removing permutation importances from dashboard


Improvements
- Seperated labels for "observed" and "average prediction" better in tree plot
- Renamed "actual" to "observed" in prediction summary
- added unique column check for whatif-component with clearer error message
- model metrics now formatted in a nice table
- removed most of the loading spinners as most graphs are not long loads anyway.

0.2.10

New Features
- Explainer parameter `cats` now takes dicts as well as a list where you can specify
your own groups of onehotencoded columns.
- e.g. instead of passing `cats=['Sex']` to group `['Sex_female', 'Sex_male', 'Sex_nan']`
you can now do this explicitly: `cats={'Gender'=['Sex_female', 'Sex_male', 'Sex_nan']}`
- Or combine the two:
`cats=[{'Gender'=['Sex_female', 'Sex_male', 'Sex_nan']}, 'Deck', 'Embarked']`

0.2.9.1

0.2.9

New Features
- Reducing boilerplate: You don't have to pass the list of subcomponents in `self.register_components()`
anymore: it will infer them automatically from `self.__dict__`.

Improvements
- Reducing boilerplate: ExplainerComponents now automatically stores all parameters to attributes
- ExplainerComponents now automatically stores all parameters to a ._stored_params dict
- ExplainerDashboard.to_yaml() now support instantiated tabs and stores parameters to yaml
- ExplainerDashboard.to_yaml() now stores the import requirements of subcomponents
- ExplainerDashboard.from_config() now instantiates tabs with stored parameters
- ExplainerDashboard.from_config() now imports classes of subcomponents

Other Changes
- added docstrings to explainer_plots
- added screenshots of ExplainerComponents to docs
- added more gifs to the documentation

Page 9 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.