multiple linear regression analysis using regression learner app in matlab

5 views (last 30 days)
How to get coefficients and constant after doing multiple linear regression analysis in matlab using regression learner app

Accepted Answer

Raunak Gupta
Raunak Gupta on 3 Oct 2019
Hi,
You may refer to the Export Regression Model Step of training a Linear Regression Model. This will store the variables containing the parameters into MATLAB Workspace. Information regarding coefficients and constant will be stored in trainedModel.LinearModel.Coefficients field in the trainedModel variable. This format is only valid if Linear Regression method is used in the Regression Learner App. Different kinds of parameters will come into picture if some other algorithm is used such as Regression Trees, Support Vector Machines etc.

More Answers (0)

Tags

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!