index_under: Return indices to be used in original data for undersampling

Description Usage Arguments Value

View source: R/jous_utility.R

Description

(note: sampling is done without replacement)

Usage

1
index_under(ix_pos, ix_neg, q, delta)

Arguments

ix_pos

Indices for positive examples in data.

ix_neg

Indices for negative examples in data.

q

Quantiles for which to construct tilted datasets.

delta

Number of quantiles.

Value

returns a list, each of element of which gives indices to be used on a particular cut (note: will be of length delta - 1)


JOUSBoost documentation built on May 2, 2019, 6:03 a.m.