Created
May 21, 2020 19:42
-
-
Save philipphager/3da8784d29be95cdfb7cf2b9a51d55d0 to your computer and use it in GitHub Desktop.
d128-4c-min
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}}, | |
"hconcat": [ | |
{ | |
"mark": "bar", | |
"encoding": { | |
"tooltip": [ | |
{"type": "quantitative", "field": "id"}, | |
{"type": "nominal", "field": "name"}, | |
{"type": "quantitative", "field": "loss"}, | |
{"type": "quantitative", "field": "num_tokens"}, | |
{"type": "quantitative", "field": "num_documents"} | |
], | |
"x": {"type": "nominal", "field": "name", "title": "Category"}, | |
"y": { | |
"type": "quantitative", | |
"field": "loss", | |
"title": "MSE after Training" | |
} | |
} | |
}, | |
{ | |
"mark": "point", | |
"encoding": { | |
"tooltip": [ | |
{"type": "quantitative", "field": "id"}, | |
{"type": "nominal", "field": "name"}, | |
{"type": "quantitative", "field": "loss"}, | |
{"type": "quantitative", "field": "num_tokens"}, | |
{"type": "quantitative", "field": "num_documents"} | |
], | |
"x": { | |
"type": "quantitative", | |
"field": "num_tokens", | |
"title": "Number of Unique Tokens in Category" | |
}, | |
"y": { | |
"type": "quantitative", | |
"field": "loss", | |
"title": "MSE after Training" | |
} | |
}, | |
"width": 300 | |
}, | |
{ | |
"mark": "point", | |
"encoding": { | |
"tooltip": [ | |
{"type": "quantitative", "field": "id"}, | |
{"type": "nominal", "field": "name"}, | |
{"type": "quantitative", "field": "loss"}, | |
{"type": "quantitative", "field": "num_tokens"}, | |
{"type": "quantitative", "field": "num_documents"} | |
], | |
"x": { | |
"type": "quantitative", | |
"field": "num_documents", | |
"title": "Number of Documents mentioning Category" | |
}, | |
"y": { | |
"type": "quantitative", | |
"field": "loss", | |
"title": "MSE after Training" | |
} | |
}, | |
"width": 300 | |
}, | |
{ | |
"mark": "point", | |
"encoding": { | |
"tooltip": [ | |
{"type": "quantitative", "field": "id"}, | |
{"type": "nominal", "field": "name"}, | |
{"type": "quantitative", "field": "loss"}, | |
{"type": "quantitative", "field": "num_tokens"}, | |
{"type": "quantitative", "field": "num_documents"}, | |
{"type": "quantitative", "field": "dimensions"} | |
], | |
"x": { | |
"type": "quantitative", | |
"field": "dimensions", | |
"title": "Number of Dimensions" | |
}, | |
"y": { | |
"type": "quantitative", | |
"field": "loss", | |
"title": "MSE after Training" | |
} | |
}, | |
"width": 300 | |
} | |
], | |
"data": {"name": "data-748f96579eb7da80a8f9c3dc0f0a85a3"}, | |
"$schema": "https://vega.github.io/schema/vega-lite/v4.0.2.json", | |
"datasets": { | |
"data-748f96579eb7da80a8f9c3dc0f0a85a3": [ | |
{ | |
"id": 0, | |
"name": "Anatomy [A]", | |
"loss": 3.4146709333147323, | |
"num_tokens": 535, | |
"num_documents": 2026, | |
"dimensions": 12 | |
}, | |
{ | |
"id": 1, | |
"name": "Organisms [B]", | |
"loss": 6.768635187149048, | |
"num_tokens": 151, | |
"num_documents": 495, | |
"dimensions": 6 | |
}, | |
{ | |
"id": 2, | |
"name": "Diseases [C]", | |
"loss": 3.1448816648551396, | |
"num_tokens": 1121, | |
"num_documents": 3043, | |
"dimensions": 21 | |
}, | |
{ | |
"id": 3, | |
"name": "Chemicals and Drugs [D]", | |
"loss": 3.904827307632991, | |
"num_tokens": 749, | |
"num_documents": 1602, | |
"dimensions": 16 | |
}, | |
{ | |
"id": 4, | |
"name": "Analytical, Diagnostic and Therapeutic Techniques and Equipment [E]", | |
"loss": 3.760989691870553, | |
"num_tokens": 621, | |
"num_documents": 2920, | |
"dimensions": 14 | |
}, | |
{ | |
"id": 5, | |
"name": "Psychiatry and Psychology [F]", | |
"loss": 5.334933577265058, | |
"num_tokens": 143, | |
"num_documents": 608, | |
"dimensions": 6 | |
}, | |
{ | |
"id": 6, | |
"name": "Biological Sciences [G]", | |
"loss": 4.271062045437949, | |
"num_tokens": 294, | |
"num_documents": 1018, | |
"dimensions": 9 | |
}, | |
{ | |
"id": 7, | |
"name": "Physical Sciences [H]", | |
"loss": 3.0922663353170665, | |
"num_tokens": 46, | |
"num_documents": 417, | |
"dimensions": 5 | |
}, | |
{ | |
"id": 8, | |
"name": "Anthropology, Education, Sociology and Social Phenomena [I]", | |
"loss": 6.572154336316245, | |
"num_tokens": 63, | |
"num_documents": 302, | |
"dimensions": 5 | |
}, | |
{ | |
"id": 9, | |
"name": "Technology and Food and Beverages [J]", | |
"loss": 4.583892353091922, | |
"num_tokens": 23, | |
"num_documents": 70, | |
"dimensions": 4 | |
}, | |
{ | |
"id": 10, | |
"name": "Humanities [K]", | |
"loss": 3.003832514626639, | |
"num_tokens": 7, | |
"num_documents": 131, | |
"dimensions": 4 | |
}, | |
{ | |
"id": 11, | |
"name": "Information Science [L]", | |
"loss": 4.306278464964458, | |
"num_tokens": 14, | |
"num_documents": 35, | |
"dimensions": 4 | |
}, | |
{ | |
"id": 12, | |
"name": "Persons [M]", | |
"loss": 1.6729977800590652, | |
"num_tokens": 109, | |
"num_documents": 1234, | |
"dimensions": 6 | |
}, | |
{ | |
"id": 13, | |
"name": "Health Care [N]", | |
"loss": 6.748778417280742, | |
"num_tokens": 104, | |
"num_documents": 413, | |
"dimensions": 6 | |
}, | |
{ | |
"id": 14, | |
"name": "Publication Characteristics [V]", | |
"loss": 1.5302486964634487, | |
"num_tokens": 38, | |
"num_documents": 362, | |
"dimensions": 5 | |
}, | |
{ | |
"id": 15, | |
"name": "Geographic Locations [Z]", | |
"loss": 3.3941932664598737, | |
"num_tokens": 73, | |
"num_documents": 118, | |
"dimensions": 5 | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment