ourafla commited on
Commit
0ff2abc
·
verified ·
1 Parent(s): c731dbd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +29 -29
README.md CHANGED
@@ -32,15 +32,15 @@ configs:
32
 
33
  ## Dataset Description
34
 
35
- This dataset contains short, user‑generated texts labeled for **4‑class mental health classification**: **Suicidal**, **Depression**, **Anxiety**, and **Normal**.[file:64][file:65] It is a **derived dataset** created by combining and cleaning three public mental‑health corpora, then re‑labeling them into a unified 4‑class scheme and exporting CSV files suitable for both classical ML and modern NLP models.[web:24][web:72][web:54][web:58]
36
 
37
  The repository includes:
38
 
39
  - An **unbalanced main training corpus** (realistic class skew).
40
  - A **strictly balanced test split** for fair evaluation.
41
- - A **feature‑engineered file** with basic text statistics (length, URLs, emojis, punctuation, etc.).[file:91][file:92]
42
 
43
- > **Important:** This dataset is intended for **research and education only**. It is not a clinical tool and must not be used for real‑world diagnosis, triage, or crisis intervention.[web:89]
44
 
45
  ---
46
 
@@ -49,20 +49,20 @@ The repository includes:
49
  ### Files
50
 
51
  1. **`mental_heath_unbanlanced.csv`**
52
- - Main training corpus with **48,945 samples** and a realistic, unbalanced class distribution (Normal, Depression, Suicidal, Anxiety).[file:91]
53
  - Columns:
54
  - `text` – Cleaned post or statement text.
55
- - `status` – Final label in {`Suicidal`, `Depression`, `Anxiety`, `Normal`}.[file:64][file:91]
56
 
57
  2. **`mental_health_combined_test.csv`**
58
- - **Balanced test split** with **992 samples** (exactly **248 per class**).[file:91]
59
  - Columns:
60
  - `text` – Cleaned post.
61
  - `status` – Final 4‑class label.
62
  - Built by combining held‑out data from the sources, applying the same cleaning and label mapping, removing duplicates, and **downsampling each class to equal size** for fair evaluation.[file:91]
63
 
64
  3. **`mental_health_feature_engineered.csv`**
65
- - Cleaned and **feature‑engineered** subset for classical models and analysis.[file:92]
66
  - Columns:
67
  - Core: `Unique_ID`, `text`, `status` (4‑class label).
68
  - Features:
@@ -72,7 +72,7 @@ The repository includes:
72
  - `num_emojis` – Count of emoji characters.
73
  - `num_special_chars` – Count of non‑alphanumeric characters.
74
  - `num_excess_punct` – Count of repeated punctuation sequences (e.g., `!!!`, `???`, `...`).
75
- - `avg_word_length` – Average characters per word.[file:92]
76
 
77
  ### Splits
78
 
@@ -119,18 +119,18 @@ This dataset does **not** collect new data from individuals. Instead, it is buil
119
 
120
  - **Suicide and Depression Detection (Kaggle)** – Nikhileswar Komati
121
  Reddit posts from suicide‑related communities labeled as suicidal vs non‑suicidal / depression vs control.
122
- https://www.kaggle.com/datasets/nikhileswarkomati/suicide-watch[web:24][web:70]
123
 
124
  - **Sentiment Analysis for Mental Health (Kaggle)** – Suchintika Sarkar
125
  Short statements labeled as normal, depression, suicide, anxiety, stress, bipolarity, personality disorder, etc.
126
- https://www.kaggle.com/datasets/suchintikasarkar/sentiment-analysis-for-mental-health[web:69][web:72]
127
 
128
  - **Reddit Mental Health Classification (Murarka et al.)**
129
  Dataset released with *“Detection and Classification of Mental Illnesses on Social Media using RoBERTa.”*
130
  Reddit posts labeled into ADHD, Anxiety, Bipolar, Depression, PTSD, and None.
131
- https://github.com/amurark/mental-health-detection[web:54][web:58]
132
 
133
- Only the **processed, relabeled, and re‑split** samples are redistributed here. Users must obtain the original raw data from the links above if needed.[file:64][file:65]
134
 
