Week 9

Author

Huanfa Chen

Published

March 25, 2026

Introduction

This week will introduce how to deal with imbalanced data in machine learning classifcation tasks.

Learning Objectives

By the end of this week, you will be able to:

  1. Understand the types and issue of imbalanced data.
  2. Understand the classic methods to handle imbalanced data.

Lecture

To access the lecture notes: Lecture

Quiz

To access the quiz on Moodle, please check Moodle page.

Practical

Note

To save a copy of notebook to your own GitHub Repo: follow the GitHub link, click on Raw and then Save File As... to save it to your own computer. Make sure to change the extension from .ipynb.txt (which will probably be the default) to .ipynbbefore adding the file to your GitHub repository.

To access the practical:

  1. Preview
  2. Download

Further resources