glm.sgd | R Documentation |
(Batch) (Stochastic) Gradient Descent for GLM
glm.sgd(x, y, family, sgd.ctrl = NULL)
x |
A matrix containing the covariates (including an intercept if one wants to use one). |
y |
The dependent variable. |
family |
A glm family for the distribution to use, i.e. "binomial()". |
sgd.ctrl |
control parameters to pass to the sgd function (see ?sgd for details). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.