{"cells":[{"cell_type":"code","source":[],"metadata":{"id":"_HeKT-ajBWXh","executionInfo":{"status":"ok","timestamp":1747299154667,"user_tz":-330,"elapsed":2,"user":{"displayName":"Surendra","userId":"17580320614144699442"}}},"id":"_HeKT-ajBWXh","execution_count":82,"outputs":[]},{"cell_type":"code","source":["from google.colab import drive\n","drive.mount('/content/drive')"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"4i_t5qxQBYMv","executionInfo":{"status":"ok","timestamp":1747299156431,"user_tz":-330,"elapsed":1762,"user":{"displayName":"Surendra","userId":"17580320614144699442"}},"outputId":"a38f6c33-89f2-4b52-c22a-0dcc797f849d"},"id":"4i_t5qxQBYMv","execution_count":83,"outputs":[{"output_type":"stream","name":"stdout","text":["Drive already mounted at /content/drive; to attempt to forcibly remount, call drive.mount(\"/content/drive\", force_remount=True).\n"]}]},{"cell_type":"code","source":["import os\n","# os.get_dir('/content/drive')\n","path='/content/drive/MyDrive/Deep Learning/mini_sample_project/'\n","os.listdir('/content/drive/MyDrive/Deep Learning/mini_sample_project')"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"u8nAtqyhBWUx","executionInfo":{"status":"ok","timestamp":1747299156432,"user_tz":-330,"elapsed":15,"user":{"displayName":"Surendra","userId":"17580320614144699442"}},"outputId":"6e6db817-9dc0-4578-f38c-ccd96101de8f"},"id":"u8nAtqyhBWUx","execution_count":84,"outputs":[{"output_type":"execute_result","data":{"text/plain":["['neuron.ipynb', 'MentalHealth_risk_identification.csv']"]},"metadata":{},"execution_count":84}]},{"cell_type":"code","execution_count":85,"id":"c6de1db9","metadata":{"id":"c6de1db9","executionInfo":{"status":"ok","timestamp":1747299156432,"user_tz":-330,"elapsed":5,"user":{"displayName":"Surendra","userId":"17580320614144699442"}}},"outputs":[],"source":["import pandas as pd\n","import seaborn as sns\n","import matplotlib.pyplot as plt"]},{"cell_type":"code","execution_count":86,"id":"f6557186","metadata":{"colab":{"base_uri":"https://localhost:8080/","height":441},"id":"f6557186","executionInfo":{"status":"ok","timestamp":1747299156480,"user_tz":-330,"elapsed":51,"user":{"displayName":"Surendra","userId":"17580320614144699442"}},"outputId":"570a5141-d1aa-4888-d25a-0234ef17944b"},"outputs":[{"output_type":"stream","name":"stdout","text":["2087\n"]},{"output_type":"execute_result","data":{"text/plain":[" Age Gender Work Hours Family History Sleep Hours Stress Level \\\n","0 79 Male 20 Yes 7 7 \n","1 20 Others 31 No 8 7 \n","2 40 Male 39 No 8 4 \n","3 35 Female 66 Yes 7 10 \n","4 81 Female 42 Yes 6 2 \n","... ... ... ... ... ... ... \n","2082 63 Male 38 No 7 0 \n","2083 96 Female 34 No 6 9 \n","2084 25 Male 62 Yes 7 7 \n","2085 96 Female 65 Yes 4 9 \n","2086 50 Male 46 Yes 7 6 \n","\n"," Physical Activity Social Interaction Diet Quality Treatment \n","0 24 2 Average Yes \n","1 2 2 Average No \n","2 7 8 Good Yes \n","3 40 2 Average Yes \n","4 78 2 Good Yes \n","... ... ... ... ... \n","2082 61 5 Good No \n","2083 97 1 Average Yes \n","2084 138 2 Poor Yes \n","2085 76 7 Poor Yes \n","2086 51 3 Average No \n","\n","[2087 rows x 10 columns]"],"text/html":["\n","
| \n"," | Age | \n","Gender | \n","Work Hours | \n","Family History | \n","Sleep Hours | \n","Stress Level | \n","Physical Activity | \n","Social Interaction | \n","Diet Quality | \n","Treatment | \n","
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | \n","79 | \n","Male | \n","20 | \n","Yes | \n","7 | \n","7 | \n","24 | \n","2 | \n","Average | \n","Yes | \n","
| 1 | \n","20 | \n","Others | \n","31 | \n","No | \n","8 | \n","7 | \n","2 | \n","2 | \n","Average | \n","No | \n","
| 2 | \n","40 | \n","Male | \n","39 | \n","No | \n","8 | \n","4 | \n","7 | \n","8 | \n","Good | \n","Yes | \n","
| 3 | \n","35 | \n","Female | \n","66 | \n","Yes | \n","7 | \n","10 | \n","40 | \n","2 | \n","Average | \n","Yes | \n","
| 4 | \n","81 | \n","Female | \n","42 | \n","Yes | \n","6 | \n","2 | \n","78 | \n","2 | \n","Good | \n","Yes | \n","
| ... | \n","... | \n","... | \n","... | \n","... | \n","... | \n","... | \n","... | \n","... | \n","... | \n","... | \n","
| 2082 | \n","63 | \n","Male | \n","38 | \n","No | \n","7 | \n","0 | \n","61 | \n","5 | \n","Good | \n","No | \n","
| 2083 | \n","96 | \n","Female | \n","34 | \n","No | \n","6 | \n","9 | \n","97 | \n","1 | \n","Average | \n","Yes | \n","
| 2084 | \n","25 | \n","Male | \n","62 | \n","Yes | \n","7 | \n","7 | \n","138 | \n","2 | \n","Poor | \n","Yes | \n","
| 2085 | \n","96 | \n","Female | \n","65 | \n","Yes | \n","4 | \n","9 | \n","76 | \n","7 | \n","Poor | \n","Yes | \n","
| 2086 | \n","50 | \n","Male | \n","46 | \n","Yes | \n","7 | \n","6 | \n","51 | \n","3 | \n","Average | \n","No | \n","
2087 rows × 10 columns
\n","| \n"," | Age | \n","Gender | \n","Work Hours | \n","Family History | \n","Sleep Hours | \n","Stress Level | \n","Physical Activity | \n","Social Interaction | \n","Diet Quality | \n","Treatment | \n","
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | \n","79 | \n","Male | \n","20 | \n","Yes | \n","7 | \n","7 | \n","24 | \n","2 | \n","Average | \n","1.0 | \n","
| 1 | \n","20 | \n","Others | \n","31 | \n","No | \n","8 | \n","7 | \n","2 | \n","2 | \n","Average | \n","0.0 | \n","
| 2 | \n","40 | \n","Male | \n","39 | \n","No | \n","8 | \n","4 | \n","7 | \n","8 | \n","Good | \n","1.0 | \n","
| 3 | \n","35 | \n","Female | \n","66 | \n","Yes | \n","7 | \n","10 | \n","40 | \n","2 | \n","Average | \n","1.0 | \n","
| 4 | \n","81 | \n","Female | \n","42 | \n","Yes | \n","6 | \n","2 | \n","78 | \n","2 | \n","Good | \n","1.0 | \n","
| ... | \n","... | \n","... | \n","... | \n","... | \n","... | \n","... | \n","... | \n","... | \n","... | \n","... | \n","
| 2082 | \n","63 | \n","Male | \n","38 | \n","No | \n","7 | \n","0 | \n","61 | \n","5 | \n","Good | \n","0.0 | \n","
| 2083 | \n","96 | \n","Female | \n","34 | \n","No | \n","6 | \n","9 | \n","97 | \n","1 | \n","Average | \n","1.0 | \n","
| 2084 | \n","25 | \n","Male | \n","62 | \n","Yes | \n","7 | \n","7 | \n","138 | \n","2 | \n","Poor | \n","1.0 | \n","
| 2085 | \n","96 | \n","Female | \n","65 | \n","Yes | \n","4 | \n","9 | \n","76 | \n","7 | \n","Poor | \n","1.0 | \n","
| 2086 | \n","50 | \n","Male | \n","46 | \n","Yes | \n","7 | \n","6 | \n","51 | \n","3 | \n","Average | \n","0.0 | \n","
2087 rows × 10 columns
\n","ColumnTransformer(remainder='passthrough',\n"," transformers=[('ord',\n"," Pipeline(steps=[('ordnal', OrdinalEncoder())]),\n"," ['Diet Quality']),\n"," ('nominal',\n"," Pipeline(steps=[('nomianl',\n"," OneHotEncoder(drop='first',\n"," sparse_output=False))]),\n"," ['Gender', 'Family History']),\n"," ('scaling',\n"," Pipeline(steps=[('s', StandardScaler())]),\n"," ['Age', 'Work Hours', 'Sleep Hours',\n"," 'Stress Level', 'Physical Activity',\n"," 'Social Interaction'])])In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. ColumnTransformer(remainder='passthrough',\n"," transformers=[('ord',\n"," Pipeline(steps=[('ordnal', OrdinalEncoder())]),\n"," ['Diet Quality']),\n"," ('nominal',\n"," Pipeline(steps=[('nomianl',\n"," OneHotEncoder(drop='first',\n"," sparse_output=False))]),\n"," ['Gender', 'Family History']),\n"," ('scaling',\n"," Pipeline(steps=[('s', StandardScaler())]),\n"," ['Age', 'Work Hours', 'Sleep Hours',\n"," 'Stress Level', 'Physical Activity',\n"," 'Social Interaction'])])['Diet Quality']
OrdinalEncoder()
['Gender', 'Family History']
OneHotEncoder(drop='first', sparse_output=False)
['Age', 'Work Hours', 'Sleep Hours', 'Stress Level', 'Physical Activity', 'Social Interaction']
StandardScaler()
passthrough
Model: \"sequential_1\"\n","\n"]},"metadata":{}},{"output_type":"display_data","data":{"text/plain":["┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓\n","┃\u001b[1m \u001b[0m\u001b[1mLayer (type) \u001b[0m\u001b[1m \u001b[0m┃\u001b[1m \u001b[0m\u001b[1mOutput Shape \u001b[0m\u001b[1m \u001b[0m┃\u001b[1m \u001b[0m\u001b[1m Param #\u001b[0m\u001b[1m \u001b[0m┃\n","┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩\n","│ batch_normalization_2 │ (\u001b[38;5;45mNone\u001b[0m, \u001b[38;5;34m10\u001b[0m) │ \u001b[38;5;34m40\u001b[0m │\n","│ (\u001b[38;5;33mBatchNormalization\u001b[0m) │ │ │\n","├─────────────────────────────────┼────────────────────────┼───────────────┤\n","│ dense_3 (\u001b[38;5;33mDense\u001b[0m) │ (\u001b[38;5;45mNone\u001b[0m, \u001b[38;5;34m10\u001b[0m) │ \u001b[38;5;34m110\u001b[0m │\n","├─────────────────────────────────┼────────────────────────┼───────────────┤\n","│ batch_normalization_3 │ (\u001b[38;5;45mNone\u001b[0m, \u001b[38;5;34m10\u001b[0m) │ \u001b[38;5;34m40\u001b[0m │\n","│ (\u001b[38;5;33mBatchNormalization\u001b[0m) │ │ │\n","├─────────────────────────────────┼────────────────────────┼───────────────┤\n","│ dense_4 (\u001b[38;5;33mDense\u001b[0m) │ (\u001b[38;5;45mNone\u001b[0m, \u001b[38;5;34m10\u001b[0m) │ \u001b[38;5;34m110\u001b[0m │\n","├─────────────────────────────────┼────────────────────────┼───────────────┤\n","│ dense_5 (\u001b[38;5;33mDense\u001b[0m) │ (\u001b[38;5;45mNone\u001b[0m, \u001b[38;5;34m1\u001b[0m) │ \u001b[38;5;34m11\u001b[0m │\n","└─────────────────────────────────┴────────────────────────┴───────────────┘\n"],"text/html":["┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓\n","┃ Layer (type) ┃ Output Shape ┃ Param # ┃\n","┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩\n","│ batch_normalization_2 │ (None, 10) │ 40 │\n","│ (BatchNormalization) │ │ │\n","├─────────────────────────────────┼────────────────────────┼───────────────┤\n","│ dense_3 (Dense) │ (None, 10) │ 110 │\n","├─────────────────────────────────┼────────────────────────┼───────────────┤\n","│ batch_normalization_3 │ (None, 10) │ 40 │\n","│ (BatchNormalization) │ │ │\n","├─────────────────────────────────┼────────────────────────┼───────────────┤\n","│ dense_4 (Dense) │ (None, 10) │ 110 │\n","├─────────────────────────────────┼────────────────────────┼───────────────┤\n","│ dense_5 (Dense) │ (None, 1) │ 11 │\n","└─────────────────────────────────┴────────────────────────┴───────────────┘\n","\n"]},"metadata":{}},{"output_type":"display_data","data":{"text/plain":["\u001b[1m Total params: \u001b[0m\u001b[38;5;34m311\u001b[0m (1.21 KB)\n"],"text/html":["
Total params: 311 (1.21 KB)\n","\n"]},"metadata":{}},{"output_type":"display_data","data":{"text/plain":["\u001b[1m Trainable params: \u001b[0m\u001b[38;5;34m271\u001b[0m (1.06 KB)\n"],"text/html":["
Trainable params: 271 (1.06 KB)\n","\n"]},"metadata":{}},{"output_type":"display_data","data":{"text/plain":["\u001b[1m Non-trainable params: \u001b[0m\u001b[38;5;34m40\u001b[0m (160.00 B)\n"],"text/html":["
Non-trainable params: 40 (160.00 B)\n","\n"]},"metadata":{}}]},{"cell_type":"code","source":["model.compile(optimizer='adam',loss=\"binary_crossentropy\",metrics=['accuracy'])"],"metadata":{"id":"ZlGao5vnE7-D","executionInfo":{"status":"ok","timestamp":1747299156833,"user_tz":-330,"elapsed":11,"user":{"displayName":"Surendra","userId":"17580320614144699442"}}},"id":"ZlGao5vnE7-D","execution_count":106,"outputs":[]},{"cell_type":"code","source":["model.fit(x_train,y_train,epochs=30,validation_split=0.2,batch_size=30)"],"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"TEn1hVh4FGow","executionInfo":{"status":"ok","timestamp":1747299170222,"user_tz":-330,"elapsed":13396,"user":{"displayName":"Surendra","userId":"17580320614144699442"}},"outputId":"2dcb523c-e15c-477f-bd98-844446cab1f7"},"id":"TEn1hVh4FGow","execution_count":107,"outputs":[{"output_type":"stream","name":"stdout","text":["Epoch 1/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m3s\u001b[0m 14ms/step - accuracy: 0.6232 - loss: 0.6828 - val_accuracy: 0.7844 - val_loss: 0.4737\n","Epoch 2/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m1s\u001b[0m 8ms/step - accuracy: 0.6873 - loss: 0.5785 - val_accuracy: 0.7784 - val_loss: 0.4527\n","Epoch 3/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m1s\u001b[0m 6ms/step - accuracy: 0.7258 - loss: 0.5342 - val_accuracy: 0.7754 - val_loss: 0.4334\n","Epoch 4/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m1s\u001b[0m 7ms/step - accuracy: 0.7735 - loss: 0.5094 - val_accuracy: 0.7964 - val_loss: 0.4145\n","Epoch 5/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m1s\u001b[0m 8ms/step - accuracy: 0.7566 - loss: 0.5060 - val_accuracy: 0.7934 - val_loss: 0.4003\n","Epoch 6/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 7ms/step - accuracy: 0.7718 - loss: 0.4710 - val_accuracy: 0.8054 - val_loss: 0.3871\n","Epoch 7/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m1s\u001b[0m 5ms/step - accuracy: 0.7742 - loss: 0.4832 - val_accuracy: 0.8084 - val_loss: 0.3771\n","Epoch 8/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 7ms/step - accuracy: 0.8003 - loss: 0.4416 - val_accuracy: 0.8204 - val_loss: 0.3655\n","Epoch 9/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.7815 - loss: 0.4451 - val_accuracy: 0.8293 - val_loss: 0.3586\n","Epoch 10/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.8084 - loss: 0.4219 - val_accuracy: 0.8323 - val_loss: 0.3506\n","Epoch 11/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.7794 - loss: 0.4470 - val_accuracy: 0.8323 - val_loss: 0.3466\n","Epoch 12/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.7999 - loss: 0.4202 - val_accuracy: 0.8323 - val_loss: 0.3424\n","Epoch 13/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.8004 - loss: 0.4146 - val_accuracy: 0.8293 - val_loss: 0.3396\n","Epoch 14/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 4ms/step - accuracy: 0.8137 - loss: 0.4199 - val_accuracy: 0.8323 - val_loss: 0.3353\n","Epoch 15/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.8026 - loss: 0.4003 - val_accuracy: 0.8353 - val_loss: 0.3311\n","Epoch 16/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.8048 - loss: 0.4034 - val_accuracy: 0.8383 - val_loss: 0.3284\n","Epoch 17/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.8126 - loss: 0.3755 - val_accuracy: 0.8413 - val_loss: 0.3254\n","Epoch 18/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.8069 - loss: 0.4014 - val_accuracy: 0.8443 - val_loss: 0.3248\n","Epoch 19/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.8253 - loss: 0.3790 - val_accuracy: 0.8413 - val_loss: 0.3235\n","Epoch 20/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.8247 - loss: 0.3805 - val_accuracy: 0.8383 - val_loss: 0.3230\n","Epoch 21/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.8185 - loss: 0.3970 - val_accuracy: 0.8383 - val_loss: 0.3222\n","Epoch 22/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.8063 - loss: 0.4218 - val_accuracy: 0.8413 - val_loss: 0.3190\n","Epoch 23/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.8066 - loss: 0.3963 - val_accuracy: 0.8413 - val_loss: 0.3185\n","Epoch 24/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.7945 - loss: 0.3924 - val_accuracy: 0.8383 - val_loss: 0.3161\n","Epoch 25/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.8165 - loss: 0.3983 - val_accuracy: 0.8353 - val_loss: 0.3181\n","Epoch 26/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.8058 - loss: 0.3890 - val_accuracy: 0.8323 - val_loss: 0.3155\n","Epoch 27/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.7941 - loss: 0.4248 - val_accuracy: 0.8353 - val_loss: 0.3152\n","Epoch 28/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 5ms/step - accuracy: 0.8023 - loss: 0.3983 - val_accuracy: 0.8383 - val_loss: 0.3151\n","Epoch 29/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 4ms/step - accuracy: 0.8038 - loss: 0.4004 - val_accuracy: 0.8323 - val_loss: 0.3143\n","Epoch 30/30\n","\u001b[1m45/45\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m0s\u001b[0m 7ms/step - accuracy: 0.8205 - loss: 0.3855 - val_accuracy: 0.8383 - val_loss: 0.3142\n"]},{"output_type":"execute_result","data":{"text/plain":["