Plots to Evaluate the Business Performance of Predictive Models

Plots to assess the quality of predictive models from a business perspective. Using these plots, it can be shown how implementation of the model will impact business targets like response on a campaign or return on investment. Different scopes can be selected: compare models, compare datasets or compare target class values and various plot customization and highlighting options are available. targets like response on a campaign. Different scopes can be selected: compare models, compare datasets or compare target class values and various plot customization and highlighting options are available.


The modelplotr package makes it easy to create a number of valuable evaluation plots to assess the business value of a predictive model. Using these plots, it can be shown how implementation of the model will impact business targets like response or return on investment of a campaign.

Plots available with modelplotr:

  • cumulative gains
  • cumulative lift
  • response
  • cumulative response
  • costs & revenues
  • profit
  • return on investment

Some benefits of using modelplotr:

  • easy to explain plots to discuss your model with business
  • easy to use on top of predictive models built with caret, mlr, h2o, keras or otherwise (with or without r)
  • supports both binary and multinomial targets
  • provides four plotting scopes:
    • comparing models
    • comparing datasets
    • comparing multiclass target classes
    • no comparison (single line)
  • plot annotation: highlighting specific values and adding explanatory text to guide interpretation
  • plot customization: all textual elements, line colors
  • save plot to file on disk

Installation

You can install modelplotr from GitHub with:

devtools::install_github("modelplot/modelplotr")

See this blog for further details and examples of using the package.

News

NEWS-modelplotr

#> Last Update: 2019-04-13 13:17:21

v1.0.0

2019-04-13 * Initial CRAN release.

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("modelplotr")

1.0.0 by Jurriaan Nagelkerke, 7 months ago


https://github.com/jurrr/modelplotr


Report a bug at https://github.com/jurrr/modelplotr/issues


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


Authors: Jurriaan Nagelkerke [aut, cre] , Pieter Marcus [aut]


Documentation:   PDF Manual  


GPL-3 license


Imports ggplot2, gridExtra, magrittr, dplyr, RColorBrewer, ggfittext, scales, rlang

Suggests mlr, caret, randomForest, nnet, e1071, h2o, keras, knitr, rmarkdown, testthat, xgboost, stringr, kableExtra, lattice, ranger, glmnet


See at CRAN