index_under {JOUSBoost}R Documentation

Return indices to be used in original data for undersampling

Description

(note: sampling is done without replacement)

Usage

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)


[Package JOUSBoost version 2.1.0 Index]