Skip to content

Suryaknuparthy/Textmining

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Text Mining Project – SMS Spam Classifier

This project trains a classifier to detect whether a message is spam or ham (not spam).
It uses TF-IDF features and Logistic Regression.

Run

pip install -r requirements.txt
python src/train.py --data data/sms.csv --outdir outputs
python src/predict.py "Congratulations, you won a free gift card!"
python src/evaluate.py --data data/sms.csv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages