Description Usage Arguments Details Value Author(s)
Online elastic net regression using the FTRL Proximal algorithm for training.
1 2 3 |
x |
the model matrix containing features |
y |
the response variable |
lambda |
regularization term |
alpha |
mixing parameter, alpha=0 corresponds to L2 regularization and alpha=1 to L1. |
a |
learning rate parameter. |
b |
learning rate parameter controlling decay, defaults to 1. |
num_epochs |
number of times we should traverse over the traiing set, defaults to 1. |
save_loss |
is to save the loss function during training. |
... |
additional args |
This method is intended for matrix input.
ftrlprox model object
Vilhelm von Ehrenheim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.