Paco Valdez commited on
Commit
e9e8030
1 Parent(s): 82c1eb8
README.md CHANGED
@@ -1,3 +1,102 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:732ad687331e7a5382b04e359ae44426be80eed6cea64bcbb9d85d4dac49440b
3
+ size 96113426
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:8f83a413b92142192c17c02c583723902a5f28841bfc4f023747c2326ee632e1
3
+ size 96170358
data/post_questions_validation/post_questions_validation_000000000000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b12234deacceb28ad2a36540bb5b96b1a0f4cc1e20cc61854bfe6c9a9e5a3ad7
3
+ size 47861279