This project implements a Spam Message Detection System using Machine Learning techniques in Python.
The system classifies SMS messages as Spam or Ham (Not Spam) using text classification methods.
This project is developed purely for learning and understanding Machine Learning fundamentals and is intended for academic use.
- Degree: MSc (Computer Science / Data Science)
- Project Type: Academic / Learning Project
- Focus Area: Machine Learning, Text Classification
The following concepts are used in this project:
- Text preprocessing
- TF-IDF (Term Frequency–Inverse Document Frequency)
- Logistic Regression classifier
- Train–Test split
- Model evaluation metrics
- File Name:
spam.csv - Type: SMS message dataset
- Labels:
ham→ Not Spamspam→ Spam
- Python
- Pandas
- Scikit-learn
- Load and explore the dataset
- Convert text labels (ham/spam) into numerical values
- Transform text messages into numerical vectors using TF-IDF
- Split dataset into training and testing sets
- Train a Logistic Regression model
- Evaluate the model using accuracy and classification report
git clone https://github.com/Dikshakamalaskar003/Spam-Message-Detection-Using-ML.git
cd Spam-Message-Detection-Using-ML