Sept. 6, 2023, 3:54 a.m. | /u/ProfessorS11

Data Science

I am working with a music genre classifier problem where the dependent variable has 11 classes and the data is imbalanced(Added picture).

The problem I am facing is, as far as I know, the best way to deal with these types of problems is to oversample or undersample. But, the issue is this is not a binary classification problem ,rather multi-class classification problem.

The second approach that I found out was adjusting weights(either by using the argument class\_weight = 'balanced' …

classification classifier data datascience deal music types

Staff Research Scientist, AI/ML

@ Chan Zuckerberg Initiative | Redwood City, CA

Senior Machine Learning Engineer, Science

@ Chan Zuckerberg Initiative | Redwood City, California

AI Innovator in Healthcare

@ GAIA AG | Remote, Germany

Senior Machine Learning Engineer

@ Kintsugi | remote

Staff Machine Learning Engineer (Tech Lead)

@ Kintsugi | Remote

R_00029290 Lead Data Modeler – Remote

@ University at Buffalo | Austin, TX