Description Usage Arguments Value Examples
tuneAAR
1 |
This |
functions takes scalers; start value, end value, increment and input/output of the training set. |
vector of tuning parameter values, and optimum value.
1 2 3 4 5 6 7 8 9 10 11 | X<-matrix(rexp(200, rate=.1), ncol=20)
Y<-rnorm(10)
data<- cbind(Y,X)
sample <- 1:floor(.25*nrow(data))
train <- data[sample, ]
test <- data[-sample, ]
Xtrain<- as.matrix(train[,-1])
Ytrain<-scale(as.matrix(train[,1]))
Xtest<- as.matrix(test[,-c1])
Ytest<- as.matrix(test[,1])
tuneAAR(0.1,0.2,0.01,Xtrain,Ytrain)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.