Created
May 21, 2020 19:24
-
-
Save philipphager/ca618749f052d36816c0ce04aa0e483c to your computer and use it in GitHub Desktop.
d256-16d-equally
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 | |
} | |
], | |
"data": {"name": "data-48ae11cb1ce52e9746a9c48d765644a7"}, | |
"$schema": "https://vega.github.io/schema/vega-lite/v4.0.2.json", | |
"datasets": { | |
"data-48ae11cb1ce52e9746a9c48d765644a7": [ | |
{ | |
"id": 0, | |
"name": "Anatomy [A]", | |
"loss": 1.5932086584397724, | |
"num_tokens": 535, | |
"num_documents": 2030 | |
}, | |
{ | |
"id": 1, | |
"name": "Organisms [B]", | |
"loss": 1.8236165442637036, | |
"num_tokens": 151, | |
"num_documents": 495 | |
}, | |
{ | |
"id": 2, | |
"name": "Diseases [C]", | |
"loss": 2.0975395657335008, | |
"num_tokens": 1121, | |
"num_documents": 3047 | |
}, | |
{ | |
"id": 3, | |
"name": "Chemicals and Drugs [D]", | |
"loss": 2.2852777154956545, | |
"num_tokens": 749, | |
"num_documents": 1602 | |
}, | |
{ | |
"id": 4, | |
"name": "Analytical, Diagnostic and Therapeutic Techniques and Equipment [E]", | |
"loss": 1.7578834558810505, | |
"num_tokens": 621, | |
"num_documents": 2925 | |
}, | |
{ | |
"id": 5, | |
"name": "Psychiatry and Psychology [F]", | |
"loss": 1.7299871601377215, | |
"num_tokens": 143, | |
"num_documents": 604 | |
}, | |
{ | |
"id": 6, | |
"name": "Biological Sciences [G]", | |
"loss": 1.8836885213851928, | |
"num_tokens": 294, | |
"num_documents": 1018 | |
}, | |
{ | |
"id": 7, | |
"name": "Physical Sciences [H]", | |
"loss": 0.7342368202975819, | |
"num_tokens": 46, | |
"num_documents": 417 | |
}, | |
{ | |
"id": 8, | |
"name": "Anthropology, Education, Sociology and Social Phenomena [I]", | |
"loss": 1.6702558309691293, | |
"num_tokens": 63, | |
"num_documents": 302 | |
}, | |
{ | |
"id": 9, | |
"name": "Technology and Food and Beverages [J]", | |
"loss": 1.049585150906018, | |
"num_tokens": 23, | |
"num_documents": 70 | |
}, | |
{ | |
"id": 10, | |
"name": "Humanities [K]", | |
"loss": 0.667106521406344, | |
"num_tokens": 7, | |
"num_documents": 131 | |
}, | |
{ | |
"id": 11, | |
"name": "Information Science [L]", | |
"loss": 0.7765274705205645, | |
"num_tokens": 14, | |
"num_documents": 35 | |
}, | |
{ | |
"id": 12, | |
"name": "Persons [M]", | |
"loss": 0.5976243336179426, | |
"num_tokens": 109, | |
"num_documents": 1232 | |
}, | |
{ | |
"id": 13, | |
"name": "Health Care [N]", | |
"loss": 1.873140514748437, | |
"num_tokens": 104, | |
"num_documents": 413 | |
}, | |
{ | |
"id": 14, | |
"name": "Publication Characteristics [V]", | |
"loss": 0.4773491441139153, | |
"num_tokens": 38, | |
"num_documents": 362 | |
}, | |
{ | |
"id": 15, | |
"name": "Geographic Locations [Z]", | |
"loss": 1.0457106177295958, | |
"num_tokens": 73, | |
"num_documents": 118 | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment