leviethung2103 / SpamEmailClassification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spam Filtering

Dataset: https://www.kaggle.com/datasets/karthickveerakumar/spam-filter

Problem of statement

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.

Aproach

Text Processing + TF-IDF + Logistic Regression Model

  • TF-IDF: Convert each sentence into a vector.
  • Logistic Regression Model: Classify the spam/no_spam email.

Libraries

Scikit-learn

About


Languages

Language:Jupyter Notebook 100.0%