135
  ---
136
 
@@ -138,12 +138,12 @@ Only the **processed, relabeled, and re‑split** samples are redistributed here
138
 
139
  ### Cleaning
140
 
141
- All source datasets are passed through a common cleaning pipeline:[file:91][file:92]
142
 
143
  - Drop rows with missing `text` or labels (`status`).
144
  - Deduplicate texts across and within sources.
145
  - Apply regex‑based text normalization (whitespace cleanup, formatting fixes).
146
- - Filter out extremely short and excessively long texts to remove non‑informative samples.[file:92]
147
 
148
  ### Unified 4‑Class Labels
149
 
@@ -152,20 +152,20 @@ Original labels vary widely (suicide vs non, multiple disorders, control). They
152
  - **Suicidal** – Posts explicitly labeled as suicide / suicidal ideation.
153
  - **Depression** – Posts labeled as depression / depressed.
154
  - **Anxiety** – Posts labeled with anxiety‑related categories.
155
- - **Normal** – Control / non‑suicide / normal posts.[web:69][file:64][file:65]
156
 
157
- Samples whose labels cannot be clearly mapped (e.g., stress, bipolar, personality disorder, PTSD, mixed or ambiguous labels) are **discarded** to keep the final label space clean.[web:69][file:65]
158
 
159
  ### Splits and Balance
160
 
161
- - The **main training file** (`mental_heath_unbanlanced.csv`) preserves the **natural class imbalance** after cleaning and mapping.[file:91]
162
  - The **balanced test file** (`mental_health_combined_test.csv`) is created by:
163
  - Building a held‑out pool from the sources.
164
  - Applying the same cleaning and label mapping.
165
  - Removing duplicates.
166
- - **Downsampling each class to 248 samples** for a total of 992 rows.[file:91]
167
 
168
- The feature‑engineered file is generated from the cleaned sentiment subset by adding the numerical text features listed above.[file:92][web:98]
169
 
170
  ---
171
 
@@ -175,7 +175,7 @@ The feature‑engineered file is generated from the cleaned sentiment subset by
175
 
176
  - Research and teaching on **mental‑health‑related text classification**.
177
  - Benchmarking binary or multi‑class classifiers (especially 4‑class).
178
- - Studying the impact of **class imbalance**, basic feature engineering, and model robustness on noisy social‑media text.[web:93][web:100]
179
 
180
  Typical tasks:
181
 
@@ -187,16 +187,16 @@ Typical tasks:
187
 
188
  - Clinical decision‑making, diagnosis, or risk assessment.
189
  - Any deployment that might influence real‑world medical, therapeutic, or crisis‑intervention workflows.
190
- - Individual‑level profiling, surveillance, or moderation without appropriate human review and safeguards.[web:89]
191
 
192
  ---
193
 
194
  ## Ethical Considerations and Limitations
195
 
196
- - **Non‑clinical labels:** Labels are derived from subreddit context and dataset creators’ heuristics, not formal diagnoses by clinicians.[web:24][web:69][web:54]
197
- - **Domain bias:** Content is mostly from Reddit and similar platforms; models may not generalize to clinical notes, private messages, or other domains.[web:24][web:69][web:54]
198
- - **Demographic unknowns:** There is no reliable demographic metadata; potential demographic, cultural, or linguistic biases cannot be quantified.[web:70]
199
- - **No guarantee of harm‑free samples:** Text may contain distressing content, including mentions of self‑harm or suicide; users should handle and share it with care, especially in teaching settings.[web:24][web:69]
200
 
201
  Users are encouraged to:
202
 
@@ -213,14 +213,14 @@ Please cite the **original datasets** and this derived dataset.
213
  **Original datasets**
214
 
215
  - Komati, N. *Suicide and Depression Detection* \[Dataset\]. Kaggle.
216
- https://www.kaggle.com/datasets/nikhileswarkomati/suicide-watch[web:24]
217
 
218
  - Sarkar, S. *Sentiment Analysis for Mental Health* \[Dataset\]. Kaggle.
