Description Usage Arguments Examples
Title
1 | LMSquareLossIterations(X.mat, y.vec, max.iterations, step.size)
|
X.mat |
|
y.vec |
|
max.iterations |
|
step.size |
1 2 3 4 5 6 7 8 | library(codingProject2)
data(ozone, package = "ElemStatLearn")
X.mat<-ozone[1:20,-1]
y.vec<-ozone[1:20, 1]
max.iterations <- 30
step.size <- 0.1
res <- LMSquareLossIterations(X.mat, y.vec, 50, 0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.