Description Usage Arguments Value See Also Examples
Evaluate the Performance of a List of Trained KTSP Models from a PCOSP Model
1 2 | ## S4 method for signature 'ClinicalModel,CohortList'
validateModel(model, valData, ...)
|
model |
A trained |
valData |
A |
... |
Fallthrough arguments to |
The model
object with the validationStats and validationData
slots occupied.
BiocParallel::bplapply
, switchBox::SWAP.KTSP.Classify
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(sampleClinicalModel)
data(samplePCSIsurvExp)
# Set parallelization settings
BiocParallel::register(BiocParallel::SerialParam())
# Train Model
trainedClinicalModel <- trainModel(sampleClinicalModel)
# Make predictions
clinicalPredSurvExp <- predictClasses(samplePCSIsurvExp,
model=trainedClinicalModel)
# Validate model
validatedClincalModel <- validateModel(trainedClinicalModel,
valData=clinicalPredSurvExp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.