S4Model-class {PDATK} | R Documentation

## An `S4` Virtual Class For the Concept of a Statistical or ML Model

### Description

An `S4` Virtual Class For the Concept of a Statistical or ML Model

### Slots

`trainData`

  An object inheriting from `List` or `list` representing the training data for the model.

`modelParams`

  An object inherting from `List` or `list` representing the parameters needed to train the model.

`models`

  An object inheriting from `List` or `list` representing the trained models.

`validationStats`

  An object inheriting from `DFrame` or `data.frame` and storing statistics assessing model performance.

`validationData`

  An object inheriting `List` or `list` representing the data used to validate or evaluate the performance of a model.

`elementMetadata`

  A `DataFrame` or 'data.frame' of item metadata for the `models` slot.

`metadata`

  A `List` or `list` of model level metadata.

[Package PDATK version 1.2.0 Index]