- Updated CITATION.
- Removed unnecessary dependency.
- Dropped old interface.
- Improved distance calculations.
- ... argument added to
plot
.
- Allow setting seed before sampling in
sample_locally2
to make results reproducible. - Add new explainer:
local_permutation_importance
function. - Fixed problems with mlr dependency.
- Add shortcut function for DALEX explainers:
local_approximation
.
- New method of sampling ("normal").
- Waterfall plots can be viewed in a Shiny app.
- Fixed bug related to standardizing columns in
fit_explanation
.
- Old interface dropped.
- Minor fix to
euclidean_kernel
function. - Default kernel in
fit_explanation
is nowgaussian_kernel
. - Order of arguments changed in
add_predictions
anddata
arguments defaults toNULL
. - Variables are standardized after predictions are added, before explanation model is fitted in
fit_explanation
function.
- Print functions for results of sample_locally, add_predictions and fit_explanation.
- New, LIME-like method of sampling as an option in
sample_locally
.
- Observations in simulated dataset can now be weighted according to their distance from the explained instance. The distance is defined by
kernel
argument tofit_explanation
function. - Some variables can be excluded from sampling. This is controled via
fixed_variables
argument tosample_locally
function. - Documentation was improved.
- Object returned by
sample_locally
,add_predictions
andfit_explanation
functions now carry more information (mainly explained instance) so some function calls were simplified (plot_explanation
).
- Fixed bug in variable selection.
- Variable selection is now better suited to work with factor/character variables.
- Variable selection is now based on LASSO as implemented in glmnet package.
- Updated documentation and vignette.
add_predictions
also returns black box model object (model
element).
- Hyperparameters can be also passed to
add_predictions
function.
fit_explanation
is now more flexible, can take a list of hyperparameters for a chosen model.
- For classification problems waterfall plots can be drawn on probability or logit scale.
- Now using forestmodel package for better factor handling.
- Date variables will now be hold constant while performing local exploration.
- Improved performance.
add_predictions
improved to handle more learners (for example ranger).
- Added a
NEWS.md
file to track changes to the package. sample\_locally
uses data.table for faster local exploration.
- Cheatsheet added.
- First package release.