Description Usage Arguments Examples
another way to build a generalized linear model using only gradient information
1 2 3 4 5 6 7 8 9 10 11 |
X |
a data matrix used for the function |
y |
a vector of response values |
mu_fun |
expectation function of the distribution |
var_fun |
variance function of the distribution |
itr |
number of iteration |
step |
learning rate for gradient descent |
method |
constant step size or momentum update |
friction |
a number to control the velocity and prevents overshooting |
tolerance |
allowed tolerance for two residuals |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.