generateThresholds: Generate thresholds between percentiles from unlabeled and...

Description Usage Arguments Value

View source: R/generateThresholds.R

Description

Generate thresholds between percentiles from unlabeled and positive data

Usage

1
generateThresholds(data, q_rng = c(0.5, 0.8), nTh = 50)

Arguments

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.

Value

vector of thresholds


benmack/oneClass documentation built on Dec. 15, 2020, 7:38 p.m.