Description Usage Arguments Value
FTRLProx_validate_spMatrix validates the performance of FTRL-Proximal online learning model. This function is an C++ implementation. This function is used internally and is not intended for end-user direct usage.
1 2 | FTRLProx_validate_spMatrix(x, y, family, params, epoch, val_x, val_y, eval,
verbose)
|
x |
a transposed |
y |
a vector containing labels. |
family |
link function to be used in the model. "gaussian", "binomial" and "poisson" are avaliable. |
params |
a list of parameters of FTRL-Proximal Algorithm.
|
epoch |
The number of iterations over training data to train the model. |
val_x |
a transposed |
val_y |
a vector containing labels for validation. |
eval |
a evaluation metrics computing function, the first argument shoule be prediction, the second argument shoule be label. |
verbose |
logical value. Indicating if the validation result for each epoch is displayed or not. |
a FTRL-Proximal linear model object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.