Description Usage Arguments Details Value Examples
Function to retrieve the feature weights from a SIAMCAT object
1 2 3 4 | weight_matrix(siamcat, verbose=1)
## S4 method for signature 'siamcat'
weight_matrix(siamcat, verbose = 1)
|
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 |
The function extracts the feature weights from all trained models acorss all cross-validation folds and repeats.
A matrix containing the feature weights or NULL
1 2 3 | data(siamcat_example)
temp <- weight_matrix(siamcat_example)
temp[1:3, 1:3]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.