219
- https://www.kaggle.com/datasets/suchintikasarkar/sentiment-analysis-for-mental-health[web:72]
220
 
221
  - Murarka, A., Radhakrishnan, B., & Ravichandran, S. (2021). *Detection and Classification of Mental Illnesses on Social Media using RoBERTa* \[Dataset and code\]. GitHub.
222
- https://github.com/amurark/mental-health-detection[web:54][web:58]
223
 
224
  **This derived dataset**
225
 
226
- > Mukherjjee, P. (2025). *Mental Health Text Classification Dataset (4‑Class)* \[Dataset\]. Hugging Face Hub. `https://huggingface.co/datasets/your-username/Mental-Health_Text-Classification_Dataset`.[file:64]
 
32
 
33
  ## Dataset Description
34
 
35
+ This dataset contains short, user‑generated texts labeled for **4‑class mental health classification**: **Suicidal**, **Depression**, **Anxiety**, and **Normal**. It is a **derived dataset** created by combining and cleaning three public mental‑health corpora, then re‑labeling them into a unified 4‑class scheme and exporting CSV files suitable for both classical ML and modern NLP models.
36
 
37
  The repository includes:
38
 
39
  - An **unbalanced main training corpus** (realistic class skew).
40
  - A **strictly balanced test split** for fair evaluation.
41
+ - A **feature‑engineered file** with basic text statistics (length, URLs, emojis, punctuation, etc.).
42
 
43
+ > **Important:** This dataset is intended for **research and education only**. It is not a clinical tool and must not be used for real‑world diagnosis, triage, or crisis intervention.
44
 
45
  ---
46
 
 
49
  ### Files
50
 
51
  1. **`mental_heath_unbanlanced.csv`**
52
+ - Main training corpus with **48,945 samples** and a realistic, unbalanced class distribution (Normal, Depression, Suicidal, Anxiety).
53
  - Columns:
54
  - `text` – Cleaned post or statement text.
55
+ - `status` – Final label in {`Suicidal`, `Depression`, `Anxiety`, `Normal`}.
56
 
57
  2. **`mental_health_combined_test.csv`**
58
+ - **Balanced test split** with **992 samples** (exactly **248 per class**).
59
  - Columns:
60
  - `text` – Cleaned post.
61
  - `status` – Final 4‑class label.
62
  - Built by combining held‑out data from the sources, applying the same cleaning and label mapping, removing duplicates, and **downsampling each class to equal size** for fair evaluation.[file:91]
63
 
64
  3. **`mental_health_feature_engineered.csv`**
65
+ - Cleaned and **feature‑engineered** subset for classical models and analysis.
66
  - Columns:
67
  - Core: `Unique_ID`, `text`, `status` (4‑class label).
68
  - Features:
 
72
  - `num_emojis` – Count of emoji characters.
73
  - `num_special_chars` – Count of non‑alphanumeric characters.
74
  - `num_excess_punct` – Count of repeated punctuation sequences (e.g., `!!!`, `???`, `...`).
75
+ - `avg_word_length` – Average characters per word.
76
 
77
  ### Splits
78
 
 
119
 
120
  - **Suicide and Depression Detection (Kaggle)** – Nikhileswar Komati
121
  Reddit posts from suicide‑related communities labeled as suicidal vs non‑suicidal / depression vs control.
122
+ https://www.kaggle.com/datasets/nikhileswarkomati/suicide-watch
123
 
124
  - **Sentiment Analysis for Mental Health (Kaggle)** – Suchintika Sarkar
125
  Short statements labeled as normal, depression, suicide, anxiety, stress, bipolarity, personality disorder, etc.
126
+ https://www.kaggle.com/datasets/suchintikasarkar/sentiment-analysis-for-mental-health
127
 
128
  - **Reddit Mental Health Classification (Murarka et al.)**
129
  Dataset released with *“Detection and Classification of Mental Illnesses on Social Media using RoBERTa.”*
130
  Reddit posts labeled into ADHD, Anxiety, Bipolar, Depression, PTSD, and None.
131
+ https://github.com/amurark/mental-health-detection
132
 
