
Last chance! 50% off unlimited learning
Sale ends in
benchmark.pls(X,y,m,R,ratio,verbose,k,ratio.samples,use.kernel,criterion,true.coefficients)
y
is the same as the number of rows of X
.m=ncol(X)
.TRUE
, the functions plots the progress of the function. Default is TRUE
.nrow(X)
. Default is 1.use.kernel=FALSE
.NULL
.true.coefficients
are available, this is a data frame of size R x 5. It contains the model error for the five different methods over the R runs.mean(y)
on the training data is used for prediction.
If true.coefficients
are available, the function also computes the model error for the different methods, i.e. the sum of squared differences between the true and the estimated regression coefficients.pls.ic
, pls.cv