validateModel,GeneFuModel,CohortList-method {PDATK} | R Documentation |
Evaluate the Performance of a List of Trained KTSP Models from a PCOSP Model
## S4 method for signature 'GeneFuModel,CohortList' validateModel(model, valData, ...)
model |
A |
valData |
A |
... |
Fallthrough arguments to |
The model
object with the validationStats and validationData
slots occupied.
BiocParallel::bplapply
, switchBox::SWAP.KTSP.Classify
data(sampleTrainedPCOSPmodel) data(samplePCOSPpredList) # Set parallelization settings BiocParallel::register(BiocParallel::SerialParam()) # Validate model validatedPCOSPmodel <- validateModel(sampleTrainedPCOSPmodel, valData=samplePCOSPpredList)