model_type-methods: Retrieve the machine learning method from a SIAMCAT object

model_typeR Documentation

Retrieve the machine learning method from a SIAMCAT object

Description

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

Usage

model_type(siamcat, verbose=1)

## S4 method for signature '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)

Details

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

Value

The string describing the machine learning method or NULL

Examples

data(siamcat_example)
model_type(siamcat_example)

zellerlab/siamcat documentation built on Feb. 1, 2024, 2:21 a.m.