Skip to content

AleksiAvela/emco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 

Repository files navigation

EMCO

This repository includes a Python implementation of Extrapolated Markov Chain Oversampling (EMCO) method introduced in a submitted manuscript Extrapolated Markov Chain Oversampling Method for Imbalanced Text Classification and source code of the presented experiments on Reuters-21578 corpus, HuffPost News Category Dataset, and 20 Newsgroups dataset.

Running the full experiments can take from a few hours up to tens of hours depending on the experiment set up and available computational power. For testing the method, we suggest running example.py which includes the same tests but only for one specified category of Reuters-21578 and without averaging over multiple repetitions.

For the source code and documentations of the other tested methods, please refer to: https://imbalanced-learn.org/stable/index.html, https://github.com/AlexMoreo/pydro, and https://github.com/jasonwei20/eda_nlp. This repository also includes our implementation of DECOM oversampling method by Chen et al. (2011). The HuffPost News Category Dataset (Misra, 2022) is available at https://www.kaggle.com/datasets/rmisra/news-category-dataset. Pre-trained fastText word embeddings (Mikolov et al., 2018) can be downloaded from https://fasttext.cc/docs/en/english-vectors.html.

About

A Python implementation of Extrapolated Markov Chain Oversampling (EMCO) method for imbalanced text classification and source code of experiments

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages