Generalized Additive Model
Use fitcgam
to fit a generalized additive model for binary classification.
A generalized additive model (GAM) is an interpretable model that explains class scores
(the logit of class probabilities) using a sum of univariate and bivariate shape functions of
predictors. fitcgam
uses a boosted tree as a shape function for each
predictor and, optionally, each pair of predictors; therefore, the function can capture a
nonlinear relation between a predictor and the response variable. Because contributions of
individual shape functions to the prediction (classification score) are well separated, the
model is easy to interpret.
Objects
ClassificationGAM | Generalized additive model (GAM) for binary classification (Since R2021a) |
CompactClassificationGAM | Compact generalized additive model (GAM) for binary classification (Since R2021a) |
ClassificationPartitionedGAM | Cross-validated generalized additive model (GAM) for classification (Since R2021a) |
Functions
Topics
- Train Generalized Additive Model for Binary Classification
Train a generalized additive model (GAM) with optimal parameters, assess predictive performance, and interpret the trained model.