Skip to content

Instantly share code, notes, and snippets.

@kse0202
Created April 1, 2020 02:24
Show Gist options
  • Select an option

  • Save kse0202/870a6f4fb1de6c9d9ccb8ea08e8f9404 to your computer and use it in GitHub Desktop.

Select an option

Save kse0202/870a6f4fb1de6c9d9ccb8ea08e8f9404 to your computer and use it in GitHub Desktop.
불균형 데이터를 처리하기 위한 샘플링 종류

UnderSampling

  • RandomUnderSampler: random under-sampling method
  • TomekLinks: Tomek’s link method
  • CondensedNearestNeighbour: condensed nearest neighbour method
  • OneSidedSelection: under-sampling based on one-sided selection method
  • EditedNearestNeighbours: edited nearest neighbour method
  • NeighbourhoodCleaningRule: neighbourhood cleaning rule

OverSampling

  • RandomOverSampler: random sampler
  • ADASYN: Adaptive Synthetic Sampling Approach for Imbalanced Learning
  • SMOTE: Synthetic Minority Over-sampling Technique

Mixed

  • SMOTEENN: SMOTE + ENN
  • SMOTETomek: SMOTE + Tomek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment