lime
Local Interpretable Model-Agnostic Explanations (R port of original Python package)
The R port of LIME has shipped one commit in three years, and it was an xgboost compatibility patch
◆Recent moves
- 8mo ago
xgboost compatibility restored across versions
Makes the package work across all xgboost versions after three years of silence. Narrow in scope, but xgboost is one of the model backends lime explains, so this is the difference between the package working and not working for a common use case.
View source ↗ - 3y ago
Maintainer handover and general upkeep
Records that Emil Hvitfeldt has taken over maintenance, plus general upkeep. No functional change, though the handover is the clearest marker in the feed that the original author had moved on.
View source ↗ - 5y ago
Shiny dependencies moved to Suggests
Fixes order() applied to data.frame objects and moves htmlwidgets, shiny and shinythemes to Suggests. The dependency move lightens installation for anyone not using the interactive explainer, which is most callers.
View source ↗ - 6y ago
Namespace fix for glmnet changes
A one-line namespace fix following changes in glmnet. Representative of what most releases in this feed are: reacting to a dependency rather than changing lime.
View source ↗ - 7y ago
gower_pow added and lambda aligned with the Python implementation
The last release with real feature work. explain() forwards ... to the underlying predict() method, explain.data.frame() gains gower_pow to reshape the gower distance, and the lambda in the local model fit is changed to match the Python implementation — which means explanations produced before and after this release can differ. Also warns and falls back when quantile binning is not feasible.
View source ↗ - 8y ago
h2o support, NA handling, and date columns held during permutation
The broadest release in the window: h2o joins the supported backends, NA values become acceptable in both training and explanation data, Date and POSIXt columns are held constant during permutation so explanations are read at a fixed timepoint, and plot_explanations() gives an overview across large explanation sets. This is the release where lime became usable on realistic data rather than clean examples.
View source ↗