Description Usage Arguments Value Examples
This function will fit a linear model using gradient descent.
1 |
form |
A formula specifying the model. |
d |
A dataframe. |
eta |
Learning rate. Default is 0.05. |
iters |
Total iterations. |
contrasts |
A list specifying the contrasts. The default is NULL. |
beta Fitted coefficients.
1 | my_gd(Sepal.Length~.,iris)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.