This is a Logistic Regression Model in Python using a SMS spam collection Dataset to predict a message as SPAM or HAM.
- 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.