perf.sPLSDA: repeated CV function for a sPLSDA model

Description Usage Arguments

Description

takes in predited weights and true labels and determines performance characterisitcs

Usage

1
2
perf.sPLSDA(object, validation = c("Mfold", "loo"), M = 5, iter = 10,
  threads = 4, progressBar = TRUE)

Arguments

object

sPLSDA model object

M

Number of folds in the cross-validation

iter

number of times to repeat the cross-validation

threads

number of cores to use to parrallel the CV

progressBar

display progress bar or not (TRUE/FALSE)

valdation

type of cross-validation; Mfold "Mfold" or LOOCV "loo"


singha53/amritr documentation built on July 21, 2019, 3:46 p.m.