Assisted Model Building, using Surrogate Black-Box Models to Train Interpretable Spline Based Additive Models

Builds generalized linear model with automatic data transformation. The 'xspliner' helps to build simple, interpretable models that inherits informations provided by more complicated ones. The resulting model may be treated as explanation of provided black box, that was supplied prior to the algorithm.


Train Interpretable, Spline Based, Additive, Surrogate Models

Build Status CoverageStatus CRAN_Status_Badge Total Downloads

Overview

The xspliner package is a collection of tools for training interpretable surrogate ML models.

The package helps to build simple, interpretable models that inherits informations provided by more complicated ones - resulting model may be treated as explanation of provided black box, that was supplied prior to the algorithm. Provided functionality offers graphical and statistical evaluation both for overall model and its components.

Key functions:

  • xspline() or model_surrogate_xspliner() for training surrogate model,
  • plot_model_comparison() or plot generic for visual predictions comparison of surrogate and original ML model,
  • plot_variable_transition() or plot generic for graphical presentation of variables profiles and related information,
  • summary() for statistical comparison of surrogate and original ML models,
  • print() for getting details about surrogate model components.

The approach that stands behind surrogate model construction offered by xspliner sums up below graphics:

More details can be found in xspliner's page.

Installation

# the easiest way to get xspliner is to install it from CRAN:
install.packages("xspliner")

# Or the the development version from GitHub:
devtools::install_github("ModelOriented/xspliner")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("xspliner")

0.0.4 by Krystian Igras, 7 years ago


https://ModelOriented.github.io/xspliner/


Report a bug at https://github.com/ModelOriented/xspliner/issues


Browse source code at https://github.com/cran/xspliner


Authors: Krystian Igras [aut, cre] , Przemyslaw Biecek [aut, ths]


Documentation:   PDF Manual  


GPL license


Imports stats, pdp, dplyr, ggplot2, mgcv, magrittr, purrr, tidyr, pROC

Suggests ALEPlot, factorMerger, testthat, knitr, rmarkdown, ResourceSelection, randomForest, e1071, caret, breakDown, DALEX, xgboost, gridExtra, grid, ISLR


See at CRAN