predict: cross-validation function for all methods

Description Usage Arguments

View source: R/predict.R

Description

Estimate test error of elastic net panel

Usage

1
predict(object, ...)

Arguments

object

an object of a specific machine learning method (ML) class

validation

a string type of validation; either "Mfold" or "loo"

M

an integer specifying the number of folds

iter

an integer specifying the number of times to repeat the cross-validation

threads

an object of a specific machine learning method (ML) class

progressBar

a boolean that specifies whether a progress bar should be displayed or not


singha53/ssenet documentation built on March 17, 2020, 4:41 a.m.