Description Usage Arguments Value
gradientDecent
1 | gradientDecent(X.mat, y.vec, step.size, max.iterations)
|
X.mat |
scaled matrix of features |
y.vec |
labels to X.mat |
step.size |
the step size for the gradient decent |
max.iterations |
the max number of iterations to perform the decent |
a matrix of weights for each iteration [ncol(X.mat) : max.iterations]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.