classify-text and 20-newsgroups_text-classification
These are **competitors** — both implement text classification on the identical "20 Newsgroups" dataset using similar classical ML approaches (Naive Bayes), so users would choose one based on code quality, documentation, or implementation details rather than using them together.
About classify-text
yassersouri/classify-text
"20 Newsgroups" text classification with python
Implements comparative experiments across multiple feature representations (Bag of Words, TF, TF-IDF) and classifiers (Naive Bayes, SVM, k-NN) using scikit-learn, with evaluation via train-test splits and stratified k-fold cross-validation. Handles preprocessing quirks like UTF-8 incompatibility in source documents and supports both binary classification (likes vs. dislikes) and full 20-class multiclass scenarios. Results demonstrate TF-IDF with linear SVM achieving ~97% accuracy on binary tasks and ~89% on full 20-class classification.
About 20-newsgroups_text-classification
gokriznastic/20-newsgroups_text-classification
"20 newsgroups" dataset - Text Classification using Multinomial Naive Bayes in Python.
Scores updated daily from GitHub, PyPI, and npm data. How scores work