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)
(Required). An instance of siamcat-class that contains trained models
integer, if the slot is empty, should a message be printed?
values can be either
The string describing the machine learning method or
The function extracts the information on which type of machine learning method was used for model training.
data(siamcat_example) model_type(siamcat_example)#>  "lasso"