Main Content

Regression Learner

Train regression models to predict data using supervised machine learning


The Regression Learner app trains regression models to predict data. Using this app, you can explore your data, select features, specify validation schemes, train models, and assess results. You can perform automated training to search for the best regression model type, including linear regression models, regression trees, Gaussian process regression models, support vector machines, and ensembles of regression trees.

Perform supervised machine learning by supplying a known set of observations of input data (predictors) and known responses. Use the observations to train a model that generates predicted responses for new input data. To use the model with new data, or to learn about programmatic regression, you can export the model to the workspace or generate MATLAB® code to recreate the trained model.

Required Products


  • Statistics and Machine Learning Toolbox™

Note: Regression Learner does not provide data import from file, code generation, or parallel model training in MATLAB Online™.

Regression Learner app

Open the Regression Learner App

  • MATLAB Toolstrip: On the Apps tab, under Machine Learning, click the app icon.

  • MATLAB command prompt: Enter regressionLearner.

Introduced in R2017a