Datasets:
Sub-tasks:
multi-class-classification
Languages:
English
Size:
1K<n<10K
Tags:
natural-language-understanding
ideology classification
text classification
natural language processing
License:
EricR401S
commited on
Commit
·
3ab98e8
1
Parent(s):
bc33cd2
checking nan for colab
Browse files- Pill_Ideologies-Post_Titles.py +1 -0
- README.md +6 -2
Pill_Ideologies-Post_Titles.py
CHANGED
@@ -166,6 +166,7 @@ class SubRedditPosts(datasets.GeneratorBasedBuilder):
|
|
166 |
urls = _URLS[self.config.name]
|
167 |
data_dir = dl_manager.download_and_extract(urls)
|
168 |
data = pd.read_csv(data_dir)
|
|
|
169 |
|
170 |
# make splits
|
171 |
train, test = train_test_split(
|
|
|
166 |
urls = _URLS[self.config.name]
|
167 |
data_dir = dl_manager.download_and_extract(urls)
|
168 |
data = pd.read_csv(data_dir)
|
169 |
+
data.fillna("NAN -Nothing found", inplace=True)
|
170 |
|
171 |
# make splits
|
172 |
train, test = train_test_split(
|
README.md
CHANGED
@@ -161,11 +161,15 @@ The groups of Feminism and Forever Alone Women were added as a juxtaposition aga
|
|
161 |
|
162 |
<!-- Provide the basic links for the dataset. -->
|
163 |
|
164 |
-
- **Repository:** [
|
165 |
|
166 |
## Uses
|
167 |
|
168 |
-
The main usage of this dataset is to study linguistic patterns. Running models and detecting word usage per groups, as well as overlaps across groups
|
|
|
|
|
|
|
|
|
169 |
|
170 |
### Direct Use
|
171 |
|
|
|
161 |
|
162 |
<!-- Provide the basic links for the dataset. -->
|
163 |
|
164 |
+
- **Repository:** [https://huggingface.co/datasets/steamcyclone/Pill_Ideologies-Post_Titles]
|
165 |
|
166 |
## Uses
|
167 |
|
168 |
+
The main usage of this dataset is to study linguistic patterns. Running models and detecting word usage per groups, as well as overlaps across groups, are ideal uses for this dataset. With the rise of the loneliness epidemic, any insights that come from this are welcome.
|
169 |
+
|
170 |
+
Here is an example analysis notebook showing what can be done with this type of data.
|
171 |
+
|
172 |
+
Example : []
|
173 |
|
174 |
### Direct Use
|
175 |
|