View source: R/GradientDescent_R.R
This function estimates the beta vector of a linear Regression model via gradient descend method
1 | betahat_GD_R(beta, x, y, tolerance, maxit, stepsize)
|
beta |
numeric vector containing an initial guess for the beta vector |
x |
design matrix |
y |
response variable vector |
tolerance |
tolerance level |
maxit |
maximun number of iteration |
stepsize |
learning parameter |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.