Fits generalized linear model by gradient descent, maximizing log-likelihood
1 | GLMgradient(X, y, mu_fun, T_fun, lrate = 0.01, maxiter = 10000, tol = 1e-05)
|
X |
the design matrix |
y |
the response variable |
mu_fun |
function from eta to the expected value |
T_fun |
the sufficient statistic as a function of y |
lrate |
the learning rate |
maxiter |
the maximum iteration number |
tol |
the numerical tolerance |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.