FUNCTION REFERENCE
RegressionLinear
Regularized linear regression model returned by fitrlinear.
Regularized linear regression model returned by fitrlinear.
Syntax
mdl = fitrlinear(X, y)Stores linear coefficients, bias and regularization settings. Evaluate with predict, loss and crossval.
Example
mdl = fitrlinear([1; 2; 3; 4], [2; 4; 6; 8]); class(mdl) % 'RegressionLinear'Differences from MATLAB: Dense numeric predictors only.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.