{"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":"markdown","source":"# Histopathic Cancer Detection (HCD)\n### Taylor Kern","metadata":{}},{"cell_type":"markdown","source":"# Prepare Enviornment","metadata":{}},{"cell_type":"code","source":"import numpy as np\nimport pandas as pd\nimport matplotlib.pyplot as plt\nimport matplotlib.image as mpimg\nimport pickle\nimport os\n\nfrom sklearn.model_selection import train_test_split\n\nimport tensorflow as tf\nfrom tensorflow.keras.models import Sequential\nfrom tensorflow import keras\nfrom tensorflow.keras.layers import * \n\nfrom tensorflow.keras.preprocessing.image import ImageDataGenerator","metadata":{"execution":{"iopub.status.busy":"2022-03-23T01:25:54.732796Z","iopub.execute_input":"2022-03-23T01:25:54.733282Z","iopub.status.idle":"2022-03-23T01:26:02.597139Z","shell.execute_reply.started":"2022-03-23T01:25:54.733174Z","shell.execute_reply":"2022-03-23T01:26:02.59572Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"# Load Training DataFrame","metadata":{}},{"cell_type":"code","source":"train = pd.read_csv('../input/histopathologic-cancer-detection/train_labels.csv', dtype=str)\nprint(train.shape)","metadata":{"execution":{"iopub.status.busy":"2022-03-23T01:26:02.599226Z","iopub.execute_input":"2022-03-23T01:26:02.599518Z","iopub.status.idle":"2022-03-23T01:26:03.182287Z","shell.execute_reply.started":"2022-03-23T01:26:02.599483Z","shell.execute_reply":"2022-03-23T01:26:03.181285Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"train.head()","metadata":{"execution":{"iopub.status.busy":"2022-03-23T01:26:03.183855Z","iopub.execute_input":"2022-03-23T01:26:03.184425Z","iopub.status.idle":"2022-03-23T01:26:03.208793Z","shell.execute_reply.started":"2022-03-23T01:26:03.184361Z","shell.execute_reply":"2022-03-23T01:26:03.207942Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"train.id = train.id + '.tif'","metadata":{"execution":{"iopub.status.busy":"2022-03-23T01:26:03.210834Z","iopub.execute_input":"2022-03-23T01:26:03.211107Z","iopub.status.idle":"2022-03-23T01:26:03.277374Z","shell.execute_reply.started":"2022-03-23T01:26:03.211074Z","shell.execute_reply":"2022-03-23T01:26:03.275868Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"train.head()","metadata":{"execution":{"iopub.status.busy":"2022-03-23T01:26:03.279663Z","iopub.execute_input":"2022-03-23T01:26:03.280494Z","iopub.status.idle":"2022-03-23T01:26:03.295722Z","shell.execute_reply.started":"2022-03-23T01:26:03.280426Z","shell.execute_reply":"2022-03-23T01:26:03.294672Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"# Label Distribution","metadata":{}},{"cell_type":"code","source":"(train.label.value_counts() / len(train)).to_frame().sort_index().T","metadata":{"execution":{"iopub.status.busy":"2022-03-23T01:26:03.297697Z","iopub.execute_input":"2022-03-23T01:26:03.298345Z","iopub.status.idle":"2022-03-23T01:26:03.350034Z","shell.execute_reply.started":"2022-03-23T01:26:03.298285Z","shell.execute_reply":"2022-03-23T01:26:03.349289Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"# Extract Images","metadata":{}},{"cell_type":"code","source":"train_path = \"../input/histopathologic-cancer-detection/train\"\n\nsample = train.sample(n=16).reset_index()\n\nplt.figure(figsize=(6,6))\n\nfor i, row in sample.iterrows():\n\n    img = mpimg.imread(f'../input/histopathologic-cancer-detection/train/{row.id}')    \n    label = row.label\n\n    plt.subplot(4,4,i+1)\n    plt.imshow(img)\n    plt.text(0, -5, f'Class {label}', color='k')\n        \n    plt.axis('off')\n\nplt.tight_layout()\nplt.show()","metadata":{"execution":{"iopub.status.busy":"2022-03-23T01:26:03.351287Z","iopub.execute_input":"2022-03-23T01:26:03.351684Z","iopub.status.idle":"2022-03-23T01:26:04.239469Z","shell.execute_reply.started":"2022-03-23T01:26:03.35165Z","shell.execute_reply":"2022-03-23T01:26:04.2384Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"# Training and Validation Sets","metadata":{}},{"cell_type":"code","source":"train_df, valid_df = train_test_split(train, test_size=0.2, random_state=1, stratify=train.label)","metadata":{"execution":{"iopub.status.busy":"2022-03-23T01:26:04.241315Z","iopub.execute_input":"2022-03-23T01:26:04.241675Z","iopub.status.idle":"2022-03-23T01:26:04.626181Z","shell.execute_reply.started":"2022-03-23T01:26:04.241631Z","shell.execute_reply":"2022-03-23T01:26:04.625098Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"# Data Generators","metadata":{}},{"cell_type":"code","source":"train_datagen = ImageDataGenerator(rescale=1/255)\nvalidation_datagen = ImageDataGenerator(rescale=1/255)","metadata":{"execution":{"iopub.status.busy":"2022-03-23T01:26:04.627574Z","iopub.execute_input":"2022-03-23T01:26:04.62793Z","iopub.status.idle":"2022-03-23T01:26:04.632665Z","shell.execute_reply.started":"2022-03-23T01:26:04.627894Z","shell.execute_reply":"2022-03-23T01:26:04.632057Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"BATCH_SIZE = 64\n\ntrain_loader = train_datagen.flow_from_dataframe(\n    dataframe = valid_df,\n    directory = train_path,\n    x_col = 'id',\n    y_col = 'label',\n    batch_size = BATCH_SIZE,\n    seed = 1,\n    shuffle = True,\n    class_mode = 'categorical',\n    target_size = (32,32)\n)\n\nvalid_loader = train_datagen.flow_from_dataframe(\n    dataframe = valid_df,\n    directory = train_path,\n    x_col = 'id',\n    y_col = 'label',\n    batch_size = BATCH_SIZE,\n    seed = 1,\n    shuffle = True,\n    class_mode = 'categorical',\n    target_size = (32,32)\n)","metadata":{"execution":{"iopub.status.busy":"2022-03-23T01:26:04.633725Z","iopub.execute_input":"2022-03-23T01:26:04.634347Z","iopub.status.idle":"2022-03-23T01:27:51.772761Z","shell.execute_reply.started":"2022-03-23T01:26:04.634301Z","shell.execute_reply":"2022-03-23T01:27:51.771658Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TR_STEPS = len(train_loader)\nVA_STEPS = len(valid_loader)\n\nprint(TR_STEPS)\nprint(VA_STEPS)","metadata":{"execution":{"iopub.status.busy":"2022-03-23T01:27:51.783704Z","iopub.execute_input":"2022-03-23T01:27:51.784088Z","iopub.status.idle":"2022-03-23T01:27:51.790112Z","shell.execute_reply.started":"2022-03-23T01:27:51.784048Z","shell.execute_reply":"2022-03-23T01:27:51.789261Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"# Build and Train","metadata":{}},{"cell_type":"code","source":"os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"np.random.seed(1)\ntf.random.set_seed(1)\n\ncnn = Sequential([\n    Conv2D(16, (3,3), activation = 'relu', padding = 'same', input_shape=(32,32,3)),\n    Conv2D(16, (3,3), activation = 'relu', padding = 'same'),\n    MaxPooling2D(2,2),\n    Dropout(0.5),\n    BatchNormalization(),\n\n    Conv2D(64, (3,3), activation = 'relu', padding = 'same'),\n    Conv2D(64, (3,3), activation = 'relu', padding = 'same'),\n    MaxPooling2D(2,2),\n    Dropout(0.5),\n    BatchNormalization(),\n    \n    Conv2D(128, (3,3), activation = 'relu', padding = 'same'),\n    Conv2D(128, (3,3), activation = 'relu', padding = 'same'),\n    MaxPooling2D(2,2),\n    Dropout(0.5),\n    BatchNormalization(),\n\n    Flatten(),\n    \n    Dense(16, activation='relu'),\n    Dropout(0.5),\n    Dense(8, activation='relu'),\n    Dropout(0.5),\n    BatchNormalization(),\n    Dense(2, activation='softmax')\n])\n\ncnn.summary()","metadata":{"execution":{"iopub.status.busy":"2022-03-23T01:27:51.791451Z","iopub.execute_input":"2022-03-23T01:27:51.792099Z","iopub.status.idle":"2022-03-23T01:27:52.114711Z","shell.execute_reply.started":"2022-03-23T01:27:51.792054Z","shell.execute_reply":"2022-03-23T01:27:52.113789Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"opt = tf.keras.optimizers.Adam(0.001)\ncnn.compile(loss='categorical_crossentropy', optimizer=opt, metrics=['accuracy', tf.keras.metrics.AUC()])","metadata":{"execution":{"iopub.status.busy":"2022-03-23T01:27:52.116137Z","iopub.execute_input":"2022-03-23T01:27:52.116399Z","iopub.status.idle":"2022-03-23T01:27:52.141416Z","shell.execute_reply.started":"2022-03-23T01:27:52.116365Z","shell.execute_reply":"2022-03-23T01:27:52.140396Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"%%time \n\nh1 = cnn.fit(\n    x = train_loader, \n    steps_per_epoch = TR_STEPS, \n    epochs = 40,\n    validation_data = valid_loader, \n    validation_steps = VA_STEPS, \n    verbose = 1\n)","metadata":{"execution":{"iopub.status.busy":"2022-03-23T01:27:52.142927Z","iopub.execute_input":"2022-03-23T01:27:52.143521Z","iopub.status.idle":"2022-03-23T04:09:18.865851Z","shell.execute_reply.started":"2022-03-23T01:27:52.143471Z","shell.execute_reply":"2022-03-23T04:09:18.86369Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"history = h1.history\nprint(history.keys())","metadata":{"execution":{"iopub.status.busy":"2022-03-23T04:09:18.87094Z","iopub.execute_input":"2022-03-23T04:09:18.872674Z","iopub.status.idle":"2022-03-23T04:09:18.881197Z","shell.execute_reply.started":"2022-03-23T04:09:18.872619Z","shell.execute_reply":"2022-03-23T04:09:18.880043Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"epoch_range = range(1, len(history['loss'])+1)\n\nplt.figure(figsize=[14,4])\nplt.subplot(1,3,1)\nplt.plot(epoch_range, history['loss'], label='Training')\nplt.plot(epoch_range, history['val_loss'], label='Validation')\nplt.xlabel('Epoch'); plt.ylabel('Loss'); plt.title('Loss')\nplt.legend()\nplt.subplot(1,3,2)\nplt.plot(epoch_range, history['accuracy'], label='Training')\nplt.plot(epoch_range, history['val_accuracy'], label='Validation')\nplt.xlabel('Epoch'); plt.ylabel('Accuracy'); plt.title('Accuracy')\nplt.legend()\nplt.subplot(1,3,3)\nplt.plot(epoch_range, history['auc'], label='Training')\nplt.plot(epoch_range, history['val_auc'], label='Validation')\nplt.xlabel('Epoch'); plt.ylabel('AUC'); plt.title('AUC')\nplt.legend()\nplt.tight_layout()\nplt.show()","metadata":{"execution":{"iopub.status.busy":"2022-03-23T04:09:18.88291Z","iopub.execute_input":"2022-03-23T04:09:18.883247Z","iopub.status.idle":"2022-03-23T04:09:19.588877Z","shell.execute_reply.started":"2022-03-23T04:09:18.883211Z","shell.execute_reply":"2022-03-23T04:09:19.58802Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"# Train 2  ","metadata":{}},{"cell_type":"code","source":"tf.keras.backend.set_value(cnn.optimizer.learning_rate, 0.0001)","metadata":{"execution":{"iopub.status.busy":"2022-03-23T04:09:19.590568Z","iopub.execute_input":"2022-03-23T04:09:19.591138Z","iopub.status.idle":"2022-03-23T04:09:19.598491Z","shell.execute_reply.started":"2022-03-23T04:09:19.591089Z","shell.execute_reply":"2022-03-23T04:09:19.597426Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"%%time \n\nh2 = cnn.fit(\n    x = train_loader, \n    steps_per_epoch = TR_STEPS, \n    epochs = 30,\n    validation_data = valid_loader, \n    validation_steps = VA_STEPS, \n    verbose = 1\n)","metadata":{"execution":{"iopub.status.busy":"2022-03-23T04:09:19.600109Z","iopub.execute_input":"2022-03-23T04:09:19.60039Z","iopub.status.idle":"2022-03-23T06:10:28.375143Z","shell.execute_reply.started":"2022-03-23T04:09:19.600341Z","shell.execute_reply":"2022-03-23T06:10:28.373132Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"for k in history.keys():\n    history[k] += h2.history[k]\n\nepoch_range = range(1, len(history['loss'])+1)\n\nplt.figure(figsize=[14,4])\nplt.subplot(1,3,1)\nplt.plot(epoch_range, history['loss'], label='Training')\nplt.plot(epoch_range, history['val_loss'], label='Validation')\nplt.xlabel('Epoch'); plt.ylabel('Loss'); plt.title('Loss')\nplt.legend()\nplt.subplot(1,3,2)\nplt.plot(epoch_range, history['accuracy'], label='Training')\nplt.plot(epoch_range, history['val_accuracy'], label='Validation')\nplt.xlabel('Epoch'); plt.ylabel('Accuracy'); plt.title('Accuracy')\nplt.legend()\nplt.subplot(1,3,3)\nplt.plot(epoch_range, history['auc'], label='Training')\nplt.plot(epoch_range, history['val_auc'], label='Validation')\nplt.xlabel('Epoch'); plt.ylabel('AUC'); plt.title('AUC')\nplt.legend()\nplt.tight_layout()\nplt.show()","metadata":{"execution":{"iopub.status.busy":"2022-03-23T06:10:28.378758Z","iopub.execute_input":"2022-03-23T06:10:28.379204Z","iopub.status.idle":"2022-03-23T06:10:29.038539Z","shell.execute_reply.started":"2022-03-23T06:10:28.379145Z","shell.execute_reply":"2022-03-23T06:10:29.035887Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## Training 3","metadata":{}},{"cell_type":"code","source":"tf.keras.backend.set_value(cnn.optimizer.learning_rate, 0.0001)","metadata":{"execution":{"iopub.status.busy":"2022-03-23T06:10:29.04039Z","iopub.execute_input":"2022-03-23T06:10:29.040652Z","iopub.status.idle":"2022-03-23T06:10:29.047883Z","shell.execute_reply.started":"2022-03-23T06:10:29.040619Z","shell.execute_reply":"2022-03-23T06:10:29.046974Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"%%time \n\nh3 = cnn.fit(\n    x = train_loader, \n    steps_per_epoch = TR_STEPS, \n    epochs = 20,\n    validation_data = valid_loader, \n    validation_steps = VA_STEPS, \n    verbose = 1\n)","metadata":{"execution":{"iopub.status.busy":"2022-03-23T06:10:29.049648Z","iopub.execute_input":"2022-03-23T06:10:29.049935Z","iopub.status.idle":"2022-03-23T07:32:25.821285Z","shell.execute_reply.started":"2022-03-23T06:10:29.049897Z","shell.execute_reply":"2022-03-23T07:32:25.819049Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"for k in history.keys():\n    history[k] += h3.history[k]\n\nepoch_range = range(1, len(history['loss'])+1)\n\nplt.figure(figsize=[14,4])\nplt.subplot(1,3,1)\nplt.plot(epoch_range, history['loss'], label='Training')\nplt.plot(epoch_range, history['val_loss'], label='Validation')\nplt.xlabel('Epoch'); plt.ylabel('Loss'); plt.title('Loss')\nplt.legend()\nplt.subplot(1,3,2)\nplt.plot(epoch_range, history['accuracy'], label='Training')\nplt.plot(epoch_range, history['val_accuracy'], label='Validation')\nplt.xlabel('Epoch'); plt.ylabel('Accuracy'); plt.title('Accuracy')\nplt.legend()\nplt.subplot(1,3,3)\nplt.plot(epoch_range, history['auc'], label='Training')\nplt.plot(epoch_range, history['val_auc'], label='Validation')\nplt.xlabel('Epoch'); plt.ylabel('AUC'); plt.title('AUC')\nplt.legend()\nplt.tight_layout()\nplt.show()","metadata":{"execution":{"iopub.status.busy":"2022-03-23T07:32:25.825914Z","iopub.execute_input":"2022-03-23T07:32:25.826345Z","iopub.status.idle":"2022-03-23T07:32:26.472917Z","shell.execute_reply.started":"2022-03-23T07:32:25.826308Z","shell.execute_reply":"2022-03-23T07:32:26.471696Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"cnn.save('HCDv01.h5')\npickle.dump(history, open(f'HCDv01.pkl', 'wb'))","metadata":{"execution":{"iopub.status.busy":"2022-03-23T07:32:26.474881Z","iopub.execute_input":"2022-03-23T07:32:26.475243Z","iopub.status.idle":"2022-03-23T07:32:26.600212Z","shell.execute_reply.started":"2022-03-23T07:32:26.475196Z","shell.execute_reply":"2022-03-23T07:32:26.599089Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"# Submission","metadata":{}},{"cell_type":"code","source":"test = pd.read_csv('../input/histopathologic-cancer-detection/sample_submission.csv')\n\nprint('Test Set Size:', test.shape)","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"test['filename'] = test.id + '.tif'","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"test.head()","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"test_path = \"../input/histopathologic-cancer-detection/test\"\nprint('Test Images:', len(os.listdir(test_path)))","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"BATCH_SIZE = 64\n\ntest_datagen = ImageDataGenerator(rescale=1/255)\n\ntest_loader = test_datagen.flow_from_dataframe(\n    dataframe = test,\n    directory = test_path,\n    x_col = 'filename',\n    batch_size = BATCH_SIZE,\n    shuffle = False,\n    class_mode = None,\n    target_size = (32,32)\n)","metadata":{"execution":{"iopub.status.busy":"2022-03-23T07:32:26.602211Z","iopub.execute_input":"2022-03-23T07:32:26.602577Z","iopub.status.idle":"2022-03-23T07:32:27.172736Z","shell.execute_reply.started":"2022-03-23T07:32:26.60253Z","shell.execute_reply":"2022-03-23T07:32:27.171341Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"test_probs = cnn.predict(test_loader)\nprint(test_probs.shape)","metadata":{"execution":{"iopub.status.busy":"2022-03-23T07:32:27.174538Z","iopub.status.idle":"2022-03-23T07:32:27.175378Z","shell.execute_reply.started":"2022-03-23T07:32:27.17508Z","shell.execute_reply":"2022-03-23T07:32:27.175114Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print(len(test_loader))\n","metadata":{"execution":{"iopub.status.busy":"2022-03-23T07:32:27.177172Z","iopub.status.idle":"2022-03-23T07:32:27.177864Z","shell.execute_reply.started":"2022-03-23T07:32:27.177572Z","shell.execute_reply":"2022-03-23T07:32:27.177601Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print(test_probs[:10,].round(2))\n","metadata":{"execution":{"iopub.status.busy":"2022-03-23T07:32:27.179377Z","iopub.status.idle":"2022-03-23T07:32:27.180059Z","shell.execute_reply.started":"2022-03-23T07:32:27.179773Z","shell.execute_reply":"2022-03-23T07:32:27.1798Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"test_pred = np.argmax(test_probs, axis=1)\nprint(test_pred[:10])","metadata":{"execution":{"iopub.status.busy":"2022-03-23T07:32:27.181618Z","iopub.status.idle":"2022-03-23T07:32:27.18229Z","shell.execute_reply.started":"2022-03-23T07:32:27.182023Z","shell.execute_reply":"2022-03-23T07:32:27.182051Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"# Prepare Submission","metadata":{}},{"cell_type":"code","source":"submission = pd.read_csv('../input/histopathologic-cancer-detection/sample_submission.csv')\nsubmission.head()","metadata":{"execution":{"iopub.status.busy":"2022-03-23T07:32:27.183732Z","iopub.status.idle":"2022-03-23T07:32:27.184381Z","shell.execute_reply.started":"2022-03-23T07:32:27.184122Z","shell.execute_reply":"2022-03-23T07:32:27.184149Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"submission.label = test_probs[:,1]\nsubmission.head()","metadata":{"execution":{"iopub.status.busy":"2022-03-23T07:32:27.185919Z","iopub.status.idle":"2022-03-23T07:32:27.186567Z","shell.execute_reply.started":"2022-03-23T07:32:27.186297Z","shell.execute_reply":"2022-03-23T07:32:27.186324Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"submission.to_csv('submission.csv', header=True, index=False)","metadata":{"execution":{"iopub.status.busy":"2022-03-23T07:32:27.188118Z","iopub.status.idle":"2022-03-23T07:32:27.188759Z","shell.execute_reply.started":"2022-03-23T07:32:27.188499Z","shell.execute_reply":"2022-03-23T07:32:27.188526Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}