The GLM2 function is similar to the GLM function except that:
- GLM2 supports the regularization models ridge, LASSO, and elastic net.
- GLM2 uses the coordinate descent method to minimize the loss function (GLM uses the Fisher scoring method).
The GLM2 function generates a model table that you can input to the GLM2Predict function.