pdp - Partial Dependence Plots
A general framework for constructing partial dependence (i.e., marginal effect) plots from various types machine learning models in R.
Last updated 3 years ago
black-box-modelmachine-learningpartial-dependence-functionpartial-dependence-plotvisualization
11.70 score 93 stars 8 dependents 1.1k scripts 6.8k downloadsvip - Variable Importance Plots
A general framework for constructing variable importance plots from various types of machine learning models in R. Aside from some standard model- specific variable importance measures, this package also provides model- agnostic approaches that can be applied to any supervised learning algorithm. These include 1) an efficient permutation-based variable importance measure, 2) variable importance based on Shapley values (Strumbelj and Kononenko, 2014) <doi:10.1007/s10115-013-0679-x>, and 3) the variance-based approach described in Greenwell et al. (2018) <arXiv:1805.04755>. A variance-based method for quantifying the relative strength of interaction effects is also included (see the previous reference for details).
Last updated 2 years ago
interaction-effectmachine-learningpartial-dependence-plotsupervised-learning-algorithmsvariable-importancevariable-importance-plots
11.56 score 187 stars 6 dependents 3.5k scripts 6.2k downloadsfastshap - Fast Approximate Shapley Values
Computes fast (relative to other implementations) approximate Shapley values for any supervised learning model. Shapley values help to explain the predictions from any black box model using ideas from game theory; see Strumbel and Kononenko (2014) <doi:10.1007/s10115-013-0679-x> for details.
Last updated 12 months ago
explainable-aiexplainable-mlinterpretable-machine-learningshapleyshapley-valuesvariable-importancexaicpp
8.56 score 118 stars 2 dependents 155 scripts 2.2k downloadsinvestr - Inverse Estimation/Calibration Functions
Functions to facilitate inverse estimation (e.g., calibration) in linear, generalized linear, nonlinear, and (linear) mixed-effects models. A generic function is also provided for plotting fitted regression models with or without confidence/prediction bands that may be of use to the general user. For a general overview of these methods, see Greenwell and Schubert Kabban (2014) <doi:10.32614/RJ-2014-009>.
Last updated 3 years ago
calibrationinverse-estimationinverse-predictionregression
8.15 score 22 stars 2 dependents 162 scripts 4.4k downloadsramify - Additional Matrix Functionality
Additional matrix functionality for R including: (1) wrappers for the base matrix function that allow matrices to be created from character strings and lists (the former is especially useful for creating block matrices), (2) better printing of large matrices via the generic "pretty" print function, and (3) a number of convenience functions for users more familiar with other scientific languages like 'Julia', 'Matlab'/'Octave', or 'Python'+'NumPy'.
Last updated 8 years ago
matrices
6.32 score 3 stars 3 dependents 154 scripts 553 downloadssure - Surrogate Residuals for Ordinal and General Regression Models
An implementation of the surrogate approach to residuals and diagnostics for ordinal and general regression models; for details, see Liu and Zhang (2017, <doi:https://doi.org/10.1080/01621459.2017.1292915>) and Greenwell et al. (2017, <https://journal.r-project.org/archive/2018/RJ-2018-004/index.html>). These residuals can be used to construct standard residual plots for model diagnostics (e.g., residual-vs-fitted value plots, residual-vs-covariate plots, Q-Q plots, etc.). The package also provides an 'autoplot' function for producing standard diagnostic plots using 'ggplot2' graphics. The package currently supports cumulative link models from packages 'MASS', 'ordinal', 'rms', and 'VGAM'. Support for binary regression models using the standard 'glm' function is also available.
Last updated 5 years ago
categorical-datadiagnosticsordinal-regressionresiduals
5.10 score 9 stars 1 dependents 47 scripts 634 downloadsbpa - Basic Pattern Analysis
Run basic pattern analyses on character sets, digits, or combined input containing both characters and numeric digits. Useful for data cleaning and for identifying columns containing multiple or nonstandard formats.
Last updated 8 years ago
basic-pattern-analysisdata-cleaningstandardization
4.32 score 3 stars 14 scripts 219 downloadsroundhouse - Random Chuck Norris Facts
R functions for generating and/or displaying random Chuck Norris facts. Based on data from the 'Internet Chuck Norris database' ('ICNDb').
Last updated 5 years ago
apiapi-wrapperchuck-norrischuck-norris-jokesfactsroundhouse
3.18 score 3 stars 4 scripts 170 downloads