Description Usage Arguments Value Author(s) Examples
View source: R/gradient_descent_glm.R
Implement a first-order solution for the GLM maximum likelihood problem using only gradient information, avoiding the Hessian matrix.
1 2 3 4 5 6 7 8 9 10 |
X |
design matrix |
Y |
response vector |
mu_fun |
function from eta to the expected value |
maxit |
integer maximum number of iterations |
tol |
numeric tolerance parameter |
gamma |
The step size |
mom |
momentum parameter |
a list of beta coefficients
Yijun Yang
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.