Description Usage Arguments Value Methods (by class) References See Also Examples
The Maximum Cut (MCut) automatically determines a threshold for each instance that selects a subset of labels with higher scores than others. This leads to the selection of the middle of the interval defined by these two scores as the threshold.
1 2 3 4 5 6 7 | mcut_threshold(prediction, probability = FALSE)
## Default S3 method:
mcut_threshold(prediction, probability = FALSE)
## S3 method for class 'mlresult'
mcut_threshold(prediction, probability = FALSE)
|
prediction |
A matrix or mlresult. |
probability |
A logical value. If |
A mlresult object.
default
: Maximum Cut Thresholding (MCut) method for matrix
mlresult
: Maximum Cut Thresholding (MCut) for mlresult
Largeron, C., Moulin, C., & Gery, M. (2012). MCut: A Thresholding Strategy for Multi-label Classification. In 11th International Symposium, IDA 2012 (pp. 172-183).
Other threshold:
fixed_threshold()
,
lcard_threshold()
,
pcut_threshold()
,
rcut_threshold()
,
scut_threshold()
,
subset_correction()
1 2 | prediction <- matrix(runif(16), ncol = 4)
mcut_threshold(prediction)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.