Paco Valdez commited on
Commit
817e139
1 Parent(s): 89da012
Files changed (42) hide show
  1. README.md +102 -0
  2. data/post_questions_test/post_questions_test_000000000000.parquet +3 -0
  3. data/post_questions_test/post_questions_test_000000000001.parquet +3 -0
  4. data/post_questions_test/post_questions_test_000000000002.parquet +3 -0
  5. data/post_questions_test/post_questions_test_000000000003.parquet +3 -0
  6. data/post_questions_test/post_questions_test_000000000004.parquet +3 -0
  7. data/post_questions_test/post_questions_test_000000000005.parquet +3 -0
  8. data/post_questions_test/post_questions_test_000000000006.parquet +3 -0
  9. data/post_questions_test/post_questions_test_000000000007.parquet +3 -0
  10. data/post_questions_test/post_questions_test_000000000008.parquet +3 -0
  11. data/post_questions_test/post_questions_test_000000000009.parquet +3 -0
  12. data/post_questions_test/post_questions_test_000000000010.parquet +3 -0
  13. data/post_questions_test/post_questions_test_000000000011.parquet +3 -0
  14. data/post_questions_test/post_questions_test_000000000012.parquet +3 -0
  15. data/post_questions_test/post_questions_test_000000000013.parquet +3 -0
  16. data/post_questions_test/post_questions_test_000000000014.parquet +3 -0
  17. data/post_questions_test/post_questions_test_000000000015.parquet +3 -0
  18. data/post_questions_test/post_questions_test_000000000016.parquet +3 -0
  19. data/post_questions_test/post_questions_test_000000000017.parquet +3 -0
  20. data/post_questions_test/post_questions_test_000000000018.parquet +3 -0
  21. data/post_questions_train/post_questions_train_000000000000.parquet +3 -0
  22. data/post_questions_train/post_questions_train_000000000001.parquet +3 -0
  23. data/post_questions_train/post_questions_train_000000000002.parquet +3 -0
  24. data/post_questions_train/post_questions_train_000000000003.parquet +3 -0
  25. data/post_questions_train/post_questions_train_000000000004.parquet +3 -0
  26. data/post_questions_train/post_questions_train_000000000005.parquet +3 -0
  27. data/post_questions_train/post_questions_train_000000000006.parquet +3 -0
  28. data/post_questions_train/post_questions_train_000000000007.parquet +3 -0
  29. data/post_questions_train/post_questions_train_000000000008.parquet +3 -0
  30. data/post_questions_train/post_questions_train_000000000009.parquet +3 -0
  31. data/post_questions_train/post_questions_train_000000000010.parquet +3 -0
  32. data/post_questions_train/post_questions_train_000000000011.parquet +3 -0
  33. data/post_questions_train/post_questions_train_000000000012.parquet +3 -0
  34. data/post_questions_train/post_questions_train_000000000013.parquet +3 -0
  35. data/post_questions_train/post_questions_train_000000000014.parquet +3 -0
  36. data/post_questions_train/post_questions_train_000000000015.parquet +3 -0
  37. data/post_questions_train/post_questions_train_000000000016.parquet +3 -0
  38. data/post_questions_train/post_questions_train_000000000017.parquet +3 -0
  39. data/post_questions_train/post_questions_train_000000000018.parquet +3 -0
  40. data/post_questions_validate/post_questions_validate_000000000000.parquet +3 -0
  41. data/post_questions_validate/post_questions_validate_000000000001.parquet +3 -0
  42. data/post_questions_validate/post_questions_validate_000000000002.parquet +3 -0
