arxiv_class / lables.py
kotstantinovskii's picture
Update lables.py
407f9c2
raw
history blame
15.2 kB
num_to_classes = {
0: 'acc-phys',
1: 'adap-org',
2: 'alg-geom',
3: 'ao-sci',
4: 'astro-ph.all',
5: 'astro-ph.CO',
6: 'astro-ph.EP',
7: 'astro-ph.GA',
8: 'astro-ph.HE',
9: 'astro-ph.IM',
10: 'astro-ph.SR',
11: 'atom-ph.all',
12: 'bayes-an',
13: 'chao-dyn',
14: 'chem-ph',
15: 'cmp-lg',
16: 'comp-gas',
17: 'cond-mat.all',
18: 'cond-mat.dis-nn',
19: 'cond-mat.mes-hall',
20: 'cond-mat.mtrl-sci',
21: 'cond-mat.other',
22: 'cond-mat.quant-gas',
23: 'cond-mat.soft',
24: 'cond-mat.stat-mech',
25: 'cond-mat.str-el',
26: 'cond-mat.supr-con',
27: 'cs.AI',
28: 'cs.AR',
29: 'cs.CC',
30: 'cs.CE',
31: 'cs.CG',
32: 'cs.CL',
33: 'cs.CR',
34: 'cs.CV',
35: 'cs.CY',
36: 'cs.DB',
37: 'cs.DC',
38: 'cs.DL',
39: 'cs.DM',
40: 'cs.DS',
41: 'cs.ET',
42: 'cs.FL',
43: 'cs.GL',
44: 'cs.GR',
45: 'cs.GT',
46: 'cs.HC',
47: 'cs.IR',
48: 'cs.IT',
49: 'cs.LG',
50: 'cs.LO',
51: 'cs.MA',
52: 'cs.MM',
53: 'cs.MS',
54: 'cs.NA',
55: 'cs.NE',
56: 'cs.NI',
57: 'cs.OH',
58: 'cs.OS',
59: 'cs.PF',
60: 'cs.PL',
61: 'cs.RO',
62: 'cs.SC',
63: 'cs.SD',
64: 'cs.SE',
65: 'cs.SI',
66: 'cs.SY',
67: 'dg-ga',
68: 'econ.EM',
69: 'econ.GN',
70: 'econ.TH',
71: 'eess.AS',
72: 'eess.IV',
73: 'eess.SP',
74: 'eess.SY',
75: 'funct-an',
76: 'gr-qc',
77: 'hep-ex',
78: 'hep-lat',
79: 'hep-ph',
80: 'hep-th',
81: 'math-ph',
82: 'math.AC',
83: 'math.AG',
84: 'math.AP',
85: 'math.AT',
86: 'math.CA',
87: 'math.CO',
88: 'math.CT',
89: 'math.CV',
90: 'math.DG',
91: 'math.DS',
92: 'math.FA',
93: 'math.GM',
94: 'math.GN',
95: 'math.GR',
96: 'math.GT',
97: 'math.HO',
98: 'math.KT',
99: 'math.LO',
100: 'math.MG',
101: 'math.NA',
102: 'math.NT',
103: 'math.OA',
104: 'math.OC',
105: 'math.PR',
106: 'math.QA',
107: 'math.RA',
108: 'math.RT',
109: 'math.SG',
110: 'math.SP',
111: 'math.ST',
112: 'mtrl-th',
113: 'nlin.AO',
114: 'nlin.CD',
115: 'nlin.CG',
116: 'nlin.PS',
117: 'nlin.SI',
118: 'nucl-ex',
119: 'nucl-th',
120: 'patt-sol',
121: 'physics.acc-ph',
122: 'physics.ao-ph',
123: 'physics.app-ph',
124: 'physics.atm-clus',
125: 'physics.atom-ph',
126: 'physics.bio-ph',
127: 'physics.chem-ph',
128: 'physics.class-ph',
129: 'physics.comp-ph',
130: 'physics.data-an',
131: 'physics.ed-ph',
132: 'physics.flu-dyn',
133: 'physics.gen-ph',
134: 'physics.geo-ph',
135: 'physics.hist-ph',
136: 'physics.ins-det',
137: 'physics.med-ph',
138: 'physics.optics',
139: 'physics.plasm-ph',
140: 'physics.pop-ph',
141: 'physics.soc-ph',
142: 'physics.space-ph',
143: 'plasm-ph',
144: 'q-alg',
145: 'q-bio.BM',
146: 'q-bio.CB',
147: 'q-bio.GN',
148: 'q-bio.MN',
149: 'q-bio.NC',
150: 'q-bio.OT',
151: 'q-bio.PE',
152: 'q-bio.QM',
153: 'q-bio.SC',
154: 'q-bio.TO',
155: 'q-fin.CP',
156: 'q-fin.EC',
157: 'q-fin.GN',
158: 'q-fin.MF',
159: 'q-fin.PM',
160: 'q-fin.PR',
161: 'q-fin.RM',
162: 'q-fin.ST',
163: 'q-fin.TR',
164: 'quant-ph',
165: 'solv-int',
166: 'stat.AP',
167: 'stat.CO',
168: 'stat.ME',
169: 'stat.ML',
170: 'stat.OT',
171: 'supr-con'}
classes_to_num = {
'acc-phys': 0,
'adap-org': 1,
'alg-geom': 2,
'ao-sci': 3,
'astro-ph.all': 4,
'astro-ph.CO': 5,
'astro-ph.EP': 6,
'astro-ph.GA': 7,
'astro-ph.HE': 8,
'astro-ph.IM': 9,
'astro-ph.SR': 10,
'atom-ph.all': 11,
'bayes-an': 12,
'chao-dyn': 13,
'chem-ph': 14,
'cmp-lg': 15,
'comp-gas': 16,
'cond-mat.all': 17,
'cond-mat.dis-nn': 18,
'cond-mat.mes-hall': 19,
'cond-mat.mtrl-sci': 20,
'cond-mat.other': 21,
'cond-mat.quant-gas': 22,
'cond-mat.soft': 23,
'cond-mat.stat-mech': 24,
'cond-mat.str-el': 25,
'cond-mat.supr-con': 26,
'cs.AI': 27,
'cs.AR': 28,
'cs.CC': 29,
'cs.CE': 30,
'cs.CG': 31,
'cs.CL': 32,
'cs.CR': 33,
'cs.CV': 34,
'cs.CY': 35,
'cs.DB': 36,
'cs.DC': 37,
'cs.DL': 38,
'cs.DM': 39,
'cs.DS': 40,
'cs.ET': 41,
'cs.FL': 42,
'cs.GL': 43,
'cs.GR': 44,
'cs.GT': 45,
'cs.HC': 46,
'cs.IR': 47,
'cs.IT': 48,
'cs.LG': 49,
'cs.LO': 50,
'cs.MA': 51,
'cs.MM': 52,
'cs.MS': 53,
'cs.NA': 54,
'cs.NE': 55,
'cs.NI': 56,
'cs.OH': 57,
'cs.OS': 58,
'cs.PF': 59,
'cs.PL': 60,
'cs.RO': 61,
'cs.SC': 62,
'cs.SD': 63,
'cs.SE': 64,
'cs.SI': 65,
'cs.SY': 66,
'dg-ga': 67,
'econ.EM': 68,
'econ.GN': 69,
'econ.TH': 70,
'eess.AS': 71,
'eess.IV': 72,
'eess.SP': 73,
'eess.SY': 74,
'funct-an': 75,
'gr-qc': 76,
'hep-ex': 77,
'hep-lat': 78,
'hep-ph': 79,
'hep-th': 80,
'math-ph': 81,
'math.AC': 82,
'math.AG': 83,
'math.AP': 84,
'math.AT': 85,
'math.CA': 86,
'math.CO': 87,
'math.CT': 88,
'math.CV': 89,
'math.DG': 90,
'math.DS': 91,
'math.FA': 92,
'math.GM': 93,
'math.GN': 94,
'math.GR': 95,
'math.GT': 96,
'math.HO': 97,
'math.KT': 98,
'math.LO': 99,
'math.MG': 100,
'math.NA': 101,
'math.NT': 102,
'math.OA': 103,
'math.OC': 104,
'math.PR': 105,
'math.QA': 106,
'math.RA': 107,
'math.RT': 108,
'math.SG': 109,
'math.SP': 110,
'math.ST': 111,
'mtrl-th': 112,
'nlin.AO': 113,
'nlin.CD': 114,
'nlin.CG': 115,
'nlin.PS': 116,
'nlin.SI': 117,
'nucl-ex': 118,
'nucl-th': 119,
'patt-sol': 120,
'physics.acc-ph': 121,
'physics.ao-ph': 122,
'physics.app-ph': 123,
'physics.atm-clus': 124,
'physics.atom-ph': 125,
'physics.bio-ph': 126,
'physics.chem-ph': 127,
'physics.class-ph': 128,
'physics.comp-ph': 129,
'physics.data-an': 130,
'physics.ed-ph': 131,
'physics.flu-dyn': 132,
'physics.gen-ph': 133,
'physics.geo-ph': 134,
'physics.hist-ph': 135,
'physics.ins-det': 136,
'physics.med-ph': 137,
'physics.optics': 138,
'physics.plasm-ph': 139,
'physics.pop-ph': 140,
'physics.soc-ph': 141,
'physics.space-ph': 142,
'plasm-ph': 143,
'q-alg': 144,
'q-bio.BM': 145,
'q-bio.CB': 146,
'q-bio.GN': 147,
'q-bio.MN': 148,
'q-bio.NC': 149,
'q-bio.OT': 150,
'q-bio.PE': 151,
'q-bio.QM': 152,
'q-bio.SC': 153,
'q-bio.TO': 154,
'q-fin.CP': 155,
'q-fin.EC': 156,
'q-fin.GN': 157,
'q-fin.MF': 158,
'q-fin.PM': 159,
'q-fin.PR': 160,
'q-fin.RM': 161,
'q-fin.ST': 162,
'q-fin.TR': 163,
'quant-ph': 164,
'solv-int': 165,
'stat.AP': 166,
'stat.CO': 167,
'stat.ME': 168,
'stat.ML': 169,
'stat.OT': 170,
'supr-con': 171
}
taxonomy = [('cs.AI', 'Artificial Intelligence'),
('cs.AR', 'Hardware Architecture'),
('cs.CC', 'Computational Complexity'),
('cs.CE', 'Computational Engineering, Finance, and Science'),
('cs.CG', 'Computational Geometry'),
('cs.CL', 'Computation and Language'),
('cs.CR', 'Cryptography and Security'),
('cs.CV', 'Computer Vision and Pattern Recognition'),
('cs.CY', 'Computers and Society'),
('cs.DB', 'Databases'),
('cs.DC', 'Distributed, Parallel, and Cluster Computing'),
('cs.DL', 'Digital Libraries'),
('cs.DM', 'Discrete Mathematics'),
('cs.DS', 'Data Structures and Algorithms'),
('cs.ET', 'Emerging Technologies'),
('cs.FL', 'Formal Languages and Automata Theory'),
('cs.GL', 'General Literature'),
('cs.GR', 'Graphics'),
('cs.GT', 'Computer Science and Game Theory'),
('cs.HC', 'Human-Computer Interaction'),
('cs.IR', 'Information Retrieval'),
('cs.IT', 'Information Theory'),
('cs.LG', 'Machine Learning'),
('cs.LO', 'Logic in Computer Science'),
('cs.MA', 'Multiagent Systems'),
('cs.MM', 'Multimedia'),
('cs.MS', 'Mathematical Software'),
('cs.NA', 'Numerical Analysis'),
('cs.NE', 'Neural and Evolutionary Computing'),
('cs.NI', 'Networking and Internet Architecture'),
('cs.OH', 'Other Computer Science'),
('cs.OS', 'Operating Systems'),
('cs.PF', 'Performance'),
('cs.PL', 'Programming Languages'),
('cs.RO', 'Robotics'),
('cs.SC', 'Symbolic Computation'),
('cs.SD', 'Sound'),
('cs.SE', 'Software Engineering'),
('cs.SI', 'Social and Information Networks'),
('cs.SY', 'Systems and Control'),
('econ.EM', 'Econometrics'),
('econ.GN', 'General Economics'),
('econ.TH', 'Theoretical Economics'),
('eess.AS', 'Audio and Speech Processing'),
('eess.IV', 'Image and Video Processing'),
('eess.SP', 'Signal Processing'),
('eess.SY', 'Systems and Control'),
('math.AC', 'Commutative Algebra'),
('math.AG', 'Algebraic Geometry'),
('math.AP', 'Analysis of PDEs'),
('math.AT', 'Algebraic Topology'),
('math.CA', 'Classical Analysis and ODEs'),
('math.CO', 'Combinatorics'),
('math.CT', 'Category Theory'),
('math.CV', 'Complex Variables'),
('math.DG', 'Differential Geometry'),
('math.DS', 'Dynamical Systems'),
('math.FA', 'Functional Analysis'),
('math.GM', 'General Mathematics'),
('math.GN', 'General Topology'),
('math.GR', 'Group Theory'),
('math.GT', 'Geometric Topology'),
('math.HO', 'History and Overview'),
('math.IT', 'Information Theory'),
('math.KT', 'K-Theory and Homology'),
('math.LO', 'Logic'),
('math.MG', 'Metric Geometry'),
('math.MP', 'Mathematical Physics'),
('math.NA', 'Numerical Analysis'),
('math.NT', 'Number Theory'),
('math.OA', 'Operator Algebras'),
('math.OC', 'Optimization and Control'),
('math.PR', 'Probability'),
('math.QA', 'Quantum Algebra'),
('math.RA', 'Rings and Algebras'),
('math.RT', 'Representation Theory'),
('math.SG', 'Symplectic Geometry'),
('math.SP', 'Spectral Theory'),
('math.ST', 'Statistics Theory'),
('astro-ph.all', 'ASTROPHYSICS'),
('astro-ph.CO', 'Cosmology and Nongalactic Astrophysics'),
('astro-ph.EP', 'Earth and Planetary Astrophysics'),
('astro-ph.GA', 'Astrophysics of Galaxies'),
('astro-ph.HE', 'High Energy Astrophysical Phenomena'),
('astro-ph.IM', 'Instrumentation and Methods for Astrophysics'),
('astro-ph.SR', 'Solar and Stellar Astrophysics'),
('cond-mat.all', 'CONDENSED MATTER'),
('cond-mat.dis-nn', 'Disordered Systems and Neural Networks'),
('cond-mat.mes-hall', 'Mesoscale and Nanoscale Physics'),
('cond-mat.mtrl-sci', 'Materials Science'),
('cond-mat.other', 'Other Condensed Matter'),
('cond-mat.quant-gas', 'Quantum Gases'),
('cond-mat.soft', 'Soft Condensed Matter'),
('cond-mat.stat-mech', 'Statistical Mechanics'),
('cond-mat.str-el', 'Strongly Correlated Electrons'),
('cond-mat.supr-con', 'Superconductivity'),
('gr-qc', 'General Relativity and Quantum Cosmology'),
('hep-ex', 'High Energy Physics - Experiment'),
('hep-lat', 'High Energy Physics - Lattice'),
('hep-ph', 'High Energy Physics - Phenomenology'),
('hep-th', 'High Energy Physics - Theory'),
('math-ph', 'Mathematical Physics'),
('nlin.AO', 'Adaptation and Self-Organizing Systems'),
('nlin.CD', 'Chaotic Dynamics'),
('nlin.CG', 'Cellular Automata and Lattice Gases'),
('nlin.PS', 'Pattern Formation and Solitons'),
('nlin.SI', 'Exactly Solvable and Integrable Systems'),
('nucl-ex', 'Nuclear Experiment'),
('nucl-th', 'Nuclear Theory'),
('physics.acc-ph', 'Accelerator Physics'),
('physics.ao-ph', 'Atmospheric and Oceanic Physics'),
('physics.app-ph', 'Applied Physics'),
('physics.atm-clus', 'Atomic and Molecular Clusters'),
('atom-ph.all', 'Atomic Physics'),
('physics.atom-ph', 'Atomic Physics'),
('physics.bio-ph', 'Biological Physics'),
('physics.chem-ph', 'Chemical Physics'),
('physics.class-ph', 'Classical Physics'),
('physics.comp-ph', 'Computational Physics'),
('physics.data-an', 'Data Analysis, Statistics and Probability'),
('physics.ed-ph', 'Physics Education'),
('physics.flu-dyn', 'Fluid Dynamics'),
('physics.gen-ph', 'General Physics'),
('physics.geo-ph', 'Geophysics'),
('physics.hist-ph', 'History and Philosophy of Physics'),
('physics.ins-det', 'Instrumentation and Detectors'),
('physics.med-ph', 'Medical Physics'),
('physics.optics', 'Optics'),
('physics.plasm-ph', 'Plasma Physics'),
('physics.pop-ph', 'Popular Physics'),
('physics.soc-ph', 'Physics and Society'),
('physics.space-ph', 'Space Physics'),
('quant-ph', 'Quantum Physics'),
('q-bio.BM', 'Biomolecules'),
('q-bio.CB', 'Cell Behavior'),
('q-bio.GN', 'Genomics'),
('q-bio.MN', 'Molecular Networks'),
('q-bio.NC', 'Neurons and Cognition'),
('q-bio.OT', 'Other Quantitative Biology'),
('q-bio.PE', 'Populations and Evolution'),
('q-bio.QM', 'Quantitative Methods'),
('q-bio.SC', 'Subcellular Processes'),
('q-bio.TO', 'Tissues and Organs'),
('q-fin.CP', 'Computational Finance'),
('q-fin.EC', 'Economics'),
('q-fin.GN', 'General Finance'),
('q-fin.MF', 'Mathematical Finance'),
('q-fin.PM', 'Portfolio Management'),
('q-fin.PR', 'Pricing of Securities'),
('q-fin.RM', 'Risk Management'),
('q-fin.ST', 'Statistical Finance'),
('q-fin.TR', 'Trading and Market Microstructure'),
('stat.AP', 'Applications'),
('stat.CO', 'Computation'),
('stat.ME', 'Methodology'),
('stat.ML', 'Machine Learning'),
('stat.OT', 'Other Statistics'),
('stat.TH', 'Statistics Theory')]