validateModel {PDATK} | R Documentation

## Perform Validation on an `S4` Object Representing a Trained Model

### Description

Perform Validation on an `S4` Object Representing a Trained Model

### Usage

    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

    data(sampleTrainedPCOSPmodel)
    data(samplePCOSPpredList)

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

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

[Package PDATK version 1.2.0 Index]