Main Content

Interpretability

Train interpretable regression models and interpret complex regression models

Use inherently interpretable regression models, such as linear models, decision trees, and generalized additive models, or use interpretability features to interpret complex regression models that are not inherently interpretable.

To learn how to interpret regression models, see Interpret Machine Learning Models.

Functions

expand all

Local Interpretable Model-Agnostic Explanations (LIME)

limeLocal interpretable model-agnostic explanations (LIME) (Since R2020b)
fitFit simple model of local interpretable model-agnostic explanations (LIME) (Since R2020b)
plotPlot results of local interpretable model-agnostic explanations (LIME) (Since R2020b)

Shapley Values

shapleyShapley values (Since R2021a)
fitCompute Shapley values for query point (Since R2021a)
plotPlot Shapley values (Since R2021a)

Partial Dependence

partialDependenceCompute partial dependence (Since R2020b)
plotPartialDependenceCreate partial dependence plot (PDP) and individual conditional expectation (ICE) plots
fitlmFit linear regression model
fitrgamFit generalized additive model (GAM) for regression (Since R2021a)
fitrlinearFit linear regression model to high-dimensional data
fitrtreeFit binary decision tree for regression

Objects

LinearModelLinear regression model
RegressionGAMGeneralized additive model (GAM) for regression (Since R2021a)
RegressionLinearLinear regression model for high-dimensional data
RegressionTreeRegression tree

Topics

Model Interpretation

Interpretable Models