Incremental learning, or online learning, is concerned with processing incoming data from a data stream, possibly given little to no knowledge of the distribution of the predictor variables, aspects of the objective function, or even whether the observations are labeled. The problems contrast with traditional machine learning methods, in which enough labeled data is available to fit to a model, perform cross-validation to tune hyperparameters, and infer the predictor distribution characteristics.
Incremental learning requires a configured incremental model. You can create and configure an incremental model directly by using incrementalRegressionLinear
, or you can convert a supported traditionally trained model to an incremental learner by using incrementalLearner
. After configuring a model and setting up a data stream, you can fit the incremental model to the incoming chunks of data, track its predictive performance, or perform both actions simultaneously.
For more details, see Incremental Learning Overview
incrementalRegressionLinear | Linear regression model for incremental learning |
Incremental learning, or online learning, is a branch of machine learning concerned with processing incoming data from a data stream — continuously and in real time — possibly given little to no knowledge of the distribution of the predictor variables, the sample size, aspects of the prediction or objective function (including adequate tuning parameter values), or whether the observations have labeled.
Configure Incremental Learning Model
Prepare incremental learning model for incremental performance evaluation and training on data stream.
Implement Incremental Learning Using Succinct Workflow
This example shows how to use the succinct workflow to implement incremental learning for linear regression with prequential evaluation.
Implement Incremental Learning Using Flexible Workflow
This example shows how to use the flexible workflow to implement incremental learning for linear regression with prequential evaluation.
Initialize Incremental Learning Model from SVM Regression Model Trained in Regression Learner
Train a linear SVM regression model using Regression Learner, then initialize an incremental model for regression using the estimated coefficients.