Description Usage Arguments Value Examples
View source: R/Stochastic_GD.R
Fit the independent variable X and dependent variable Y linearly by using stochastic gradient descent algorithm
1 | Stochastic_GD(x, y, learning_rate)
|
x |
the independent variable data. |
y |
the dependent variable data. |
learning_rate |
Rate of stochastic gradient descent |
Linear function
1 2 3 4 | ## Not run:
Gradient_Descent(c(1,2,3,4,5),c(2,4.1,5.9,7.9,10.01),0.00001)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.