Description Usage Arguments Value
View source: R/generateThresholds.R
Generate thresholds between percentiles from unlabeled and positive data
1 | generateThresholds(data, q_rng = c(0.5, 0.8), nTh = 50)
|
data |
A matrix or data frame with column "obs" and "pos". "obs": factor with "un" and "pos" levels. "pos": numeric with the likelihood of the positive class. |
nTh |
Number of thresholds to be generated between the minimum and the maximum. |
q_min |
Minimum threshold as quantile of the unlabeled samples in data. |
q_max |
Maximum threshold as quantile of the positive samples in data. |
vector of thresholds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.