Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
def theme(): | |
return { | |
"config": { | |
"title": { | |
"font": "serif", | |
"fontWeight": "normal", | |
"fontSize": 16, | |
}, | |
"axis": { | |
"titleFont": "serif", |
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
# Dependencies to install: Pandas for dataframes, pyarrow to support the feather file format. | |
# pip install pandas | |
# pip install pyarrow | |
# Load a downloaded dataset from file: | |
train_df = pd.read_feather("train.feather") | |
train_df.head() | |
# The dataset contains 220 features per query-document (columns starting with 'feature_*') | |
# Here is one of many ways to select all columns starting with 'feature_' |
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
# Dependencies to install. Pandas for dataframes, pyarrow to support the .parquet file format. | |
# pip install pandas | |
# pip install pyarrow | |
# Load a downloaded dataset from file: | |
train_df = pd.read_parquet("mslr_train.parquet") | |
train_df.head() | |
# The dataset contains 136 features per query-document (columns starting with 'feature_*') | |
# E.g. one way to select all columns starting with 'feature_' |
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
{ | |
"statistic": { | |
"postings": [ | |
{ | |
"doc_id": 0, | |
"tf": 1 | |
} | |
], | |
"df": 1 | |
}, |
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}}, | |
"data": {"name": "data-1132bb181f3c2cf775a80ccf83650219"}, | |
"mark": "line", | |
"encoding": { | |
"color": {"field": "model", "type": "nominal"}, | |
"row": {"field": "metric", "type": "nominal"}, | |
"tooltip": [ | |
{"field": "epoch", "type": "quantitative"}, | |
{"field": "model", "type": "nominal"}, |
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"}, |
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"}, |
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"}, |
NewerOlder