rcut_threshold {utiml} | R Documentation |
The Rank Cut (RCut) method is an instance-wise strategy, which outputs the k labels with the highest scores for each instance at the deployment.
rcut_threshold(prediction, k, probability = FALSE)
## Default S3 method:
rcut_threshold(prediction, k, probability = FALSE)
## S3 method for class 'mlresult'
rcut_threshold(prediction, k, probability = FALSE)
prediction |
A matrix or mlresult. |
k |
The number of elements that will be positive. |
probability |
A logical value. If |
A mlresult object.
default
: Rank Cut (RCut) threshold method for matrix
mlresult
: Rank Cut (RCut) threshold method for mlresult
Al-Otaibi, R., Flach, P., & Kull, M. (2014). Multi-label Classification: A Comparative Study on Threshold Selection Methods. In First International Workshop on Learning over Multiple Contexts (LMCE) at ECML-PKDD 2014.
Other threshold:
fixed_threshold()
,
lcard_threshold()
,
mcut_threshold()
,
pcut_threshold()
,
scut_threshold()
,
subset_correction()
prediction <- matrix(runif(16), ncol = 4)
rcut_threshold(prediction, 2)