| # 📧 Spam Detection Dataset |
|
|
| ## Overview |
|
|
| This dataset contains labeled text messages for binary spam classification. It is designed for Natural Language Processing (NLP) and machine learning tasks such as spam detection and text classification. |
|
|
| The dataset consists of two columns: |
|
|
| | Column | Description | |
| | ------ | ----------------------- | |
| | text | Message content | |
| | target | Label (`ham` or `spam`) | |
|
|
| ## Dataset Information |
|
|
| * Total samples: **6,485** |
| * Labels: |
|
|
| * `ham` – legitimate messages |
| * `spam` – unsolicited or promotional messages |
|
|
| ## File |
|
|
| ``` |
| spam.csv |
| ``` |
|
|
| ## Example |
|
|
| | target | text | |
| | ------ | --------------------------------------------------------- | |
| | ham | Go until jurong point, crazy.. Available only in bugis... | |
| | spam | Free entry in a weekly competition to win prizes... | |
|
|
| ## Intended Use |
|
|
| This dataset can be used for: |
|
|
| * Spam detection |
| * Binary text classification |
| * Natural Language Processing (NLP) |
| * Machine Learning experiments |
| * Educational and research purposes |
|
|
| ## Format |
|
|
| The dataset is provided as a CSV file. |
|
|
| ```text |
| target,text |
| ham,"Hello, how are you?" |
| spam,"Congratulations! You've won a prize." |
| ``` |
|
|
| ## License |
|
|
| This dataset is publicly available for research, educational, and non-commercial use. |
|
|
| ## Citation |
|
|
| If you use this dataset in your work, please consider citing or linking to this Hugging Face repository. |
|
|
| ## Disclaimer |
|
|
| This dataset is provided as-is without any warranty. Users are responsible for ensuring appropriate use and compliance with applicable laws and regulations. |
|
|