{"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":"import pandas as pd\nimport numpy as np\nimport matplotlib.pyplot as plt\nimport os, sys\nfrom PIL import Image\nimport glob\nimport cv2\nfrom keras.utils import to_categorical\nimport keras\nfrom sklearn.model_selection import StratifiedShuffleSplit","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:23:17.202346Z","iopub.execute_input":"2021-05-26T22:23:17.202686Z","iopub.status.idle":"2021-05-26T22:23:23.043780Z","shell.execute_reply.started":"2021-05-26T22:23:17.202613Z","shell.execute_reply":"2021-05-26T22:23:23.042942Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"train = pd.read_csv('../input/train-data/traina_3.csv')","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:23:23.045282Z","iopub.execute_input":"2021-05-26T22:23:23.045627Z","iopub.status.idle":"2021-05-26T22:23:23.067820Z","shell.execute_reply.started":"2021-05-26T22:23:23.045593Z","shell.execute_reply":"2021-05-26T22:23:23.067055Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"train.head()","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:23:23.069598Z","iopub.execute_input":"2021-05-26T22:23:23.069956Z","iopub.status.idle":"2021-05-26T22:23:23.092201Z","shell.execute_reply.started":"2021-05-26T22:23:23.069918Z","shell.execute_reply":"2021-05-26T22:23:23.091505Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"len(train)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:23:23.095147Z","iopub.execute_input":"2021-05-26T22:23:23.095410Z","iopub.status.idle":"2021-05-26T22:23:23.102231Z","shell.execute_reply.started":"2021-05-26T22:23:23.095385Z","shell.execute_reply":"2021-05-26T22:23:23.101265Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"x_train = [cv2.resize(np.asarray(Image.open('../input/aptos2019-blindness-detection/train_images/'+i+'.png')),(256,256)) for i in train.id_code]","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:23:23.103689Z","iopub.execute_input":"2021-05-26T22:23:23.104303Z","iopub.status.idle":"2021-05-26T22:32:29.166640Z","shell.execute_reply.started":"2021-05-26T22:23:23.104263Z","shell.execute_reply":"2021-05-26T22:32:29.165796Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"x_train = np.array(x_train)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:32:29.167970Z","iopub.execute_input":"2021-05-26T22:32:29.168330Z","iopub.status.idle":"2021-05-26T22:32:29.413453Z","shell.execute_reply.started":"2021-05-26T22:32:29.168294Z","shell.execute_reply":"2021-05-26T22:32:29.412583Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"x_train = np.array(x_train)","metadata":{"jupyter":{"source_hidden":true},"execution":{"iopub.status.busy":"2021-05-26T22:32:29.414760Z","iopub.execute_input":"2021-05-26T22:32:29.415117Z","iopub.status.idle":"2021-05-26T22:32:29.661841Z","shell.execute_reply.started":"2021-05-26T22:32:29.415077Z","shell.execute_reply":"2021-05-26T22:32:29.660991Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"y_train = train.diagnosis","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:32:29.664419Z","iopub.execute_input":"2021-05-26T22:32:29.664769Z","iopub.status.idle":"2021-05-26T22:32:29.668561Z","shell.execute_reply.started":"2021-05-26T22:32:29.664732Z","shell.execute_reply":"2021-05-26T22:32:29.667631Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"y_train = to_categorical(y_train)\ny_train","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:32:29.670561Z","iopub.execute_input":"2021-05-26T22:32:29.671150Z","iopub.status.idle":"2021-05-26T22:32:29.683964Z","shell.execute_reply.started":"2021-05-26T22:32:29.671113Z","shell.execute_reply":"2021-05-26T22:32:29.683143Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"s = StratifiedShuffleSplit(n_splits=5, test_size=0.2, random_state=7)\ns.get_n_splits(x_train, y_train)\nfor train_index, test_index in s.split(x_train, y_train):\n    x_traino, x_testo = x_train[train_index], x_train[test_index]\n    y_traino, y_testo = y_train[train_index], y_train[test_index]","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:32:29.685301Z","iopub.execute_input":"2021-05-26T22:32:29.685758Z","iopub.status.idle":"2021-05-26T22:32:30.689735Z","shell.execute_reply.started":"2021-05-26T22:32:29.685721Z","shell.execute_reply":"2021-05-26T22:32:30.688836Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"m1 = keras.applications.densenet.DenseNet121(input_shape=(256,256,3),include_top=True,weights=None)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:32:30.691103Z","iopub.execute_input":"2021-05-26T22:32:30.691479Z","iopub.status.idle":"2021-05-26T22:32:34.795000Z","shell.execute_reply.started":"2021-05-26T22:32:30.691440Z","shell.execute_reply":"2021-05-26T22:32:34.794223Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"m1.summary()","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:32:34.796275Z","iopub.execute_input":"2021-05-26T22:32:34.796602Z","iopub.status.idle":"2021-05-26T22:32:34.984860Z","shell.execute_reply.started":"2021-05-26T22:32:34.796567Z","shell.execute_reply":"2021-05-26T22:32:34.984114Z"},"collapsed":true,"jupyter":{"outputs_hidden":true},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"m1.load_weights('../input/densenet-keras/DenseNet-BC-121-32.h5')","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:32:34.985996Z","iopub.execute_input":"2021-05-26T22:32:34.986256Z","iopub.status.idle":"2021-05-26T22:32:36.670647Z","shell.execute_reply.started":"2021-05-26T22:32:34.986231Z","shell.execute_reply":"2021-05-26T22:32:36.669789Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"x = m1.layers[-2].output\nd = keras.layers.Dense(512,activation='relu')(x)\ne = keras.layers.Dense(5,activation='softmax')(d)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:32:36.672226Z","iopub.execute_input":"2021-05-26T22:32:36.672542Z","iopub.status.idle":"2021-05-26T22:32:36.692831Z","shell.execute_reply.started":"2021-05-26T22:32:36.672508Z","shell.execute_reply":"2021-05-26T22:32:36.692116Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"m2 = keras.models.Model(m1.input,e)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:32:36.693983Z","iopub.execute_input":"2021-05-26T22:32:36.694353Z","iopub.status.idle":"2021-05-26T22:32:36.721784Z","shell.execute_reply.started":"2021-05-26T22:32:36.694318Z","shell.execute_reply":"2021-05-26T22:32:36.721112Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"m2.compile(loss='categorical_crossentropy',optimizer='adam',metrics=['accuracy'])","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:32:36.722852Z","iopub.execute_input":"2021-05-26T22:32:36.723341Z","iopub.status.idle":"2021-05-26T22:32:36.744664Z","shell.execute_reply.started":"2021-05-26T22:32:36.723304Z","shell.execute_reply":"2021-05-26T22:32:36.743968Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"m2.fit(x_traino,y_traino,validation_data=(x_testo,y_testo),epochs=20)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:50:09.115082Z","iopub.execute_input":"2021-05-26T22:50:09.115425Z","iopub.status.idle":"2021-05-26T22:56:51.637675Z","shell.execute_reply.started":"2021-05-26T22:50:09.115395Z","shell.execute_reply":"2021-05-26T22:56:51.636903Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"test1 = []\ntest_rd = pd.read_csv('../input/test-data/testa_3.csv')","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:56:51.639121Z","iopub.execute_input":"2021-05-26T22:56:51.639488Z","iopub.status.idle":"2021-05-26T22:56:51.651773Z","shell.execute_reply.started":"2021-05-26T22:56:51.639451Z","shell.execute_reply":"2021-05-26T22:56:51.650708Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"for i in test_rd.id_code:\n    tp = np.array(cv2.resize(np.array(Image.open('../input/aptos2019-blindness-detection/train_images/'+i+'.png')),(256,256)))\n    test1.append(tp)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:56:51.653677Z","iopub.execute_input":"2021-05-26T22:56:51.654430Z","iopub.status.idle":"2021-05-26T22:57:26.701462Z","shell.execute_reply.started":"2021-05-26T22:56:51.654307Z","shell.execute_reply":"2021-05-26T22:57:26.700594Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"test1 = np.array(test1)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:26.703089Z","iopub.execute_input":"2021-05-26T22:57:26.703443Z","iopub.status.idle":"2021-05-26T22:57:26.726795Z","shell.execute_reply.started":"2021-05-26T22:57:26.703406Z","shell.execute_reply":"2021-05-26T22:57:26.725996Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"np.random.seed(42)\nres_1 = m2.predict(test1)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:26.728015Z","iopub.execute_input":"2021-05-26T22:57:26.728517Z","iopub.status.idle":"2021-05-26T22:57:27.403554Z","shell.execute_reply.started":"2021-05-26T22:57:26.728477Z","shell.execute_reply":"2021-05-26T22:57:27.400953Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"res_2 = []\nfor i in res_1:\n    res_2.append(np.argmax(i))","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.405488Z","iopub.execute_input":"2021-05-26T22:57:27.405827Z","iopub.status.idle":"2021-05-26T22:57:27.418825Z","shell.execute_reply.started":"2021-05-26T22:57:27.405790Z","shell.execute_reply":"2021-05-26T22:57:27.418027Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"test2 = pd.DataFrame({\"id_code\": test_rd[\"id_code\"].values, \"diagnosis\": res_2})\ntest2.head(20)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.425280Z","iopub.execute_input":"2021-05-26T22:57:27.425825Z","iopub.status.idle":"2021-05-26T22:57:27.450155Z","shell.execute_reply.started":"2021-05-26T22:57:27.425789Z","shell.execute_reply":"2021-05-26T22:57:27.449279Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"test2.to_csv('submission.csv',index=False)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.455631Z","iopub.execute_input":"2021-05-26T22:57:27.457289Z","iopub.status.idle":"2021-05-26T22:57:27.470514Z","shell.execute_reply.started":"2021-05-26T22:57:27.457129Z","shell.execute_reply":"2021-05-26T22:57:27.469418Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"dtest = pd.read_csv('../input/test-cmp/traina_testa_compare_3.csv')","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.477130Z","iopub.execute_input":"2021-05-26T22:57:27.478641Z","iopub.status.idle":"2021-05-26T22:57:27.494402Z","shell.execute_reply.started":"2021-05-26T22:57:27.478595Z","shell.execute_reply":"2021-05-26T22:57:27.493381Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"A = test2[\"diagnosis\"]","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.498775Z","iopub.execute_input":"2021-05-26T22:57:27.499341Z","iopub.status.idle":"2021-05-26T22:57:27.505880Z","shell.execute_reply.started":"2021-05-26T22:57:27.499302Z","shell.execute_reply":"2021-05-26T22:57:27.505128Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"B = dtest[\"diagnosis\"]","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.507189Z","iopub.execute_input":"2021-05-26T22:57:27.508492Z","iopub.status.idle":"2021-05-26T22:57:27.514394Z","shell.execute_reply.started":"2021-05-26T22:57:27.508454Z","shell.execute_reply":"2021-05-26T22:57:27.513638Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"import seaborn as sns\nclu = [\"Non Proliferative DR\",\"Proliferative DR\"]\nv=0\nv1=0\nfor i in A:\n    if (i==0):\n        v=v+1\n    else:\n        v1=v1+1\nuo=[v,v1]\nV = True\nif V:\n    sns.barplot(clu, uo, alpha=0.8, palette='magma')\n    plt.xlabel(\"Severity of Diabetic Retinopathy\")\n    plt.ylabel(\"Count\")\n    plt.show()","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.516666Z","iopub.execute_input":"2021-05-26T22:57:27.517143Z","iopub.status.idle":"2021-05-26T22:57:27.705890Z","shell.execute_reply.started":"2021-05-26T22:57:27.517105Z","shell.execute_reply":"2021-05-26T22:57:27.705101Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"C = []\nfor i in A:\n    if(i==0):\n        lu=0\n        C.append(lu)\n    else:\n        lus=1\n        C.append(lus)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.710725Z","iopub.execute_input":"2021-05-26T22:57:27.713477Z","iopub.status.idle":"2021-05-26T22:57:27.721418Z","shell.execute_reply.started":"2021-05-26T22:57:27.713434Z","shell.execute_reply":"2021-05-26T22:57:27.720254Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"D = []\nfor i in B:\n    if(i==0):\n        lu=0\n        D.append(lu)\n    else:\n        lus=1\n        D.append(lus)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.725081Z","iopub.execute_input":"2021-05-26T22:57:27.728742Z","iopub.status.idle":"2021-05-26T22:57:27.737112Z","shell.execute_reply.started":"2021-05-26T22:57:27.728698Z","shell.execute_reply":"2021-05-26T22:57:27.736199Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"from sklearn.metrics import accuracy_score","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.738262Z","iopub.execute_input":"2021-05-26T22:57:27.741243Z","iopub.status.idle":"2021-05-26T22:57:27.748617Z","shell.execute_reply.started":"2021-05-26T22:57:27.741203Z","shell.execute_reply":"2021-05-26T22:57:27.747671Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"accuracy_score(C,D)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.749891Z","iopub.execute_input":"2021-05-26T22:57:27.750444Z","iopub.status.idle":"2021-05-26T22:57:27.762713Z","shell.execute_reply.started":"2021-05-26T22:57:27.750403Z","shell.execute_reply":"2021-05-26T22:57:27.761960Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"from sklearn.metrics import confusion_matrix","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.764143Z","iopub.execute_input":"2021-05-26T22:57:27.765947Z","iopub.status.idle":"2021-05-26T22:57:27.770929Z","shell.execute_reply.started":"2021-05-26T22:57:27.765906Z","shell.execute_reply":"2021-05-26T22:57:27.770205Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"C_M = confusion_matrix(C,D)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.772129Z","iopub.execute_input":"2021-05-26T22:57:27.773799Z","iopub.status.idle":"2021-05-26T22:57:27.781830Z","shell.execute_reply.started":"2021-05-26T22:57:27.773761Z","shell.execute_reply":"2021-05-26T22:57:27.780891Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"import seaborn as sns","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.783235Z","iopub.execute_input":"2021-05-26T22:57:27.783737Z","iopub.status.idle":"2021-05-26T22:57:27.787637Z","shell.execute_reply.started":"2021-05-26T22:57:27.783700Z","shell.execute_reply":"2021-05-26T22:57:27.786687Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sns.heatmap(C_M, annot=True, fmt='.2f', cmap=\"Blues\").set_title('Confusion Matrix')\nplt.show()","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:27.788959Z","iopub.execute_input":"2021-05-26T22:57:27.789536Z","iopub.status.idle":"2021-05-26T22:57:28.025821Z","shell.execute_reply.started":"2021-05-26T22:57:27.789501Z","shell.execute_reply":"2021-05-26T22:57:28.025093Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"from sklearn.metrics import classification_report","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:28.026971Z","iopub.execute_input":"2021-05-26T22:57:28.027322Z","iopub.status.idle":"2021-05-26T22:57:28.031526Z","shell.execute_reply.started":"2021-05-26T22:57:28.027287Z","shell.execute_reply":"2021-05-26T22:57:28.030388Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print (classification_report(C,D))","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:28.032896Z","iopub.execute_input":"2021-05-26T22:57:28.033340Z","iopub.status.idle":"2021-05-26T22:57:28.048869Z","shell.execute_reply.started":"2021-05-26T22:57:28.033303Z","shell.execute_reply":"2021-05-26T22:57:28.048101Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"clu = [\"Non-Proliferative\",\"Mild\", \"Moderate\", \"Severe\", \"Proliferative\" ]\nddr=0\nddr1=0\nddr2=0\nddr3=0\nddr4=0\nfor i in A:\n    if (i==0):\n        ddr=ddr+1\n    elif(i==1):\n        ddr1=ddr1+1\n    elif(i==2):\n        ddr2=ddr2+1\n    elif(i==3):\n        ddr3=ddr3+1\n    elif(i==4):\n        ddr4=ddr4+1    \nuo=[ddr,ddr1,ddr2,ddr3,ddr4]\nV = True\nif V:\n    \n    plt.figure(figsize=(10,5))\n    sns.barplot(clu, uo, alpha=0.8, palette='magma')\n    plt.title('Severity')\n    plt.ylabel('No of cases', fontsize=12)\n    plt.xlabel('Types of Cases', fontsize=12)\n    plt.show()","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:28.052062Z","iopub.execute_input":"2021-05-26T22:57:28.052593Z","iopub.status.idle":"2021-05-26T22:57:28.197535Z","shell.execute_reply.started":"2021-05-26T22:57:28.052558Z","shell.execute_reply":"2021-05-26T22:57:28.196596Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"cf_matrix = confusion_matrix(A,B)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:28.199114Z","iopub.execute_input":"2021-05-26T22:57:28.199486Z","iopub.status.idle":"2021-05-26T22:57:28.205913Z","shell.execute_reply.started":"2021-05-26T22:57:28.199443Z","shell.execute_reply":"2021-05-26T22:57:28.204750Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sns.heatmap(cf_matrix, annot=True, fmt='.2f', cmap=\"Blues\").set_title('Confusion Matrix')\nplt.show()","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:28.207337Z","iopub.execute_input":"2021-05-26T22:57:28.207794Z","iopub.status.idle":"2021-05-26T22:57:28.484750Z","shell.execute_reply.started":"2021-05-26T22:57:28.207755Z","shell.execute_reply":"2021-05-26T22:57:28.484024Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"accuracy_score(A,B)","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:28.485988Z","iopub.execute_input":"2021-05-26T22:57:28.486327Z","iopub.status.idle":"2021-05-26T22:57:28.492630Z","shell.execute_reply.started":"2021-05-26T22:57:28.486293Z","shell.execute_reply":"2021-05-26T22:57:28.491839Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print (classification_report(A,B))","metadata":{"execution":{"iopub.status.busy":"2021-05-26T22:57:28.494035Z","iopub.execute_input":"2021-05-26T22:57:28.494628Z","iopub.status.idle":"2021-05-26T22:57:28.508670Z","shell.execute_reply.started":"2021-05-26T22:57:28.494590Z","shell.execute_reply":"2021-05-26T22:57:28.507764Z"},"trusted":true},"execution_count":null,"outputs":[]}]}