Loading...

Handling Imbalanced Data in machine learning classification (Python) - 2

2730 64________

Welcome to our Handling Imbalanced Data in machine learning classification series. You'll work on a highly imbalanced example dataset in Python.

In this Part 2 video, we'll learn 6 popular techniques to deal with the imbalanced data problem in Python.

00:00 Overview
01:21 Collecting a bigger sample
02:15 Oversampling (e.g., random, SMOTE)
09:55 Undersampling (e.g., random, K-Means, Tomek links)
15:05 Combining over and undersampling
16:42 Weighing classes differently
19:07 Changing algorithms

GitHub Repo with code: github.com/liannewriting/YouTube-videos-public/tre…

Source of the dataset: sci2s.ugr.es/keel/dataset.php?cod=115 Please download from GitHub, since we've made minor changes to the original dataset.

Technologies that will be used:
☑️ JupyterLab (Notebook)
☑️ pandas
☑️ sklearn
☑️ imbalanced-learn (imblearn)

Links mentioned in the video

►Logistic Regression Example in Python: Step-by-Step Guide: www.justintodata.com/logistic-regression-example-i…

►Shrinkage effect: imbalanced-learn.org/stable/auto_examples/over-sam…

►SMOTE: Synthetic Minority Over-sampling Technique: arxiv.org/abs/1106.1813

►Decision Tree Model in Machine Learning: Practical Tutorial with Python: www.justintodata.com/decision-tree-model-in-machin…

►Unlocking Random Forest in Machine Learning: www.justintodata.com/random-forest-machine-learnin…

►Paper with comparisons (Survey of Imbalanced Data Methodologies): arxiv.org/pdf/2104.02240.pdf

There's also an article version of the same content. If you prefer reading, please check it out. How to handle Imbalanced Data in machine learning classification: www.justintodata.com/imbalanced-data-machine-learn…

Get access to more data science materials, check out our website Just into Data: justintodata.com/

コメント