LMSquareLossEarlyStoppingCV: Title

Description Usage Arguments Examples

Description

Title

Usage

1
LMSquareLossEarlyStoppingCV(X.mat, y.vec, fold.vec, max.iterations)

Arguments

X.mat
y.vec
fold.vec
max.iterations

Examples

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
   fold.vec <- sample(rep(1:5, l=nrow(X.mat)))
   res <- LMSquareLossIterations(X.mat, y.vec, fold.vec, max.iterations)

mertayD/codingProject2 documentation built on May 14, 2019, 11:06 p.m.