Can SMOTE be used for non-binary classification?

There is a class imbalance present in my dataset and I would like to balance the dataset. The dependent variable's features are (0,1,2,3,4). How do I make use of SMOTE, SMOTE-N, SMOTE-NC when if they're only used for binary or categorical data?

Topic smote dataset python

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.