crossValidatePredictiveModel: Perform cross validation on a preditive model, this method...

Description Usage Arguments Value Author(s) See Also

Description

Perform cross validation on a preditive model, this method support both caret models and PredictiveModels

Usage

1
2
3
  crossValidatePredictiveModel(featureData, responseData,
    model, numFolds = 5, trControl = defaultTrainControl(),
    ...)

Arguments

featureData
responseData
method

either an instance of PredictiveModel or a string holding the name of one of the machine learning methods that caret supports

numFolds

defaults to 5

trControl

defaults to defaultTrainControl

Value

a list of PredictiveModelPerformance one per fold

Author(s)

Adam Margolin

See Also

defaultTrainControl


Sage-Bionetworks/predictiveModeling documentation built on May 9, 2019, 12:12 p.m.