Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Imbalanced Classification Master Class in Python
Rating: 4.1 out of 5(18 ratings)
202 students

Imbalanced Classification Master Class in Python

A Step-by-Step Guide to Handling Real-World Class Imbalance in Machine Learning
Created byMike West
Last updated 8/2021
English
English [Auto],

What you'll learn

  • How to use data sampling algorithms like SMOTE to transform the training dataset for an imbalanced dataset when fitting a range of machine learning models
  • How algorithms from the field of cost-sensitive learning can be used for imbalanced classification
  • How to use modified versions of standard algorithms like SVM and decision trees to take the class weighting into account
  • How to tune the threshold when interpreting predicted probabilities as class labels
  • How to calibrate probabilities predicted by nonlinear algorithms that are not fit using a probabilistic framework
  • How to use algorithms from the field of outlier detection and anomaly detection for imbalanced classification
  • How to use modified ensemble algorithms that have been modified to take the class distribution into account during training
  • How to systematically work through an imbalanced classification predictive modeling project

Course content

6 sections88 lectures3h 6m total length
  • Introduction0:46

    Explore imbalanced classification in Python by applying data preparation techniques, learning models, and performance metrics to build practical, balanced classifiers for skewed class distributions.

  • Course Outcomes1:00

    Learn techniques for imbalanced classification, including selecting performance metrics, stratifying and splitting data, applying SMOTE-style sampling, exploring cost-sensitive methods, adapting SVM and decision trees, and tuning thresholds.

  • Course Structure1:58

    Explore the six core parts of imbalanced classification, from the foundation to data sampling, cost sensitivity, precision and recall, and advanced ensemble techniques with hands-on projects.

  • Imbalanced Classification Defined3:16

    Explore imbalanced classification in predictive modeling, stressing how minority classes drive performance and how training data shape binary and multiclass problems.

  • Causes of Class Imbalance1:47

    Identify the causes of class imbalance in predictive modeling, including sampling bias and measurement errors, and understand how domain properties shape training data.

  • Challenge of Imbalance Classification1:41

    Explore the challenge of imbalance classification, distinguishing slight and severe imbalances, identifying majority and minority classes, and applying dataset-specific, specialized techniques to improve minority class predictions.

  • Examples of Class Imbalance1:34

    Explore examples of imbalanced and balanced classification across domains like fraud detection, churn prediction, and spam detection, highlighting how minority classes in binary classification drive detection challenges in predictive modeling.

Requirements

  • You'll need a solid foundation in machine learning
  • You'll need a solid background in Python
  • A familiarity with classification problems would be ideal

Description

Welcome to Imbalanced Classification Master Class in Python.

Classification predictive modeling is the task of assigning a label to an example. Imbalanced classification is those classification tasks where the distribution of examples across the classes is not equal. Typically the class distribution is severely skewed so that for each example in the minority class, there may be one hundred or even one thousand examples in the majority class. Practical imbalanced classification requires the use of a suite of specialized techniques, data preparation techniques, learning algorithms, and performance metrics.

Let's discuss what you'll learn in this course.

  • The challenge and intuitions for imbalanced classification datasets.

  • How to choose an appropriate performance metric for evaluating models for imbalanced classification.

  • How to appropriately stratify an imbalanced dataset when splitting into train and test sets and when using k-fold cross-validation.

  • How to use data sampling algorithms like SMOTE to transform the training dataset for an imbalanced dataset when fitting a range of standard machine learning models.

  • How algorithms from the field of cost-sensitive learning can be used for imbalanced classification.

  • How to use modified versions of standard algorithms like SVM and decision trees to take the class weighting into account.

  • How to tune the threshold when interpreting predicted probabilities as class labels.

  • How to calibrate probabilities predicted by nonlinear algorithms that are not fit using a probabilistic framework.

  • How to use algorithms from the field of outlier detection and anomaly detection for imbalanced classification.

  • How to use modified ensemble algorithms that have been modified to take the class distribution into account during training.

  • How to systematically work through an imbalanced classification predictive modeling project.

This course was created to be completed linearly, from start to finish. That being said, if you know the basics and need help with a specific method or type of problem, then you can flip straight to that section and get started. This course was designed for you to completed on your laptop or desktop, on the screen, not on a tablet. 

My hope is that you have the course open right next to your editor and run the examples as you read about them. This course is not intended to be completed passively or be placed in a folder as a reference text. It is a playbook, a workbook, and a guidebook intended for you to learn by doing and then apply your new understanding with working Python examples. To get the most out of the course, I would recommend playing with the examples in each tutorial. Extend them, break them, then fix them.

Thanks for you interest in Imbalanced Classification Master Class in Python.

Now let's get started!

Who this course is for:

  • If you're studying to be a machine learning engineer, this course is for you.
  • If you are a machine learning engineer, this course is for you.
  • If you're a data scientist moving to machine learning, this course is for you.