Function to retrieve the list of trained models

models(siamcat, verbose=1)

# S4 method for siamcat
models(siamcat, verbose = 1)

Arguments

siamcat

(Required). An instance of siamcat-class that contains trained models

verbose

integer, if the slot is empty, should a message be printed? values can be either 0 (no output) or 1 (print message)

Value

The list of models or NULL

Details

The function extracts the list of trained models.

Examples

data(siamcat_example) temp <- models(siamcat_example) temp[[1]]
#> Model for learner.id=classif.cvglmnet; learner.class=classif.cvglmnet #> Trained on: task.id = data; obs = 112; features = 28 #> Hyperparameters: nlambda=100,alpha=1