The NaiveBayesClassifier
is a custom implementation of the Naive Bayes classification
algorithm, which is widely used for text classification tasks such as spam detection,
sentiment analysis, and more. This class is designed to train on labeled text data,
allowing it to predict the class (e.g., spam or not spam) of new, unlabeled text samples
The Vectorizer use BoW, which is relativly weaken algorithm to the orhers.
- TF-IDF (Term Frequency - Inverse Document Frequency)
- Word Emveddings (Word2Vec, GloVe)
- Sentence Embeddings (Doc2Vec, Universal Sentence Enconder)
- Transformers Algorithms: 4.1. Transformers 4.2. Bert 4.3 Gpt