ModelOriented/survex
Explainable Machine Learning in Survival Analysis
3 Releases
Latest: 2y ago
v1.2.0Latest
📋 Changes
- added new `calculation_method` for `surv_shap()` called `"treeshap"` that uses the `treeshap` package ([#75](https://github.com/ModelOriented/survex/issues/75))
- enable to calculate SurvSHAP(t) explanations based on subsample of the explainer's data
- changed default kernel width in SurvLIME from sqrt(p * 0.75) to sqrt(p) * 0.75
- fixed error in SurvLIME when non-factor `categorical_variables` were provided
v1.1.3
📋 Changes
- fixed not being able to plot or print SurvLIME results for the cph model sometimes. ([#72](https://github.com/ModelOriented/survex/issues/72))
- added global explanations via the SurvSHAP(t) method (see `model_survshap()` function)
- added plots for global SurvSHAP(t) explanations (see `plot.aggregated_surv_shap()`)
- added Accumulated Local Effects (ALE) explanations (see `model_profile(..., type = "accumulated")`)
- added 2-dimensional PDP and ALE plots (see `model_profile_2d()` function)
- added `plot(..., geom="variable")` function for plotting PDP and ALE explanations without the time dimension
- new explainers: for `flexsurv` models and for Python scikit-survival models (can be used with `reticulate`)
- new plot type for `model_survshap()` - curves (with functional box plot)
- + 5 more
v1.0.0
📋 Changes
- *breaking change:* refactored the structure of `model_performance_survival` object - calculated metrics are now in a `$result` list.
- added new `calculation_method` for `surv_shap()` called `"kernelshap"` that use `kernelshap` package and its implementation of improved Kernel SHAP (set as default) ([#45](https://github.com/ModelOriented/survex/issues/45))
- rename old method `"kernel"` to `"exact_kernel"`
- added new import ([`kernelshap`](https://github.com/ModelOriented/kernelshap) package)
- fixed invalid color palette order in plot feature importance
- fixed predict_parts survshap running out of memory with more than 16 variables ([#25](https://github.com/ModelOriented/survex/issues/25))
- added `max_vars` parameter for predict_parts explanations ([#27](https://github.com/ModelOriented/survex/issues/27))
- set `max_vars` to 7 for every method
- + 16 more
