{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.10.13","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceId":59093,"databundleVersionId":7469972,"sourceType":"competition"},{"sourceId":7945975,"sourceType":"datasetVersion","datasetId":4672249},{"sourceId":168759401,"sourceType":"kernelVersion"}],"dockerImageVersionId":30673,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"# This Python 3 environment comes with many helpful analytics libraries installed\n# It is defined by the kaggle/python Docker image: https://github.com/kaggle/docker-python\n# For example, here's several helpful packages to load\n\nimport numpy as np # linear algebra\nimport pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)\n\n# Input data files are available in the read-only \"../input/\" directory\n# For example, running this (by clicking run or pressing Shift+Enter) will list all files under the input directory\n\nimport os\n\nimport sys\nsys.path.append('/kaggle/usr/lib')\n\nfrom basic_preprocessing_utility_script import process_as_h5, signature, get_eeg_sp_data\n\n\n# 106800 examples in the train set","metadata":{"execution":{"iopub.status.busy":"2024-03-26T08:58:21.870806Z","iopub.execute_input":"2024-03-26T08:58:21.871326Z","iopub.status.idle":"2024-03-26T08:59:05.705366Z","shell.execute_reply.started":"2024-03-26T08:58:21.871286Z","shell.execute_reply":"2024-03-26T08:59:05.703483Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"total_in_dataset = 106800\nfilename = '/kaggle/input/hms-harmful-brain-activity-classification/train.csv'\nprocess_as_h5(filename, start_index=total_in_dataset // 6,  end_index = 2 * (total_in_dataset // 6))\n","metadata":{"execution":{"iopub.status.busy":"2024-03-26T10:23:38.770308Z","iopub.execute_input":"2024-03-26T10:23:38.771537Z","iopub.status.idle":"2024-03-26T10:56:33.340720Z","shell.execute_reply.started":"2024-03-26T10:23:38.771466Z","shell.execute_reply":"2024-03-26T10:56:33.338774Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}