Created
June 27, 2020 23:17
-
-
Save philipphager/05a7973f4d7172af19ec8a2e00c1f8e0 to your computer and use it in GitHub Desktop.
Vega-Lite spec from Sun Jun 28 2020
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}, | |
"axis": { | |
"labelFontSize": 14, | |
"labelFontWeight": "normal", | |
"titleFontSize": 14 | |
}, | |
"axisX": {"titlePadding": 20}, | |
"axisY": {"titleFontWeight": "normal"}, | |
"legend": {"labelFontSize": 14} | |
}, | |
"hconcat": [ | |
{ | |
"layer": [ | |
{ | |
"mark": {"type": "line", "point": true}, | |
"encoding": { | |
"color": {"type": "nominal", "field": "STS"}, | |
"x": {"type": "nominal", "field": "Sequence Encoder"}, | |
"y": { | |
"type": "quantitative", | |
"aggregate": "average", | |
"field": "Pearson-R", | |
"scale": {"domain": [0.3, 0.9]}, | |
"title": "Pearson Correlation r" | |
} | |
}, | |
"width": 180 | |
}, | |
{ | |
"mark": {"type": "errorband", "extent": "ci"}, | |
"encoding": { | |
"color": {"type": "nominal", "field": "STS"}, | |
"x": {"type": "nominal", "field": "Sequence Encoder"}, | |
"y": { | |
"type": "quantitative", | |
"aggregate": "average", | |
"field": "Pearson-R", | |
"scale": {"domain": [0.3, 0.9]}, | |
"title": "Pearson Correlation r" | |
} | |
} | |
} | |
] | |
}, | |
{ | |
"layer": [ | |
{ | |
"mark": {"type": "line", "point": true}, | |
"encoding": { | |
"color": {"type": "nominal", "field": "STS"}, | |
"x": {"type": "nominal", "field": "Pooling"}, | |
"y": { | |
"type": "quantitative", | |
"aggregate": "average", | |
"field": "Pearson-R", | |
"scale": {"domain": [0.3, 0.9]}, | |
"title": "Pearson Correlation r" | |
} | |
}, | |
"width": 120 | |
}, | |
{ | |
"mark": {"type": "errorband", "extent": "ci"}, | |
"encoding": { | |
"color": {"type": "nominal", "field": "STS"}, | |
"x": {"type": "nominal", "field": "Pooling"}, | |
"y": { | |
"type": "quantitative", | |
"aggregate": "average", | |
"field": "Pearson-R", | |
"scale": {"domain": [0.3, 0.9]}, | |
"title": "Pearson Correlation r" | |
} | |
} | |
} | |
] | |
}, | |
{ | |
"layer": [ | |
{ | |
"mark": {"type": "line", "point": true}, | |
"encoding": { | |
"color": {"type": "nominal", "field": "STS"}, | |
"x": {"type": "nominal", "field": "Normalization"}, | |
"y": { | |
"type": "quantitative", | |
"aggregate": "average", | |
"field": "Pearson-R", | |
"scale": {"domain": [0.3, 0.9]}, | |
"title": "Pearson Correlation r" | |
} | |
}, | |
"width": 180 | |
}, | |
{ | |
"mark": {"type": "errorband", "extent": "ci"}, | |
"encoding": { | |
"color": {"type": "nominal", "field": "STS"}, | |
"x": {"type": "nominal", "field": "Normalization"}, | |
"y": { | |
"type": "quantitative", | |
"aggregate": "average", | |
"field": "Pearson-R", | |
"scale": {"domain": [0.3, 0.9]}, | |
"title": "Pearson Correlation r" | |
} | |
} | |
} | |
] | |
} | |
], | |
"data": {"name": "data-0ba71cd423370a9cb8591f2497b01fa2"}, | |
"$schema": "https://vega.github.io/schema/vega-lite/v4.0.2.json", | |
"datasets": { | |
"data-0ba71cd423370a9cb8591f2497b01fa2": [ | |
{ | |
"Sequence Encoder": "GRU", | |
"Pooling": "Self Attention", | |
"Normalization": "None", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.612 | |
}, | |
{ | |
"Sequence Encoder": "GRU", | |
"Pooling": "Self Attention", | |
"Normalization": "Corpus", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.577 | |
}, | |
{ | |
"Sequence Encoder": "GRU", | |
"Pooling": "Self Attention", | |
"Normalization": "Document", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.58 | |
}, | |
{ | |
"Sequence Encoder": "GRU", | |
"Pooling": "Graph Attention", | |
"Normalization": "None", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.532 | |
}, | |
{ | |
"Sequence Encoder": "GRU", | |
"Pooling": "Graph Attention", | |
"Normalization": "Corpus", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.622 | |
}, | |
{ | |
"Sequence Encoder": "GRU", | |
"Pooling": "Graph Attention", | |
"Normalization": "Document", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.585 | |
}, | |
{ | |
"Sequence Encoder": "LSTM", | |
"Pooling": "Self Attention", | |
"Normalization": "None", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.617 | |
}, | |
{ | |
"Sequence Encoder": "LSTM", | |
"Pooling": "Self Attention", | |
"Normalization": "Corpus", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.578 | |
}, | |
{ | |
"Sequence Encoder": "LSTM", | |
"Pooling": "Self Attention", | |
"Normalization": "Document", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.563 | |
}, | |
{ | |
"Sequence Encoder": "LSTM", | |
"Pooling": "Graph Attention", | |
"Normalization": "None", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.58 | |
}, | |
{ | |
"Sequence Encoder": "LSTM", | |
"Pooling": "Graph Attention", | |
"Normalization": "Corpus", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.59 | |
}, | |
{ | |
"Sequence Encoder": "LSTM", | |
"Pooling": "Graph Attention", | |
"Normalization": "Document", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.547 | |
}, | |
{ | |
"Sequence Encoder": "Transformer", | |
"Pooling": "Self Attention", | |
"Normalization": "None", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.541 | |
}, | |
{ | |
"Sequence Encoder": "Transformer", | |
"Pooling": "Self Attention", | |
"Normalization": "Corpus", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.514 | |
}, | |
{ | |
"Sequence Encoder": "Transformer", | |
"Pooling": "Self Attention", | |
"Normalization": "Document", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.533 | |
}, | |
{ | |
"Sequence Encoder": "Transformer", | |
"Pooling": "Graph Attention", | |
"Normalization": "None", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.482 | |
}, | |
{ | |
"Sequence Encoder": "Transformer", | |
"Pooling": "Graph Attention", | |
"Normalization": "Corpus", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.447 | |
}, | |
{ | |
"Sequence Encoder": "Transformer", | |
"Pooling": "Graph Attention", | |
"Normalization": "Document", | |
"STS": "BIOSSES Test", | |
"Pearson-R": 0.438 | |
}, | |
{ | |
"Sequence Encoder": "GRU", | |
"Pooling": "Self Attention", | |
"Normalization": "None", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.71 | |
}, | |
{ | |
"Sequence Encoder": "GRU", | |
"Pooling": "Self Attention", | |
"Normalization": "Corpus", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.674 | |
}, | |
{ | |
"Sequence Encoder": "GRU", | |
"Pooling": "Self Attention", | |
"Normalization": "Document", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.663 | |
}, | |
{ | |
"Sequence Encoder": "GRU", | |
"Pooling": "Graph Attention", | |
"Normalization": "None", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.749 | |
}, | |
{ | |
"Sequence Encoder": "GRU", | |
"Pooling": "Graph Attention", | |
"Normalization": "Corpus", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.721 | |
}, | |
{ | |
"Sequence Encoder": "GRU", | |
"Pooling": "Graph Attention", | |
"Normalization": "Document", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.663 | |
}, | |
{ | |
"Sequence Encoder": "LSTM", | |
"Pooling": "Self Attention", | |
"Normalization": "None", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.722 | |
}, | |
{ | |
"Sequence Encoder": "LSTM", | |
"Pooling": "Self Attention", | |
"Normalization": "Corpus", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.674 | |
}, | |
{ | |
"Sequence Encoder": "LSTM", | |
"Pooling": "Self Attention", | |
"Normalization": "Document", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.61 | |
}, | |
{ | |
"Sequence Encoder": "LSTM", | |
"Pooling": "Graph Attention", | |
"Normalization": "None", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.738 | |
}, | |
{ | |
"Sequence Encoder": "LSTM", | |
"Pooling": "Graph Attention", | |
"Normalization": "Corpus", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.74 | |
}, | |
{ | |
"Sequence Encoder": "LSTM", | |
"Pooling": "Graph Attention", | |
"Normalization": "Document", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.663 | |
}, | |
{ | |
"Sequence Encoder": "Transformer", | |
"Pooling": "Self Attention", | |
"Normalization": "None", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.62 | |
}, | |
{ | |
"Sequence Encoder": "Transformer", | |
"Pooling": "Self Attention", | |
"Normalization": "Corpus", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.51 | |
}, | |
{ | |
"Sequence Encoder": "Transformer", | |
"Pooling": "Self Attention", | |
"Normalization": "Document", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.591 | |
}, | |
{ | |
"Sequence Encoder": "Transformer", | |
"Pooling": "Graph Attention", | |
"Normalization": "None", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.652 | |
}, | |
{ | |
"Sequence Encoder": "Transformer", | |
"Pooling": "Graph Attention", | |
"Normalization": "Corpus", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.651 | |
}, | |
{ | |
"Sequence Encoder": "Transformer", | |
"Pooling": "Graph Attention", | |
"Normalization": "Document", | |
"STS": "MedSTS Test", | |
"Pearson-R": 0.635 | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment