Skip to content

thieu1995/mealpy-text-classification

Repository files navigation

Text classification with Machine Learning and Mealpy

  1. SVC (Support Vector Classification)
  2. NB (Naive Bayes)
  3. LC (Linear Classification)
  4. Random Forest Model (Bagging Model)
  5. Boosting Model
  6. Multi-Layer Perceptron
  7. CNN
  8. LSTM
  9. GRU
  10. Bidirectional RNN
  11. Recurrent Convolutional Neural Network

Environments


Open terminal in windows:

    python -m venv pve_mealpy_test
    pve_mealpy_test\Scripts\activate.bat
    pip install -r requirements.txt
    

How to run

Please check out all the normal model first by running the script that end with word "normal". For example:

1. run_svc_normal.py
2. run_nb_normal.py

After that you can check out how to use MEALPY with above models by running the script end with word "mealpy". For example:

1. run_svc_mealpy.py
2. run_nb_mealpy.py

Cite Us

If you are using mealpy in your project, we would appreciate citations:

@software{nguyen_van_thieu_2022_6684223,
  author       = {Nguyen Van Thieu and Seyedali Mirjalili},
  title        = {{MEALPY: a Framework of The State-of-The-Art Meta-Heuristic Algorithms in Python}},
  month        = jun,
  year         = 2022,
  publisher    = {Zenodo},
  version      = {v2.4.2},
  doi          = {10.5281/zenodo.6684223},
  url          = {https://doi.org/10.5281/zenodo.6684223}
}