README.md ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - machine-generated
4
+ language:
5
+ - en
6
+ language_creators:
7
+ - found
8
+ license:
9
+ - apache-2.0
10
+ multilinguality:
11
+ - monolingual
12
+ pretty_name: stackoverflow_post_questions
13
+ size_categories:
14
+ - 1M<n<10M
15
+ source_datasets:
16
+ - original
17
+ tags:
18
+ - stackoverflow
19
+ - technical questions
20
+ task_categories:
21
+ - text-classification
22
+ task_ids:
23
+ - multi-class-classification
24
+ ---
25
+
26
+ # Dataset Card for [Stackoverflow Post Questions]
27
+
28
+ ## Table of Contents
29
+ - [Table of Contents](#table-of-contents)
30
+ - [Dataset Description](#dataset-description)
31
+ - [Dataset Summary](#dataset-summary)
32
+ - [Languages](#languages)
33
+ - [Dataset Structure](#dataset-structure)
34
+ - [Data Splits](#data-splits)
35
+ - [Dataset Creation](#dataset-creation)
36
+ - [Source Data](#source-data)
37
+ - [Contributions](#contributions)
38
+
39
+ ## Dataset Description
40
+
41
+ Companies that sell Open-source software tools usually hire an army of Customer representatives to try to answer every question asked about their tool. The first step in this process
42
+ is the prioritization of the question. The classification scale usually consists of 4 values, P0, P1, P2, and P3, with different meanings across every participant in the industry. On
43
+ the other hand, every software developer in the world has dealt with Stack Overflow (SO); the amount of shared knowledge there is incomparable to any other website. Questions in SO are
44
+ usually annotated and curated by thousands of people, providing metadata about the quality of the question. This dataset aims to provide an accurate prioritization for programming
45
+ questions.
46
+
47
+
48
+ ### Dataset Summary
49
+
50
+ The dataset contains the title and body of stackoverflow questions and a label value(0,1,2,3) that was calculated using thresholds defined by SO badges.
51
+
52
+ ### Languages
53
+
54
+ English
55
+
56
+ ## Dataset Structure
57
+
58
+ title: string,
59
+ body: string,
60
+ label: int
61
+
62
+ ### Data Splits
63
+
64
+ The split is 40/40/20, where classes have been balaned to be around the same size.
65
+
66
+ ## Dataset Creation
67
+
68
+ The data set was extracted and labeled with the following query in BigQuery:
69
+
70
+ ```
71
+ SELECT
72
+ title,
73
+ body,
74
+ CASE
75
+ WHEN score >= 100 OR favorite_count >= 100 OR view_count >= 10000 THEN 0
76
+ WHEN score >= 25 OR favorite_count >= 25 OR view_count >= 2500 THEN 1
77
+ WHEN score >= 10 OR favorite_count >= 10 OR view_count >= 1000 THEN 2
78
+ ELSE 3
79
+ END AS label
80
+ FROM `bigquery-public-data`.stackoverflow.posts_questions
81
+ ```
82
+
83
+ ### Source Data
84
+
85
+ The data was extracted from the Big Query public dataset: `bigquery-public-data.stackoverflow.posts_questions`
86
+
87
+ #### Initial Data Collection and Normalization
88
+
89
+ The original dataset contained high class imbalance:
90
+
91
+ label count
92
+ 0 977424
93
+ 1 2401534
94
+ 2 3418179
95
+ 3 16222990
96
+ Grand Total 23020127
97
+
98
+ The data was sampled from each class to have around the same amount of records on every class.
99
+
100
+ ### Contributions
101
+
102
+ Thanks to [@pacofvf](https://github.com/pacofvf) for adding this dataset.
data/post_questions_test/post_questions_test_000000000000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2a360c9ac055f9a6e7cbf4dc6ef8118d0c9b4a9fcc2f6d7667d925a94d288fb
3
+ size 41803925
data/post_questions_test/post_questions_test_000000000001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d54bf4e61a7185d041f56c71eb27d740f6339a3d89433cf39c964fd856aeb4f
3
+ size 41273466
data/post_questions_test/post_questions_test_000000000002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b43e731e9a1be1f9292227748be1b513a14b3caa16a6e3a58fd8180ca92aa3cb
3
+ size 42090276
data/post_questions_test/post_questions_test_000000000003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc8f3bd666216bbfb8d033cd81e7d38eedd81ceee2abca2729a1b38efa4cda00
3
+ size 41579720
data/post_questions_test/post_questions_test_000000000004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec6fd061fd974a23246a2fe6d5b7837de70f035977a31ae83d80221a602c9d6f
3
+ size 41705343
data/post_questions_test/post_questions_test_000000000005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db2e2c01df63151af47ec58b7591e819dd5af4fddfee5c9e9039bbb5252da6df
3
+ size 41887667
data/post_questions_test/post_questions_test_000000000006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e79ad453adbf6808868dacdb84b52515c22ae21a409a15089c5d0e44203b3f01
3
+ size 41952921
data/post_questions_test/post_questions_test_000000000007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:380b3a0f4c59f7bb30ef3f16c5c5228835546f473333aa4fe2049f387effd6e5
3
+ size 41666299
data/post_questions_test/post_questions_test_000000000008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7abe2706073228ed931a1524eea57eaa2c6f788d5b4bdad5ec2565e31df42b0d
3
+ size 41924649
data/post_questions_test/post_questions_test_000000000009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e263c318d5fe1c45bc411f74a65849096ff3ff8c8c6a71fe30185b9fa4d1b45d
3
+ size 41853801
data/post_questions_test/post_questions_test_000000000010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cf7d7ef79fa3c1f0eeadf19af297a6d54f9ae5f74a37647b208c9b48344f8a0
3
+ size 41802961
data/post_questions_test/post_questions_test_000000000011.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf956fcfad7a9c48633826c0575cff69531c31d32704f8c7ac95b057db8072c1
3
+ size 41980512
data/post_questions_test/post_questions_test_000000000012.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da3de506ca3855a229d6942d97827ce3b95630e915af5f269ffbdda1d2dc1682
3
+ size 41452689
data/post_questions_test/post_questions_test_000000000013.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eac61a5961174d908f7ed2a54c07bce5409b4e04d95a4256369d9faa948a31a2
3
+ size 42019377
data/post_questions_test/post_questions_test_000000000014.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0071c3daa85c26894001a99b34c91ed6320abeb068e80917e11f01f60dbb704
3
+ size 42073828
data/post_questions_test/post_questions_test_000000000015.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21004e933d0310db9114a159b1069599e4b6472b5ec741f2138ed46faf3d41fb
3
+ size 41534590
data/post_questions_test/post_questions_test_000000000016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:571d250ea895807e23d774c6b80fc9e9013bcb44d71f447acefb1033a0e9c497
3
+ size 42022346
data/post_questions_test/post_questions_test_000000000017.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4263efe5f91d80491adae0a49207d48c06dbeae8397205c41aa90c0fbf570654
3
+ size 41776020
data/post_questions_test/post_questions_test_000000000018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcf3e68340413f6bf6adab9a41189d7aa72ca96ebe8f680e62533605a06e21a1
3
+ size 41581635
data/post_questions_train/post_questions_train_000000000000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c99cc46853e73030d4c0ef7173ed535fffec056ff906b85403b1e0694d53314b
3
+ size 41305442
data/post_questions_train/post_questions_train_000000000001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd08a36417d3f1d1b9fe31ca71051ebd75a00cc715938f82707b3bc230e0fe6b
3
+ size 41848898
data/post_questions_train/post_questions_train_000000000002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b19c69cea542560c4f1a68162a89062812bb941465f57bbdbfdc16ae60fe7106
3
+ size 42084785
data/post_questions_train/post_questions_train_000000000003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76ded7aaca97435ceab903c9163bdd8e80a8b11f522cf15b817759a429364d4f
3
+ size 41611854
data/post_questions_train/post_questions_train_000000000004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f467a7704fc964a23f7081ba95546f83851cfe4f761b02490ea20ed91a62c2a
3
+ size 42082931
data/post_questions_train/post_questions_train_000000000005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59d32c0d0d577d6cb672649331d86c8041c791449deabe29bfd48a6c5bbf9e18
3
+ size 41894570
data/post_questions_train/post_questions_train_000000000006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:641e982dac35e85140e4838fb94a4d963f2ae4d4ccb3105f84bfdb12d0a96256
3
+ size 41669238
data/post_questions_train/post_questions_train_000000000007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bf21e4972459d065029ac68fa23887949211575a561e2efbd9eb4ed724dbe56
3
+ size 42095738
data/post_questions_train/post_questions_train_000000000008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bd907de0502f9d611e05e91afc613833e17fc2c2dffcf19f0aac7e0a10d866e
3
+ size 41840314
data/post_questions_train/post_questions_train_000000000009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be85915c43920a7f7e01f48b6aa4ffe918451ca9392a38869adf32d398bd01fa
3
+ size 41954989
data/post_questions_train/post_questions_train_000000000010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be3a712c2b223fef489d6de6dc92315041b12eca4977899ed31702dc78c840be
3
+ size 41880340
data/post_questions_train/post_questions_train_000000000011.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2574c34ba21910c742ddf0b355fedf96a2e75aa28a5dbf9ebd4fd4ebe066d861
3
+ size 41661131
data/post_questions_train/post_questions_train_000000000012.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b655ed7bf0a75609699557f071cdafbe25a918600941f8146e0723d6cb9fc7f
3
+ size 41887487
data/post_questions_train/post_questions_train_000000000013.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:751cb7ad3b432fb47dbc37064a9cd54033f89ed53df3ee5992a955ed47537e62
3
+ size 41897506
data/post_questions_train/post_questions_train_000000000014.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a27bc5fbec77bbadc25847bed4b85106c7ed16fefd5935f4c94066a3be10d9d1
3
+ size 41701577
data/post_questions_train/post_questions_train_000000000015.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c53937e31cb55cdd8a248162189519efdb9f71a0678f80fa21a689d111ff100
3
+ size 42261364
data/post_questions_train/post_questions_train_000000000016.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a504d56c0e03cd3617766a5fb35fd1498beba3b250674462d6b8ec75c6a730dd
3
+ size 42040082
data/post_questions_train/post_questions_train_000000000017.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c53fd9e86763c9140f5e0ccdb794a81ca9e321cadbb7cf5ec516b7ae020998e2
3
+ size 41958299
data/post_questions_train/post_questions_train_000000000018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d57235a9b39ef0080300a17dfba5edd58e3d0fedecdac76fb5cabec2182985fc
3
+ size 41761246
data/post_questions_validate/post_questions_validate_000000000000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84444bb4e558a26d2fdc05b06bfb50436ce98d5637b2037ae5cf0fa139561175
3
+ size 131939239
data/post_questions_validate/post_questions_validate_000000000001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bc7916b408e001f612e164f9b54ab3c91595dcc23886669febe5f2904b1be29
3
+ size 131928710
data/post_questions_validate/post_questions_validate_000000000002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c001e05f8f5b8b0b84e718b6cd363b9034d11d635400c35462e79a8cac098f85
3
+ size 132632161