133
+ Only the **processed, relabeled, and re‑split** samples are redistributed here. Users must obtain the original raw data from the links above if needed.
134
 
135
  ---
136
 
 
138
 
139
  ### Cleaning
140
 
141
+ All source datasets are passed through a common cleaning pipeline:
142
 
143
  - Drop rows with missing `text` or labels (`status`).
144
  - Deduplicate texts across and within sources.
145
  - Apply regex‑based text normalization (whitespace cleanup, formatting fixes).
146
+ - Filter out extremely short and excessively long texts to remove non‑informative samples.
147
 
148
  ### Unified 4‑Class Labels
149
 
 
152
  - **Suicidal** – Posts explicitly labeled as suicide / suicidal ideation.
153
  - **Depression** – Posts labeled as depression / depressed.
154
  - **Anxiety** – Posts labeled with anxiety‑related categories.
155
+ - **Normal** – Control / non‑suicide / normal posts.
156
 
157
+ Samples whose labels cannot be clearly mapped (e.g., stress, bipolar, personality disorder, PTSD, mixed or ambiguous labels) are **discarded** to keep the final label space clean.
158
 
159
  ### Splits and Balance
160
 
161
+ - The **main training file** (`mental_heath_unbanlanced.csv`) preserves the **natural class imbalance** after cleaning and mapping.
162
  - The **balanced test file** (`mental_health_combined_test.csv`) is created by:
163
  - Building a held‑out pool from the sources.
164
  - Applying the same cleaning and label mapping.
165
  - Removing duplicates.
166
+ - **Downsampling each class to 248 samples** for a total of 992 rows.
167
 
168
+ The feature‑engineered file is generated from the cleaned sentiment subset by adding the numerical text features listed above.
169
 
170
  ---
171
 
 
175
 
176
  - Research and teaching on **mental‑health‑related text classification**.
177
  - Benchmarking binary or multi‑class classifiers (especially 4‑class).
178
+ - Studying the impact of **class imbalance**, basic feature engineering, and model robustness on noisy social‑media text.
179
 
180
  Typical tasks:
181
 
 
187
 
188
  - Clinical decision‑making, diagnosis, or risk assessment.
189
  - Any deployment that might influence real‑world medical, therapeutic, or crisis‑intervention workflows.
190
+ - Individual‑level profiling, surveillance, or moderation without appropriate human review and safeguards.
191
 
192
  ---
193
 
194
  ## Ethical Considerations and Limitations
195
 
196
+ - **Non‑clinical labels:** Labels are derived from subreddit context and dataset creators’ heuristics, not formal diagnoses by clinicians.
197
+ - **Domain bias:** Content is mostly from Reddit and similar platforms; models may not generalize to clinical notes, private messages, or other domains.
198
+ - **Demographic unknowns:** There is no reliable demographic metadata; potential demographic, cultural, or linguistic biases cannot be quantified.
199
+ - **No guarantee of harm‑free samples:** Text may contain distressing content, including mentions of self‑harm or suicide; users should handle and share it with care, especially in teaching settings.
200
 
201
  Users are encouraged to:
202
 
 
213
  **Original datasets**
214
 
215
  - Komati, N. *Suicide and Depression Detection* \[Dataset\]. Kaggle.
216
+ https://www.kaggle.com/datasets/nikhileswarkomati/suicide-watch
217
 
218
  - Sarkar, S. *Sentiment Analysis for Mental Health* \[Dataset\]. Kaggle.
219
+ https://www.kaggle.com/datasets/suchintikasarkar/sentiment-analysis-for-mental-health
220
 
221
  - Murarka, A., Radhakrishnan, B., & Ravichandran, S. (2021). *Detection and Classification of Mental Illnesses on Social Media using RoBERTa* \[Dataset and code\]. GitHub.
222
+ https://github.com/amurark/mental-health-detection
223
 
224
  **This derived dataset**
225
 
226
+ > Mukherjee, P. (2025). *Mental Health Text Classification Dataset (4‑Class)* \[Dataset\]. Hugging Face Hub. `https://huggingface.co/datasets/your-username/Mental-Health_Text-Classification_Dataset`.