Under-sampling Samplers

The imbens.sampler submodule provides a set of methods to perform resampling.

ClusterCentroids(*[, sampling_strategy, ...])

Undersample by generating centroids based on clustering methods.

RandomUnderSampler(*[, sampling_strategy, ...])

Class to perform random under-sampling.

InstanceHardnessThreshold(*[, estimator, ...])

Undersample based on the instance hardness threshold.

NearMiss(*[, sampling_strategy, version, ...])

Class to perform under-sampling based on NearMiss methods.

TomekLinks(*[, sampling_strategy, n_jobs])

Under-sampling by removing Tomek's links.

EditedNearestNeighbours(*[, ...])

Undersample based on the edited nearest neighbour method.

RepeatedEditedNearestNeighbours(*[, ...])

Undersample based on the repeated edited nearest neighbour method.

AllKNN(*[, sampling_strategy, n_neighbors, ...])

Undersample based on the AllKNN method.

OneSidedSelection(*[, sampling_strategy, ...])

Class to perform under-sampling based on one-sided selection method.

CondensedNearestNeighbour(*[, ...])

Undersample based on the condensed nearest neighbour method.

NeighbourhoodCleaningRule(*[, ...])

Undersample based on the neighbourhood cleaning rule.

BalanceCascadeUnderSampler(*[, ...])

Class to perform under-sampling for BalanceCascade in [R0c442d576155-1].

SelfPacedUnderSampler(*[, ...])

Class to perform self-paced under-sampling in [Rea1ca59828aa-1].