Dataset: https://www.kaggle.com/datasets/karthickveerakumar/spam-filter
We have the dataset that contains text information and labels (spam or not spam). I want to apply the text processing and simple classifer to determine which one is spam email or not.
Text Processing + TF-IDF + Logistic Regression Model
- TF-IDF: Convert each sentence into a vector.
- Logistic Regression Model: Classify the spam/no_spam email.
Scikit-learn