- Notifications
You must be signed in to change notification settings - Fork343
Releases: MAIF/shapash
v2.7.9 - Bug Fix Release
3010143
Compare
What's Changed
- Fix
display_model_analysis
in Shapash Report to correctly retrievesklearn
version by@guillaume-vignal in#628
Full Changelog:v2.7.8...v2.7.9
v2.7.8 - Bug Fix Release
767ca75
Compare
What's Changed
- Fixed an issue in the
report
where the contributions plot was not displayed. Thanks to@MLecardonnel inPR #622.
Full Changelog:v2.7.7...v2.7.8
Assets2
v2.7.7
8e35964
Compare
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
daedb63
Compare
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
ac5755c
Compare
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
8ebdb85
Compare
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#605Dynamic 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
Assets2
v2.7.3 - Bug Fix Release
1693693
Compare
What's Changed
This release brings important fixes to enhance both the visualization capabilities and the stability of the Shapash package.
Plot Title Overlap Fix: We have resolved an issue where the plot titles were incorrectly positioned, leading to overlaps with the graph when users specified different figure heights.
Fix for Shortened Label Duplication: In cases where long feature names were programmatically shortened for better visualization, duplicate labels could lead to missing lines in the correlation matrix.
Restoration of Missing Files in Shapash Package: Several important files such as
*.ipynb
,*.html
, and*.j2
were missing in previous package versions, causing issues and preventing the generation of reports. These files are now properly included, restoring full functionality to the package.
Contributors
Full Changelog:v2.7.2...v2.7.3
v2.7.2 - Bug Fix Release
5cd3ee3
Compare
What's Changed
This release focuses on bug fixes to improve stability and functionality:
- Fixed default color in Local explanation plot: Resolved an issue where the default colors in the local explanation plot were incorrect.
- Improved pagination for large feature sets: Addressed a bug where pagination would not work properly.
- Restored Shapash icon in the webapp: Replaced the unintended dash icon with the correct Shapash icon in the web application.
- Removed unnecessary dataframe print in
plot_scatter_prediction.py
: Eliminated unintended dataframe printing, which improves clarity in scatter plot generation.
Contributed by@guillaume-vignal in#597.
Full Changelog:v2.7.1...v2.7.2
Assets2
v2.7.1 - Bug Fix Release
674ead7
Compare
What's Changed
- Fix pyproject.toml by@tbloron in#592
- This fix resolves an issue where the
shapash
module was not importable after installation, resulting in aModuleNotFoundError
. The problem was traced back to thepyproject.toml
configuration file, which has now been corrected. The fix ensures that Shapash installs and imports correctly in all environments.
- This fix resolves an issue where the
Bug Fix Details:
- Users installing version 2.7.0 encountered a packaging issue that prevented
shapash
from being properly imported in Python environments, including Conda environments using Python 3.10. This version addresses that issue, making the module accessible after installation.
Installation Instructions:
To upgrade to the latest version, run:
pip install --upgrade shapash
Full Changelog:
Assets2
v2.7.0
ff8722b
Compare
What's Changed
Documentation Updates
- Update Figures in Documentation by@guillaume-vignal (#568)
Updated the figures in the documentation to reflect changes introduced in version 2.6.0. Some unnecessary files were also removed.
New Features
Feature Importance Pagination by@guillaume-vignal (#574)
Introduced pagination for the feature importance plot, allowing users to navigate through all features. This is especially useful for models with a large number of features, as users can now explore feature contributions beyond the top few with improved usability and dynamic page handling.Subpopulation-based Feature Importance Plots by@guillaume-vignal (#579)
Added two new plots:- Local Importance Divergence Metric: Highlights features with varying importance across different subpopulations.
- Feature Importance Curve Plot: Displays how feature importance fluctuates across the dataset, offering more granular insights.
Enhancements
SmartPlotter Refactoring by@guillaume-vignal (#582)
Simplified theSmartPlotter
class by decoupling each plot type into its own function file. This improves modularity, making the code more maintainable and testable. Future plots can now be easily added without altering the core structure.Removed Flask Version Constraint by@guillaume-vignal (#584)
Lifted the Flask version constraint (<2.3.0) as the compatibility issue with Dash has been resolved. Shapash now supports the latest versions of Flask, enhancing security, compatibility, and performance.Dataset Sorting by@sam94700 (#575)
Added the ability to sort datasets by features, improving data management.
Bug Fixes
Contribution Plot for Boolean Features by@sam94700 (#586)
Fixed a bug affecting the contribution plot for boolean features, ensuring accurate visualizations.DataFrame Transformation Warning Fix by@guillaume-vignal (#589)
Refactored DataFrame column transformations to avoid future warnings from pandas regarding in-place modifications.
Development Tools
- Add Ruff Linter and Formatter by@tbloron (#585)
Integrated theruff
linter and code formatter into the project. This also includes updates to the GitHub workflow and the addition of apyproject.toml
configuration file.
New Contributors
Full Changelog:v2.6.0...v2.7.0