Skip to content

This is a Logistic Regression Model in Python using a SMS spam collection Dataset to predict a message as SPAM or HAM.

Notifications You must be signed in to change notification settings

khan2810/Spam_or_Ham

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✔ Spam_or_Ham

This is a Logistic Regression Model in Python using a SMS spam collection Dataset to predict a message as SPAM or HAM.

Required Libraries

How to Use it

  • Clone the repository on your local system or Download as zip and extract it.
  • Open the folder in your Jupyter Notebook or Google Colab. You can also open it on VScode if you have Jupyter Notebook installed on your system.
  • There in the folder, you can see the code file, dataset.csv, train_data.csv and test_data.csv
  • Now open the code file LR_spam_detection.ipynb
  • And click on the Run All button located in the upper side of Jupyter Notebook.
  • After Running You can see the creation and all the details of the Model including training, testing, Accuracy in the respective output blocks.
  • And in the last, You can also give a custom input message to check the trained model.

About

This is a Logistic Regression Model in Python using a SMS spam collection Dataset to predict a message as SPAM or HAM.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published