{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"from pathlib import Path\nimport pandas as pd\n\nINPUT_DIR = Path(\"/kaggle/input/g-research-crypto-forecasting\")\nOUTPUT_DIR = INPUT_DIR.parent / \"output\"","metadata":{"execution":{"iopub.status.busy":"2021-12-17T21:14:14.233097Z","iopub.execute_input":"2021-12-17T21:14:14.233347Z","iopub.status.idle":"2021-12-17T21:14:14.237537Z","shell.execute_reply.started":"2021-12-17T21:14:14.233322Z","shell.execute_reply":"2021-12-17T21:14:14.23678Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## Asset details\nIt looks like there are 14 cryptocurrencies with weights associated to them. The weights vary significantly, with most max weight being identified for BTC.","metadata":{}},{"cell_type":"code","source":"assets = pd.read_csv(INPUT_DIR / \"asset_details.csv\").sort_values(by=[\"Weight\"], ascending=False)\nassets","metadata":{"execution":{"iopub.status.busy":"2021-12-17T21:17:12.772443Z","iopub.execute_input":"2021-12-17T21:17:12.773039Z","iopub.status.idle":"2021-12-17T21:17:12.790627Z","shell.execute_reply.started":"2021-12-17T21:17:12.772991Z","shell.execute_reply":"2021-12-17T21:17:12.789596Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"assets['Weight'].plot.hist()","metadata":{"execution":{"iopub.status.busy":"2021-12-17T21:16:28.956897Z","iopub.execute_input":"2021-12-17T21:16:28.957452Z","iopub.status.idle":"2021-12-17T21:16:29.180889Z","shell.execute_reply.started":"2021-12-17T21:16:28.957403Z","shell.execute_reply":"2021-12-17T21:16:29.180024Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## The example sample submission and example test set","metadata":{}},{"cell_type":"code","source":"sample_submission_example = pd.read_csv(INPUT_DIR / \"example_sample_submission.csv\")\nprint(f\"Shape of sample submission: {sample_submission_example.shape}\")\nsample_submission_example.head(3)","metadata":{"execution":{"iopub.status.busy":"2021-12-17T21:19:07.776572Z","iopub.execute_input":"2021-12-17T21:19:07.777128Z","iopub.status.idle":"2021-12-17T21:19:07.79264Z","shell.execute_reply.started":"2021-12-17T21:19:07.777087Z","shell.execute_reply":"2021-12-17T21:19:07.791694Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"example_test = pd.read_csv(INPUT_DIR / \"example_test.csv\")\nexample_test.head(3)","metadata":{"execution":{"iopub.status.busy":"2021-12-17T21:19:42.497092Z","iopub.execute_input":"2021-12-17T21:19:42.497626Z","iopub.status.idle":"2021-12-17T21:19:42.520719Z","shell.execute_reply.started":"2021-12-17T21:19:42.497589Z","shell.execute_reply":"2021-12-17T21:19:42.51992Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## Training set","metadata":{}},{"cell_type":"code","source":"train = pd.read_csv(INPUT_DIR / \"train.csv\")\nprint(f\"Shape of train: {train.shape}\")\ntrain.head(3)","metadata":{"execution":{"iopub.status.busy":"2021-12-17T21:21:15.906723Z","iopub.execute_input":"2021-12-17T21:21:15.907028Z","iopub.status.idle":"2021-12-17T21:22:14.609369Z","shell.execute_reply.started":"2021-12-17T21:21:15.906998Z","shell.execute_reply":"2021-12-17T21:22:14.607991Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## Training set supplement","metadata":{}},{"cell_type":"code","source":"train_supp = pd.read_csv(INPUT_DIR / \"supplemental_train.csv\")\nprint(f\"Shape of train: {train_supp.shape}\")\ntrain_supp.head(3)","metadata":{"execution":{"iopub.status.busy":"2021-12-17T21:23:34.05706Z","iopub.execute_input":"2021-12-17T21:23:34.057663Z","iopub.status.idle":"2021-12-17T21:23:39.127672Z","shell.execute_reply.started":"2021-12-17T21:23:34.05763Z","shell.execute_reply":"2021-12-17T21:23:39.126804Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}