Under-Sampling

CondensedNearestNeighbour/EditedNearestNeighbours/Rep. EditedNearestNeighbours/ AllKNN/InstanceHardnessThreshold/NearMiss/NeighbourhoodCleaningRule/OneSidedSelection/ RandomUnderSampler/TomekLinks

Common

Input Data

Inputs

*Target Data

Data input

*Sampler

Name of the user-defined sampler module

*Predict Output

Name of the re-sampled data

*x

Columns (features) to be re-sampled by the sampler, with respect to their labels y.

  • Data type:

    • RamdomUnderSampler: all data type.

    • else: numeric.

  • One or more columns should be selected.

*y

Column containing labels of the features x.

  • Only one column should be selected.

[Task information of TomekLinks]

Python Package

CondensedNearestNeighbour: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.under_sampling.CondensedNearestNeighbour.html#arrow-up-right

EditedNearestNeighbours: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.under_sampling.EditedNearestNeighbours.htmlarrow-up-right

Rep. EditedNearestNeighbours: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.under_sampling.RepeatedEditedNearestNeighbours.htmlarrow-up-right

AllKNN: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.under_sampling.AllKNN.htmlarrow-up-right

InstanceHardnessThreshold: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.under_sampling.InstanceHardnessThreshold.htmlarrow-up-right

NearMiss: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.under_sampling.NearMiss.htmlarrow-up-right

NeighbourhoodCleaningRule: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.under_sampling.NeighbourhoodCleaningRule.htmlarrow-up-right

OneSidedSelection: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.under_sampling.OneSidedSelection.htmlarrow-up-right

RandomUnderSampler: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.under_sampling.RandomUnderSampler.htmlarrow-up-right

TomekLinks: https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.under_sampling.TomekLinks.htmlarrow-up-right

Last updated

Was this helpful?