Function to retrieve information on which type of machine learning method was used for model training

model_type(siamcat, verbose=1)

# S4 method for siamcat
model_type(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 string describing the machine learning method or NULL

Details

The function extracts the information on which type of machine learning method was used for model training.

Examples

data(siamcat_example) model_type(siamcat_example)
#> [1] "lasso"