- The “fitrlinear” command can be used in place of the “fitrensemble” command to create regression model with the training data. Unlike the “fitrensemble” command, the “fitrlinear” command has the option to regularize the model using both “Ridge” and “Lasso” regularization. You can refer to the following documentation to know about the “fitrlinear” command along with the regularization option available:
- The objective of regularization is to improve predictive performance and prevent overfitting. This is can indirectly achieved by tuning the ensemble parameters using the input arguments available in the “fitrensemble” command before regularization. The “LearnRate” option available specifically for “LSBoost” type ensembles can be tuned to improve the accuracy of the model. You can refer to the following tips about setting the input arguments for “fitrensemble” method to improve accuracy: