Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,65 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 📧 Spam Detection Dataset
|
| 2 |
+
|
| 3 |
+
## Overview
|
| 4 |
+
|
| 5 |
+
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.
|
| 6 |
+
|
| 7 |
+
The dataset consists of two columns:
|
| 8 |
+
|
| 9 |
+
| Column | Description |
|
| 10 |
+
| ------ | ----------------------- |
|
| 11 |
+
| text | Message content |
|
| 12 |
+
| target | Label (`ham` or `spam`) |
|
| 13 |
+
|
| 14 |
+
## Dataset Information
|
| 15 |
+
|
| 16 |
+
* Total samples: **6,485**
|
| 17 |
+
* Labels:
|
| 18 |
+
|
| 19 |
+
* `ham` – legitimate messages
|
| 20 |
+
* `spam` – unsolicited or promotional messages
|
| 21 |
+
|
| 22 |
+
## File
|
| 23 |
+
|
| 24 |
+
```
|
| 25 |
+
spam.csv
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
## Example
|
| 29 |
+
|
| 30 |
+
| target | text |
|
| 31 |
+
| ------ | --------------------------------------------------------- |
|
| 32 |
+
| ham | Go until jurong point, crazy.. Available only in bugis... |
|
| 33 |
+
| spam | Free entry in a weekly competition to win prizes... |
|
| 34 |
+
|
| 35 |
+
## Intended Use
|
| 36 |
+
|
| 37 |
+
This dataset can be used for:
|
| 38 |
+
|
| 39 |
+
* Spam detection
|
| 40 |
+
* Binary text classification
|
| 41 |
+
* Natural Language Processing (NLP)
|
| 42 |
+
* Machine Learning experiments
|
| 43 |
+
* Educational and research purposes
|
| 44 |
+
|
| 45 |
+
## Format
|
| 46 |
+
|
| 47 |
+
The dataset is provided as a CSV file.
|
| 48 |
+
|
| 49 |
+
```text
|
| 50 |
+
target,text
|
| 51 |
+
ham,"Hello, how are you?"
|
| 52 |
+
spam,"Congratulations! You've won a prize."
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
## License
|
| 56 |
+
|
| 57 |
+
This dataset is publicly available for research, educational, and non-commercial use.
|
| 58 |
+
|
| 59 |
+
## Citation
|
| 60 |
+
|
| 61 |
+
If you use this dataset in your work, please consider citing or linking to this Hugging Face repository.
|
| 62 |
+
|
| 63 |
+
## Disclaimer
|
| 64 |
+
|
| 65 |
+
This dataset is provided as-is without any warranty. Users are responsible for ensuring appropriate use and compliance with applicable laws and regulations.
|