Download P12data/process_scripts/sanity_check.py from Ladbaby/IrregularTimeSeriesDatasets: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/datasets/Ladbaby/IrregularTimeSeriesDatasets/resolve/main/P12data/process_scripts/sanity_check.py
- Command line
-
hf download hf://datasets/Ladbaby/IrregularTimeSeriesDatasets/P12data/process_scripts/sanity_check.py
-
curl -L -o sanity_check.py https://huggingface.co/datasets/Ladbaby/IrregularTimeSeriesDatasets/resolve/main/P12data/process_scripts/sanity_check.py
363 Bytes
| import numpy as np | |
| P_list = np.load('../processed_data/P_list.npy', allow_pickle=True) | |
| arr_outcomes = np.load('../processed_data/arr_outcomes.npy', allow_pickle=True) | |
| PTdict_list = np.load('../processed_data/PTdict_list.npy', allow_pickle=True) | |
| print(P_list.shape, P_list[0]) | |
| print(arr_outcomes.shape, arr_outcomes[0]) | |
| print(PTdict_list.shape, PTdict_list[0]) |