Releases: MAIF/shapash
Release list
v2.9.0
What's Changed
Packages and python version support
- Add support for Python 3.14 / remove 3.9, 3.10 by @dalestee in #688
- Add support for pandas 3.0 by @dalestee in #694
- Add support for sckitlearn >=1.6 by @dalestee in #696
- Add support for numpy >=2.5 < 2.6 by @dalestee in #697
- Add support for xgboost > 3.1 by @dalestee in #698
Bug fixes
- Fix incorrect filtering in `plot_continuous_distribution by @guillaume-vignal in #682
- Fix incorrect plot displayed after sorting table rows in webapp by @dalestee in #690
- Fix filter None values from report config to prevent ValueError by @mpkrass7 in #692
- Fix grouping button behavior in webapp by @dalestee in #695
Enhancements
Misc
- Fix public LIME tutorial startup and multiprocessing reliability + silence MDS FutureWarnings by @guillaume-vignal in #703
- tuto fasttreeshap limit shapash version and numpy version by @guillaume-vignal in #704
New Contributors
- @dalestee made their first contribution in #688
- @mpkrass7 made their first contribution in #692
- @immu4989 made their first contribution in #700
Full Changelog: v2.8.1...v2.9.0
v2.8.1
Features
- Improved webapp responsiveness and layout consistency (headers, dropdowns, tables, inputs) by @guillaume-vignal — #676
- Refined font sizing with a mix of fixed and responsive units for better cross-screen readability by @guillaume-vignal — #676
Fixes
- Adjusted title height and alignment to avoid layout inconsistencies across browsers by @guillaume-vignal — #676
- Enforced
pandas < 3to prevent breaking changes and ensure data handling stability by @guillaume-vignal — #676
Full Changelog: v2.8.0...v2.8.1
v2.8.0
What's Changed
- WebApp Explainability Expansion: Introduction of several new visual explainability tools in the Shapash WebApp, including Global–Local Feature Importance, Clusters by Explainability, significantly enhancing model interpretation capabilities.
- Modernized Packaging: Full support for
numpy>=2.0.0and dependency modernization, ensuring forward compatibility with the latest scientific Python ecosystem.
🚀 New Features & Enhancements
-
Add Global–Local Feature Importance Plot to WebApp
by @guillaume-vignal in #656- Introduces a new visualization combining global feature importance with local (instance-level) contributions, bridging the gap between model-level and individual explanations directly in the WebApp.
-
Add Clusters by Explainability Plot Function and also to WebApp
by @guillaume-vignal, @Yh-Cherif in #658, #671, #632- Provides a novel map-based visualization to explore and compare individuals based on their explanatory profiles.
- Enables projection of Shapley contributions into a reduced space, facilitating the identification of explanatory patterns and clusters across observations.
-
Add Column Ordering Support for Additional Data in WebApp
by @guillaume-vignal in #643- Allows explicit control over the display order of additional data columns, improving readability and consistency in the WebApp.
-
Add
_error_Column Support for Classification
by @guillaume-vignal in [#663- Adds explicit support for classification error tracking in datasets and visualizations.
📊 Visualization & Projection Updates
-
Add
cat_num_thresholdParameter todistribution_plot
by @guillaume-vignal in #646- Improves automatic handling of categorical vs numerical features in distribution plots.
⚙️ Technical Improvements & Performance
-
Add Support for
numpy>=2.0.0and Modernize Dependencies
by @guillaume-vignal in #650- Updates core dependencies to ensure compatibility with NumPy 2.x and future-proof the library.
-
Update
pyproject.toml
by @guerinclement in #651- Refines build and packaging configuration in line with modern Python standards.
-
Vectorize Classification Error Computation
by @guillaume-vignal in #666- Improves performance and scalability when computing classification errors on large datasets.
🐛 Bug Fixes & Robustness
-
Synchronize
features_dictwith Dataset Columns
by @guillaume-vignalin #661- Ensures consistent alignment between declared features and actual dataset columns.
-
Rename
threading.pytocustom_thread.py
by @guillaume-vignal in #667- Prevents shadowing of Python’s built-in
threadingmodule, improving compatibility and reliability.
- Prevents shadowing of Python’s built-in
-
Change WebApp Favicon
by @guerinclement in #664
🧑💻 New Contributors
- @Yh-Cherif made his first contribution
Full Changelog
v2.7.10
Features
- Added Python 3.13 support in
pyproject.tomlby @guerinclement — #635 - Refactored typing: replaced
typing.List/Tuplewith built-inlist/tuple(PEP 585) by @guillaume-vignal — #636
Fixes
- Limited Dash to <3.0 due to breaking changes in Dash 3.x by @jasperges — #634
- Handled non-finite values in distance matrix for
SmartPlotter.correlationsto fix clustering errors by @guillaume-vignal — #638 - Webapp fixes: corrected date filtering and improved boolean type handling with pandas by @ZakariaRida96 — #640
New Contributors
- @jasperges (Dash version fix)
- @ZakariaRida96 (Webapp improvements)
Full Changelog: v2.7.9...v2.7.10
v2.7.9 - Bug Fix Release
What's Changed
- Fix
display_model_analysisin Shapash Report to correctly retrievesklearnversion by @guillaume-vignal in #628
Full Changelog: v2.7.8...v2.7.9
v2.7.8 - Bug Fix Release
What's Changed
- Fixed an issue in the
reportwhere the contributions plot was not displayed. Thanks to @MLecardonnel in PR #622.
Full Changelog: v2.7.7...v2.7.8
v2.7.7
What's Changed
- Add Option to Display Interaction Plot by @guillaume-vignal in #621
- Restrict Plotly to versions below 6.0.0 due to unexpected bugs occurring randomly in certain Python environmentst by @guillaume-vignal in #621
Full Changelog: v2.7.6...v2.7.7
v2.7.6 - Bug Fix Release
What's Changed
- Limit scikit-learn version to < 1.6.0 by @MLecardonnel in #614
Full Changelog: v2.7.5...v2.7.6
v2.7.5
What's Changed
- Add Customizable Graph Size, Improve Title Alignment, and Fix Color Palette Selection in Shapash Explainability Quality Graphs by @guillaume-vignal in #609
- Enhance Plot Functionality and Consistency for Additional Visualizations by @guillaume-vignal in #612
Full Changelog: v2.7.4...v2.7.5
v2.7.4
What's Changed
-
Fix for Feature Importance Local Plot Failure After Global Plot
Resolved an issue where plotting the feature importance local plot after the global plot resulted in errors due to missing value computations. This fix ensures seamless transitions between global and local plots, improving plot stability and usability.
Contributed by @guillaume-vignal in #605 -
Dynamic Title Height Adjustment for Feature Importance Plot
Introduced a new feature that dynamically adjusts the title position based on figure height to prevent overlap with plot content. This update provides improved readability and layout flexibility, especially for custom plot dimensions.
Contributed by @guillaume-vignal in #607
Full Changelog: View the changes for v2.7.3...v2.7.4