Description Usage Arguments Value See Also Examples
View source: R/cross_validation.R
Perform the cross validation procedure for multi-label learning.
1 2 3 4 5 6 7 8 9 10 11 12 |
mdata |
A mldr dataset. |
method |
The multi-label classification method. It also accepts the name of the method as a string. |
... |
Additional parameters required by the method. |
cv.folds |
Number of folds. (Default: 10) |
cv.sampling |
The method to split the data. The default methods are:
(Default: "random") |
cv.results |
Logical value indicating if the folds results should be reported (Default: FALSE). |
cv.predictions |
Logical value indicating if the predictions should be reported (Default: FALSE). |
cv.measures |
The measures names to be computed. Call
|
cv.cores |
The number of cores to parallelize the cross validation
procedure. (Default: |
cv.seed |
An optional integer used to set the seed. (Default:
|
If cv.results and cv.prediction are FALSE, the return is a vector with the expected multi-label measures, otherwise, a list contained the multi-label and the other expected results (the label measures and/or the prediction object) for each fold.
Other evaluation:
multilabel_confusion_matrix()
,
multilabel_evaluate()
,
multilabel_measures()
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.