Reader small image

You're reading from  MATLAB for Machine Learning - Second Edition

Product typeBook
Published inJan 2024
Reading LevelIntermediate
PublisherPackt
ISBN-139781835087695
Edition2nd Edition
Languages
Tools
Right arrow
Author (1)
Giuseppe Ciaburro
Giuseppe Ciaburro
author image
Giuseppe Ciaburro

Giuseppe Ciaburro holds a PhD and two master's degrees. He works at the Built Environment Control Laboratory - Università degli Studi della Campania "Luigi Vanvitelli". He has over 25 years of work experience in programming, first in the field of combustion and then in acoustics and noise control. His core programming knowledge is in MATLAB, Python and R. As an expert in AI applications to acoustics and noise control problems, Giuseppe has wide experience in researching and teaching. He has several publications to his credit: monographs, scientific journals, and thematic conferences. He was recently included in the world's top 2% scientists list by Stanford University (2022).
Read more about Giuseppe Ciaburro

Right arrow

Dealing with imbalanced datasets in MATLAB

Dealing with imbalanced datasets is a common challenge in machine learning, particularly in classification tasks where one class significantly outnumbers the other(s). Handling imbalanced datasets is crucial because models trained on such data may exhibit bias toward the majority class and perform poorly in predicting the minority class.

Understanding oversampling

Oversampling is a method that’s employed to tackle class imbalance in a dataset by augmenting the number of instances belonging to the minority class. The aim is to balance the class distribution and prevent machine learning models from being biased toward the majority class. Oversampling is particularly useful when you have limited data for the minority class. There are several methods for oversampling, including the following:

  • Random oversampling: In random oversampling, you randomly select and duplicate instances from the minority class until the class distribution...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
MATLAB for Machine Learning - Second Edition
Published in: Jan 2024Publisher: PacktISBN-13: 9781835087695

Author (1)

author image
Giuseppe Ciaburro

Giuseppe Ciaburro holds a PhD and two master's degrees. He works at the Built Environment Control Laboratory - Università degli Studi della Campania "Luigi Vanvitelli". He has over 25 years of work experience in programming, first in the field of combustion and then in acoustics and noise control. His core programming knowledge is in MATLAB, Python and R. As an expert in AI applications to acoustics and noise control problems, Giuseppe has wide experience in researching and teaching. He has several publications to his credit: monographs, scientific journals, and thematic conferences. He was recently included in the world's top 2% scientists list by Stanford University (2022).
Read more about Giuseppe Ciaburro