model_type {SIAMCAT} | R 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)

[Package SIAMCAT version 1.12.0 Index]