Repository navigation
Release 2.10.0 - #802
Merged
Merged
Release 2.10.0#802
Conversation
# Conflicts: # shapash/explainer/smart_explainer.py
This reverts commit 3e5fb8b.
* Improve interactions plot parity with contribution plot * report: remove unused interactions block and keep top interactions label * typing: add hints in sampling and type label in top interactions block * report: rename top interactions parameter to class_label * typing: fix mypy union assignment in sampling * test(report): update top interactions block parameter name * fix(interactions): support label-aware explainer cache and align plotter tests * fix(typecheck): declare interaction label cache * fix(interactions): reuse injected interaction cache * test(interactions): fix low-cardinality plot fixture * test(interactions): normalize plot test fixture aliases * Improve interaction plot parity with contribution plot * Harden interaction plots for Plotly 7 * Address review feedback on interaction handling * Address remaining interaction review comments * Polish typing and sampling documentation * Update interactions tutorial examples * Refine interaction violin axis updates * Sync sampling typing and interaction docs --------- Co-authored-by: MLecardonnel <50659492+MLecardonnel@users.noreply.github.com>
* Add contribution-weighted correlation plot
* fix: smart_explainer mixin dependency * corrections * test_smart_explainer_required --------- Co-authored-by: Guillaume VIGNAL <41540039+guillaume-vignal@users.noreply.github.com>
* Add local_plot waterfall mode and improve baseline/tooltip behavior * Improve LIME explain_data handling and stabilize local plot filtering * Fix mypy typing issues and improve pre-commit mypy fallback * Refine local waterfall helpers and docs * Fix explainer state usage in tests * fix type hints * Make able to sort/display waterfall local plot in different ways
* feat(smartpredictor): add lightweight schema-drift detection Complete Gap B from #734 through follow-up #755. - Store compact numeric and categorical reference summaries inside SmartPredictor.schema_distribution. - Compare production batches in add_input before preprocessing. - Warn and emit structured logging records for material per-column drift. - Skip checks for batches smaller than 30 rows. - Preserve backward compatibility for predictors without stored summaries. - Keep the implementation dependency-free and non-blocking. Tests cover numeric, categorical and missing-rate drift, stable input, small batches, logging, summary transfer and backward compatibility. Fixes #755 * fix(drift): narrow numeric summary values * feat(drift): make detection thresholds configurable * fix explainer changes * Add TypedDict for SchemaDriftConfig --------- Co-authored-by: Guillaume VIGNAL <41540039+guillaume-vignal@users.noreply.github.com> Co-authored-by: Guillaume VIGNAL <guillaume.vignal@maif.fr>
refactored with argparse for input arguments
* chore: add type hints and improve docstrings * fix: use pandas aggregation in consistency plot * fix: validate label origin before class lookup
* test: tolerate pandas column index dtype in inverse transforms * test: expand coverage across explainer plots and webapp
* Fix setuptools license deprecation warnings * Fix setuptools license deprecation warnings
* chore: drop double extension * fix: update new color dict with changed values for selected keys * fix: fix the slicing of X.columns if columntransformer returns list of strings instead of integers * fix: get contributions, y_target and y_pred from explainer object * chore: remove old dead notebook * docs: fix path for uvicorn launch app * chore: delete tutorial expl05 using fasttreeshap because of env conflict this is because of numpy < 2.0 and lib fasttreeshap is no longer maintained (last activity 3 years ago)
Co-authored-by: milton-minervino <milton.minervino@inria.fr>
* refactor: use inherited local prediction helper * Update local prediction tests --------- Co-authored-by: milton-minervino <milton.minervino@inria.fr>
* fix: preserve neighbor order in stability explanations * test: cover stability neighbor ordering --------- Co-authored-by: milton-minervino <milton.minervino@inria.fr>
* feat(report): improve multiclass explainability * Fix mypy class list narrowing * Refine smart report class interactions handling and tests * fix(report): silence panel sizing warnings during report generation * fix(report): revert sidebar and layout css adjustments * chore: remove AGENTS.md from branch diff * test(report): align CSS assertions and markdown line breaks * refactor(report): drop ReportAnchor in favor of section wrapper * fix(report): restore dataframe auto-style dispatch order * Fix Panel Plotly report errors on selector updates * Improve report tab title and favicon handling * test: remove warnings in report and utils unit tests * Adjust report favicon handling and align related tests * Fix contribution report panel rendering and remove legacy bar override * docs: improve spacing in compile report_mode docstring * report doc --------- Co-authored-by: Clément Guérin <clement.guerin@maif.fr>
* Improve type annotations and string formatting * Add missing check.py coverage tests and complete LIME docstring --------- Co-authored-by: milton-minervino <milton.minervino@inria.fr>
* add logo p16 et inria * add logo p16 et inria * add logo p16 et inria * docs(readme): improve contributors logos accessibility * docs(readme): remove underline artifact on linked logos * docs(readme): restore vertical alignment of contributor logos * docs(readme): refine contributors logos rendering --------- Co-authored-by: milton-minervino <milton.minervino@inria.fr>
* fix(version): derive __version__ from package metadata * test: add test_version.py
* fix(doc): run on sphinx environment and check if the script fails * fix(doc): point to correct report notebook name * fix(doc): build the docs against the checked-out shapash * chore: remove docs requirements.txt and install with doc extra instead
guerinclement
requested
a balanced review from Copilot
and removed request for
guerinclement
October 13, 2026 13:50
guillaume-vignal
approved these changes
Oct 13, 2026
This branch was successfully deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.