kotstantinovskii commited on
Commit
0b5d8d1
·
1 Parent(s): 508d49a

Upload lables.py

Browse files
Files changed (1) hide show
  1. lables.py +348 -0
lables.py ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ num_to_classes = {
2
+ 0: 'acc-phys',
3
+ 1: 'adap-org',
4
+ 2: 'alg-geom',
5
+ 3: 'ao-sci',
6
+ 4: 'astro-ph',
7
+ 5: 'astro-ph.CO',
8
+ 6: 'astro-ph.EP',
9
+ 7: 'astro-ph.GA',
10
+ 8: 'astro-ph.HE',
11
+ 9: 'astro-ph.IM',
12
+ 10: 'astro-ph.SR',
13
+ 11: 'atom-ph',
14
+ 12: 'bayes-an',
15
+ 13: 'chao-dyn',
16
+ 14: 'chem-ph',
17
+ 15: 'cmp-lg',
18
+ 16: 'comp-gas',
19
+ 17: 'cond-mat',
20
+ 18: 'cond-mat.dis-nn',
21
+ 19: 'cond-mat.mes-hall',
22
+ 20: 'cond-mat.mtrl-sci',
23
+ 21: 'cond-mat.other',
24
+ 22: 'cond-mat.quant-gas',
25
+ 23: 'cond-mat.soft',
26
+ 24: 'cond-mat.stat-mech',
27
+ 25: 'cond-mat.str-el',
28
+ 26: 'cond-mat.supr-con',
29
+ 27: 'cs.AI',
30
+ 28: 'cs.AR',
31
+ 29: 'cs.CC',
32
+ 30: 'cs.CE',
33
+ 31: 'cs.CG',
34
+ 32: 'cs.CL',
35
+ 33: 'cs.CR',
36
+ 34: 'cs.CV',
37
+ 35: 'cs.CY',
38
+ 36: 'cs.DB',
39
+ 37: 'cs.DC',
40
+ 38: 'cs.DL',
41
+ 39: 'cs.DM',
42
+ 40: 'cs.DS',
43
+ 41: 'cs.ET',
44
+ 42: 'cs.FL',
45
+ 43: 'cs.GL',
46
+ 44: 'cs.GR',
47
+ 45: 'cs.GT',
48
+ 46: 'cs.HC',
49
+ 47: 'cs.IR',
50
+ 48: 'cs.IT',
51
+ 49: 'cs.LG',
52
+ 50: 'cs.LO',
53
+ 51: 'cs.MA',
54
+ 52: 'cs.MM',
55
+ 53: 'cs.MS',
56
+ 54: 'cs.NA',
57
+ 55: 'cs.NE',
58
+ 56: 'cs.NI',
59
+ 57: 'cs.OH',
60
+ 58: 'cs.OS',
61
+ 59: 'cs.PF',
62
+ 60: 'cs.PL',
63
+ 61: 'cs.RO',
64
+ 62: 'cs.SC',
65
+ 63: 'cs.SD',
66
+ 64: 'cs.SE',
67
+ 65: 'cs.SI',
68
+ 66: 'cs.SY',
69
+ 67: 'dg-ga',
70
+ 68: 'econ.EM',
71
+ 69: 'econ.GN',
72
+ 70: 'econ.TH',
73
+ 71: 'eess.AS',
74
+ 72: 'eess.IV',
75
+ 73: 'eess.SP',
76
+ 74: 'eess.SY',
77
+ 75: 'funct-an',
78
+ 76: 'gr-qc',
79
+ 77: 'hep-ex',
80
+ 78: 'hep-lat',
81
+ 79: 'hep-ph',
82
+ 80: 'hep-th',
83
+ 81: 'math-ph',
84
+ 82: 'math.AC',
85
+ 83: 'math.AG',
86
+ 84: 'math.AP',
87
+ 85: 'math.AT',
88
+ 86: 'math.CA',
89
+ 87: 'math.CO',
90
+ 88: 'math.CT',
91
+ 89: 'math.CV',
92
+ 90: 'math.DG',
93
+ 91: 'math.DS',
94
+ 92: 'math.FA',
95
+ 93: 'math.GM',
96
+ 94: 'math.GN',
97
+ 95: 'math.GR',
98
+ 96: 'math.GT',
99
+ 97: 'math.HO',
100
+ 98: 'math.KT',
101
+ 99: 'math.LO',
102
+ 100: 'math.MG',
103
+ 101: 'math.NA',
104
+ 102: 'math.NT',
105
+ 103: 'math.OA',
106
+ 104: 'math.OC',
107
+ 105: 'math.PR',
108
+ 106: 'math.QA',
109
+ 107: 'math.RA',
110
+ 108: 'math.RT',
111
+ 109: 'math.SG',
112
+ 110: 'math.SP',
113
+ 111: 'math.ST',
114
+ 112: 'mtrl-th',
115
+ 113: 'nlin.AO',
116
+ 114: 'nlin.CD',
117
+ 115: 'nlin.CG',
118
+ 116: 'nlin.PS',
119
+ 117: 'nlin.SI',
120
+ 118: 'nucl-ex',
121
+ 119: 'nucl-th',
122
+ 120: 'patt-sol',
123
+ 121: 'physics.acc-ph',
124
+ 122: 'physics.ao-ph',
125
+ 123: 'physics.app-ph',
126
+ 124: 'physics.atm-clus',
127
+ 125: 'physics.atom-ph',
128
+ 126: 'physics.bio-ph',
129
+ 127: 'physics.chem-ph',
130
+ 128: 'physics.class-ph',
131
+ 129: 'physics.comp-ph',
132
+ 130: 'physics.data-an',
133
+ 131: 'physics.ed-ph',
134
+ 132: 'physics.flu-dyn',
135
+ 133: 'physics.gen-ph',
136
+ 134: 'physics.geo-ph',
137
+ 135: 'physics.hist-ph',
138
+ 136: 'physics.ins-det',
139
+ 137: 'physics.med-ph',
140
+ 138: 'physics.optics',
141
+ 139: 'physics.plasm-ph',
142
+ 140: 'physics.pop-ph',
143
+ 141: 'physics.soc-ph',
144
+ 142: 'physics.space-ph',
145
+ 143: 'plasm-ph',
146
+ 144: 'q-alg',
147
+ 145: 'q-bio.BM',
148
+ 146: 'q-bio.CB',
149
+ 147: 'q-bio.GN',
150
+ 148: 'q-bio.MN',
151
+ 149: 'q-bio.NC',
152
+ 150: 'q-bio.OT',
153
+ 151: 'q-bio.PE',
154
+ 152: 'q-bio.QM',
155
+ 153: 'q-bio.SC',
156
+ 154: 'q-bio.TO',
157
+ 155: 'q-fin.CP',
158
+ 156: 'q-fin.EC',
159
+ 157: 'q-fin.GN',
160
+ 158: 'q-fin.MF',
161
+ 159: 'q-fin.PM',
162
+ 160: 'q-fin.PR',
163
+ 161: 'q-fin.RM',
164
+ 162: 'q-fin.ST',
165
+ 163: 'q-fin.TR',
166
+ 164: 'quant-ph',
167
+ 165: 'solv-int',
168
+ 166: 'stat.AP',
169
+ 167: 'stat.CO',
170
+ 168: 'stat.ME',
171
+ 169: 'stat.ML',
172
+ 170: 'stat.OT',
173
+ 171: 'supr-con'}
174
+
175
+ classes_to_num = {
176
+ 'acc-phys': 0,
177
+ 'adap-org': 1,
178
+ 'alg-geom': 2,
179
+ 'ao-sci': 3,
180
+ 'astro-ph': 4,
181
+ 'astro-ph.CO': 5,
182
+ 'astro-ph.EP': 6,
183
+ 'astro-ph.GA': 7,
184
+ 'astro-ph.HE': 8,
185
+ 'astro-ph.IM': 9,
186
+ 'astro-ph.SR': 10,
187
+ 'atom-ph': 11,
188
+ 'bayes-an': 12,
189
+ 'chao-dyn': 13,
190
+ 'chem-ph': 14,
191
+ 'cmp-lg': 15,
192
+ 'comp-gas': 16,
193
+ 'cond-mat': 17,
194
+ 'cond-mat.dis-nn': 18,
195
+ 'cond-mat.mes-hall': 19,
196
+ 'cond-mat.mtrl-sci': 20,
197
+ 'cond-mat.other': 21,
198
+ 'cond-mat.quant-gas': 22,
199
+ 'cond-mat.soft': 23,
200
+ 'cond-mat.stat-mech': 24,
201
+ 'cond-mat.str-el': 25,
202
+ 'cond-mat.supr-con': 26,
203
+ 'cs.AI': 27,
204
+ 'cs.AR': 28,
205
+ 'cs.CC': 29,
206
+ 'cs.CE': 30,
207
+ 'cs.CG': 31,
208
+ 'cs.CL': 32,
209
+ 'cs.CR': 33,
210
+ 'cs.CV': 34,
211
+ 'cs.CY': 35,
212
+ 'cs.DB': 36,
213
+ 'cs.DC': 37,
214
+ 'cs.DL': 38,
215
+ 'cs.DM': 39,
216
+ 'cs.DS': 40,
217
+ 'cs.ET': 41,
218
+ 'cs.FL': 42,
219
+ 'cs.GL': 43,
220
+ 'cs.GR': 44,
221
+ 'cs.GT': 45,
222
+ 'cs.HC': 46,
223
+ 'cs.IR': 47,
224
+ 'cs.IT': 48,
225
+ 'cs.LG': 49,
226
+ 'cs.LO': 50,
227
+ 'cs.MA': 51,
228
+ 'cs.MM': 52,
229
+ 'cs.MS': 53,
230
+ 'cs.NA': 54,
231
+ 'cs.NE': 55,
232
+ 'cs.NI': 56,
233
+ 'cs.OH': 57,
234
+ 'cs.OS': 58,
235
+ 'cs.PF': 59,
236
+ 'cs.PL': 60,
237
+ 'cs.RO': 61,
238
+ 'cs.SC': 62,
239
+ 'cs.SD': 63,
240
+ 'cs.SE': 64,
241
+ 'cs.SI': 65,
242
+ 'cs.SY': 66,
243
+ 'dg-ga': 67,
244
+ 'econ.EM': 68,
245
+ 'econ.GN': 69,
246
+ 'econ.TH': 70,
247
+ 'eess.AS': 71,
248
+ 'eess.IV': 72,
249
+ 'eess.SP': 73,
250
+ 'eess.SY': 74,
251
+ 'funct-an': 75,
252
+ 'gr-qc': 76,
253
+ 'hep-ex': 77,
254
+ 'hep-lat': 78,
255
+ 'hep-ph': 79,
256
+ 'hep-th': 80,
257
+ 'math-ph': 81,
258
+ 'math.AC': 82,
259
+ 'math.AG': 83,
260
+ 'math.AP': 84,
261
+ 'math.AT': 85,
262
+ 'math.CA': 86,
263
+ 'math.CO': 87,
264
+ 'math.CT': 88,
265
+ 'math.CV': 89,
266
+ 'math.DG': 90,
267
+ 'math.DS': 91,
268
+ 'math.FA': 92,
269
+ 'math.GM': 93,
270
+ 'math.GN': 94,
271
+ 'math.GR': 95,
272
+ 'math.GT': 96,
273
+ 'math.HO': 97,
274
+ 'math.KT': 98,
275
+ 'math.LO': 99,
276
+ 'math.MG': 100,
277
+ 'math.NA': 101,
278
+ 'math.NT': 102,
279
+ 'math.OA': 103,
280
+ 'math.OC': 104,
281
+ 'math.PR': 105,
282
+ 'math.QA': 106,
283
+ 'math.RA': 107,
284
+ 'math.RT': 108,
285
+ 'math.SG': 109,
286
+ 'math.SP': 110,
287
+ 'math.ST': 111,
288
+ 'mtrl-th': 112,
289
+ 'nlin.AO': 113,
290
+ 'nlin.CD': 114,
291
+ 'nlin.CG': 115,
292
+ 'nlin.PS': 116,
293
+ 'nlin.SI': 117,
294
+ 'nucl-ex': 118,
295
+ 'nucl-th': 119,
296
+ 'patt-sol': 120,
297
+ 'physics.acc-ph': 121,
298
+ 'physics.ao-ph': 122,
299
+ 'physics.app-ph': 123,
300
+ 'physics.atm-clus': 124,
301
+ 'physics.atom-ph': 125,
302
+ 'physics.bio-ph': 126,
303
+ 'physics.chem-ph': 127,
304
+ 'physics.class-ph': 128,
305
+ 'physics.comp-ph': 129,
306
+ 'physics.data-an': 130,
307
+ 'physics.ed-ph': 131,
308
+ 'physics.flu-dyn': 132,
309
+ 'physics.gen-ph': 133,
310
+ 'physics.geo-ph': 134,
311
+ 'physics.hist-ph': 135,
312
+ 'physics.ins-det': 136,
313
+ 'physics.med-ph': 137,
314
+ 'physics.optics': 138,
315
+ 'physics.plasm-ph': 139,
316
+ 'physics.pop-ph': 140,
317
+ 'physics.soc-ph': 141,
318
+ 'physics.space-ph': 142,
319
+ 'plasm-ph': 143,
320
+ 'q-alg': 144,
321
+ 'q-bio.BM': 145,
322
+ 'q-bio.CB': 146,
323
+ 'q-bio.GN': 147,
324
+ 'q-bio.MN': 148,
325
+ 'q-bio.NC': 149,
326
+ 'q-bio.OT': 150,
327
+ 'q-bio.PE': 151,
328
+ 'q-bio.QM': 152,
329
+ 'q-bio.SC': 153,
330
+ 'q-bio.TO': 154,
331
+ 'q-fin.CP': 155,
332
+ 'q-fin.EC': 156,
333
+ 'q-fin.GN': 157,
334
+ 'q-fin.MF': 158,
335
+ 'q-fin.PM': 159,
336
+ 'q-fin.PR': 160,
337
+ 'q-fin.RM': 161,
338
+ 'q-fin.ST': 162,
339
+ 'q-fin.TR': 163,
340
+ 'quant-ph': 164,
341
+ 'solv-int': 165,
342
+ 'stat.AP': 166,
343
+ 'stat.CO': 167,
344
+ 'stat.ME': 168,
345
+ 'stat.ML': 169,
346
+ 'stat.OT': 170,
347
+ 'supr-con': 171
348
+ }