validateModel: Perform Validation on an 'S4' Object Representing a Trained...

Description Usage Arguments Value Examples

Description

Perform Validation on an S4 Object Representing a Trained Model

Usage

1
validateModel(model, valData, ...)

Arguments

model

An S4 object.

valData

Any Data to verify the model with.

...

Allow new parameters to be defined for this generic.

Value

The S4 object with added model performance metadata.

Examples

1
2
3
4
5
6
7
8
9
data(sampleTrainedPCOSPmodel)
data(samplePCOSPpredList)

# Set parallelization settings
BiocParallel::register(BiocParallel::SerialParam())

# Validate model
validatedPCOSPmodel <- validateModel(sampleTrainedPCOSPmodel,
  valData=samplePCOSPpredList[[1]])

bhklab/PanCuRx documentation built on Dec. 30, 2021, 4:59 p.m.