Description Usage Arguments Value See Also
Perform a quasi-Newton iteration to update the model with new data.
1 | partial_fit_logistic(logistic_model, X, y = NULL, w = NULL)
|
logistic_model |
A 'stoch_logistic' object as output by function 'stochastic.logistic.regression'. Will be modified in-place. |
X |
Data with covariates. If passing a 'data.frame', the model object must have been initialized with a formula, and 'X' must also contain the target variable ('y'). If passing a matrix, must also pass 'y'. Note that whatever factor levels are present in the first batch of data, will be taken as the whole factor levels. |
y |
The target variable, when using matrices. Ignored when using formula. |
w |
Sample weights (optional). If required, must pass them at every partial fit iteration. |
No return value. Model object is updated in-place.
stochastic.logistic.regression
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.