Description Usage Arguments Value Examples
View source: R/gradient_descent_out_samp_accurancy.R
Gradient descent is a optimization algorithm which is often used to find the minimum of a function
1 2 3 4 5 6 7 | gradient_descent(
formula,
data,
contrasts = NULL,
alpha = 1e-04,
tolerance = 1e-20
)
|
formula |
Formula of the regression model |
data |
The data used for gradient descent |
contrasts |
A list of contrasts for factor variables. |
alpha |
Learning rate |
tolerance |
The threshold of iterations |
The estimated coefficients for OLS regression.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.