new
This commit is contained in:
parent
3f2e7a015d
commit
b1500c7381
435
solution.ipynb
435
solution.ipynb
@ -2,7 +2,7 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"execution_count": 35,
|
||||
"id": "ddcaf12b",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@ -26,7 +26,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"execution_count": 36,
|
||||
"id": "70e3b6e3",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@ -36,7 +36,7 @@
|
||||
"8760"
|
||||
]
|
||||
},
|
||||
"execution_count": 2,
|
||||
"execution_count": 36,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@ -50,7 +50,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"execution_count": 37,
|
||||
"id": "44f404d6",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@ -60,7 +60,7 @@
|
||||
"720"
|
||||
]
|
||||
},
|
||||
"execution_count": 3,
|
||||
"execution_count": 37,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@ -72,7 +72,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"execution_count": 38,
|
||||
"id": "c760402a",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@ -82,7 +82,7 @@
|
||||
"9480"
|
||||
]
|
||||
},
|
||||
"execution_count": 4,
|
||||
"execution_count": 38,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@ -94,7 +94,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"execution_count": 39,
|
||||
"id": "06f39e15",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@ -104,7 +104,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"execution_count": 40,
|
||||
"id": "91c047f6",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@ -491,7 +491,7 @@
|
||||
"[9480 rows x 73 columns]"
|
||||
]
|
||||
},
|
||||
"execution_count": 6,
|
||||
"execution_count": 40,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@ -503,7 +503,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"execution_count": 41,
|
||||
"id": "037f1315",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@ -513,7 +513,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"execution_count": 42,
|
||||
"id": "e03bae07",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@ -900,7 +900,7 @@
|
||||
"[8760 rows x 73 columns]"
|
||||
]
|
||||
},
|
||||
"execution_count": 8,
|
||||
"execution_count": 42,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@ -911,7 +911,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"execution_count": 43,
|
||||
"id": "ede98181",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@ -1006,7 +1006,7 @@
|
||||
"[8760 rows x 1 columns]"
|
||||
]
|
||||
},
|
||||
"execution_count": 9,
|
||||
"execution_count": 43,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@ -1019,15 +1019,17 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"execution_count": 44,
|
||||
"id": "9a950571",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Define model\n",
|
||||
"model = Sequential()\n",
|
||||
"model.add(Dense(16, input_dim=73, activation= \"relu\"))\n",
|
||||
"model.add(Dense(32, activation= \"relu\"))\n",
|
||||
"#model.add(Dense(16, input_dim=73, activation= \"relu\"))\n",
|
||||
"#model.add(Dense(32, activation= \"relu\"))\n",
|
||||
"#model.add(Dense(64, activation= \"relu\"))\n",
|
||||
"model.add(Dense(128,input_dim=73, activation= \"relu\"))\n",
|
||||
"model.add(Dense(64, activation= \"relu\"))\n",
|
||||
"model.add(Dense(32, activation= \"relu\"))\n",
|
||||
"model.add(Dense(16, activation= \"relu\"))\n",
|
||||
@ -1037,7 +1039,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"execution_count": 45,
|
||||
"id": "f68e43f9",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@ -1049,7 +1051,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"execution_count": 46,
|
||||
"id": "c1036c04",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@ -1059,7 +1061,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 13,
|
||||
"execution_count": 47,
|
||||
"id": "cec44474",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@ -1069,21 +1071,20 @@
|
||||
"text": [
|
||||
"(None, 73) <dtype: 'float32'>\n",
|
||||
"(None, 1) <dtype: 'float32'>\n",
|
||||
"dense (None, 73) float32\n",
|
||||
"dense_1 (None, 16) float32\n",
|
||||
"dense_2 (None, 32) float32\n",
|
||||
"dense_3 (None, 64) float32\n",
|
||||
"dense_4 (None, 32) float32\n",
|
||||
"dense_5 (None, 16) float32\n"
|
||||
"dense_13 (None, 73) float32\n",
|
||||
"dense_14 (None, 128) float32\n",
|
||||
"dense_15 (None, 64) float32\n",
|
||||
"dense_16 (None, 32) float32\n",
|
||||
"dense_17 (None, 16) float32\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"[None, None, None, None, None, None]"
|
||||
"[None, None, None, None, None]"
|
||||
]
|
||||
},
|
||||
"execution_count": 13,
|
||||
"execution_count": 47,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@ -1096,7 +1097,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 14,
|
||||
"execution_count": 48,
|
||||
"id": "eb9cb318",
|
||||
"metadata": {
|
||||
"scrolled": true
|
||||
@ -1106,249 +1107,147 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Epoch 1/100\n",
|
||||
"274/274 [==============================] - 1s 1ms/step - loss: 1904.0205 - mean_squared_error: 1904.0205\n",
|
||||
"Epoch 2/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 977.0018 - mean_squared_error: 977.0018\n",
|
||||
"Epoch 3/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 930.0125 - mean_squared_error: 930.0125\n",
|
||||
"Epoch 4/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 902.6553 - mean_squared_error: 902.6553\n",
|
||||
"Epoch 5/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 863.2485 - mean_squared_error: 863.2485\n",
|
||||
"Epoch 6/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 811.9504 - mean_squared_error: 811.9504\n",
|
||||
"Epoch 7/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 770.9260 - mean_squared_error: 770.9260\n",
|
||||
"Epoch 8/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 724.6091 - mean_squared_error: 724.6091\n",
|
||||
"Epoch 9/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 692.6209 - mean_squared_error: 692.6209\n",
|
||||
"Epoch 10/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 659.7095 - mean_squared_error: 659.7095\n",
|
||||
"Epoch 11/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 625.7371 - mean_squared_error: 625.7371\n",
|
||||
"Epoch 12/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 602.4116 - mean_squared_error: 602.4116\n",
|
||||
"Epoch 13/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 577.0346 - mean_squared_error: 577.0346\n",
|
||||
"Epoch 14/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 552.9323 - mean_squared_error: 552.9323\n",
|
||||
"Epoch 15/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 529.7372 - mean_squared_error: 529.7372\n",
|
||||
"Epoch 16/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 515.2844 - mean_squared_error: 515.2844\n",
|
||||
"Epoch 17/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 501.1700 - mean_squared_error: 501.1700\n",
|
||||
"Epoch 18/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 489.9219 - mean_squared_error: 489.9219\n",
|
||||
"Epoch 19/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 484.0696 - mean_squared_error: 484.0696\n",
|
||||
"Epoch 20/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 470.3400 - mean_squared_error: 470.3400\n",
|
||||
"Epoch 21/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 459.1194 - mean_squared_error: 459.1194\n",
|
||||
"Epoch 22/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 455.5881 - mean_squared_error: 455.5881\n",
|
||||
"Epoch 23/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 446.4247 - mean_squared_error: 446.4247\n",
|
||||
"Epoch 24/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 440.6260 - mean_squared_error: 440.6260\n",
|
||||
"Epoch 25/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 434.9443 - mean_squared_error: 434.9443\n",
|
||||
"Epoch 26/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 429.9223 - mean_squared_error: 429.9223\n",
|
||||
"Epoch 27/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 424.0781 - mean_squared_error: 424.0781\n",
|
||||
"Epoch 28/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 420.9750 - mean_squared_error: 420.9750\n",
|
||||
"Epoch 29/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 416.1357 - mean_squared_error: 416.1357\n",
|
||||
"Epoch 30/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 409.1339 - mean_squared_error: 409.1339\n",
|
||||
"Epoch 31/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 404.7644 - mean_squared_error: 404.7644\n",
|
||||
"Epoch 32/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 403.4354 - mean_squared_error: 403.4354\n",
|
||||
"Epoch 33/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 398.6223 - mean_squared_error: 398.6223\n",
|
||||
"Epoch 34/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 391.9509 - mean_squared_error: 391.9509\n",
|
||||
"Epoch 35/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 391.3186 - mean_squared_error: 391.3186\n",
|
||||
"Epoch 36/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 388.1175 - mean_squared_error: 388.1175\n",
|
||||
"Epoch 37/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 385.9730 - mean_squared_error: 385.9730\n",
|
||||
"Epoch 38/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 382.0468 - mean_squared_error: 382.0468\n",
|
||||
"Epoch 39/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 376.9197 - mean_squared_error: 376.9197\n",
|
||||
"Epoch 40/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 378.0434 - mean_squared_error: 378.0434\n",
|
||||
"Epoch 41/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 372.7451 - mean_squared_error: 372.7451\n",
|
||||
"Epoch 42/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 368.2292 - mean_squared_error: 368.2292\n",
|
||||
"Epoch 43/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 369.8233 - mean_squared_error: 369.8233\n",
|
||||
"Epoch 44/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 365.3695 - mean_squared_error: 365.3695\n",
|
||||
"Epoch 45/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 363.1947 - mean_squared_error: 363.1947\n",
|
||||
"Epoch 46/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 358.6509 - mean_squared_error: 358.6509\n",
|
||||
"Epoch 47/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 363.4928 - mean_squared_error: 363.4928\n",
|
||||
"Epoch 48/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 359.9735 - mean_squared_error: 359.9735\n",
|
||||
"Epoch 49/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 353.2738 - mean_squared_error: 353.2738\n",
|
||||
"Epoch 50/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 350.3524 - mean_squared_error: 350.3524\n",
|
||||
"Epoch 51/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 349.1338 - mean_squared_error: 349.1338\n",
|
||||
"Epoch 52/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 351.0474 - mean_squared_error: 351.0474\n",
|
||||
"Epoch 53/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 341.8802 - mean_squared_error: 341.8802\n",
|
||||
"Epoch 54/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 341.5201 - mean_squared_error: 341.5201\n",
|
||||
"Epoch 55/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 339.8927 - mean_squared_error: 339.8927\n",
|
||||
"Epoch 56/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 337.5977 - mean_squared_error: 337.5977\n",
|
||||
"Epoch 57/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 341.8250 - mean_squared_error: 341.8250\n",
|
||||
"Epoch 58/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 334.7910 - mean_squared_error: 334.7910\n",
|
||||
"Epoch 59/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 333.3398 - mean_squared_error: 333.3398\n",
|
||||
"Epoch 60/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 330.1293 - mean_squared_error: 330.1293\n",
|
||||
"Epoch 61/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 331.5085 - mean_squared_error: 331.5085\n",
|
||||
"Epoch 62/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 327.4076 - mean_squared_error: 327.4076\n",
|
||||
"Epoch 63/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 328.1978 - mean_squared_error: 328.1978\n",
|
||||
"Epoch 64/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 322.5495 - mean_squared_error: 322.5495\n",
|
||||
"Epoch 65/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 324.4060 - mean_squared_error: 324.4060\n",
|
||||
"Epoch 66/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 319.2129 - mean_squared_error: 319.2129\n",
|
||||
"Epoch 67/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 320.8315 - mean_squared_error: 320.8315\n",
|
||||
"Epoch 68/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 315.9987 - mean_squared_error: 315.9987\n",
|
||||
"Epoch 69/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 314.6494 - mean_squared_error: 314.6494\n",
|
||||
"Epoch 70/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 310.7572 - mean_squared_error: 310.7572\n",
|
||||
"Epoch 71/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 310.8293 - mean_squared_error: 310.8293\n",
|
||||
"Epoch 72/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 310.2863 - mean_squared_error: 310.2863\n",
|
||||
"Epoch 73/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 309.2907 - mean_squared_error: 309.2907\n",
|
||||
"Epoch 74/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 306.9155 - mean_squared_error: 306.9155\n",
|
||||
"Epoch 75/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 304.8138 - mean_squared_error: 304.8138\n",
|
||||
"Epoch 76/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 303.4693 - mean_squared_error: 303.4693\n",
|
||||
"Epoch 77/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 302.1253 - mean_squared_error: 302.1253\n",
|
||||
"Epoch 78/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 300.5882 - mean_squared_error: 300.5882\n",
|
||||
"Epoch 79/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 300.8849 - mean_squared_error: 300.8849\n",
|
||||
"Epoch 80/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 297.9424 - mean_squared_error: 297.9424\n",
|
||||
"Epoch 81/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 296.6845 - mean_squared_error: 296.6845\n",
|
||||
"Epoch 82/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 301.2429 - mean_squared_error: 301.2429\n",
|
||||
"Epoch 83/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 294.7325 - mean_squared_error: 294.7325\n",
|
||||
"Epoch 84/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 293.9087 - mean_squared_error: 293.9087\n",
|
||||
"Epoch 85/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 294.8573 - mean_squared_error: 294.8573\n",
|
||||
"Epoch 86/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 291.5350 - mean_squared_error: 291.5350\n",
|
||||
"Epoch 87/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 288.5298 - mean_squared_error: 288.5298\n",
|
||||
"Epoch 88/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 290.0951 - mean_squared_error: 290.0951\n",
|
||||
"Epoch 89/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 286.3828 - mean_squared_error: 286.3828\n",
|
||||
"Epoch 90/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 282.4638 - mean_squared_error: 282.4638\n",
|
||||
"Epoch 91/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 290.5275 - mean_squared_error: 290.5275\n",
|
||||
"Epoch 92/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 282.0305 - mean_squared_error: 282.0305\n",
|
||||
"Epoch 93/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 281.5406 - mean_squared_error: 281.5406\n",
|
||||
"Epoch 94/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 287.6223 - mean_squared_error: 287.6223\n",
|
||||
"Epoch 95/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 277.7972 - mean_squared_error: 277.7972\n",
|
||||
"Epoch 96/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 279.9403 - mean_squared_error: 279.9403\n",
|
||||
"Epoch 97/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 275.0088 - mean_squared_error: 275.0088\n",
|
||||
"Epoch 98/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 276.8479 - mean_squared_error: 276.8479\n",
|
||||
"Epoch 99/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 275.8300 - mean_squared_error: 275.8300\n",
|
||||
"Epoch 100/100\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 274.4589 - mean_squared_error: 274.4589\n"
|
||||
"Epoch 1/60\n",
|
||||
"274/274 [==============================] - 1s 1ms/step - loss: 1591.3160 - mean_squared_error: 1591.3160\n",
|
||||
"Epoch 2/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 937.6966 - mean_squared_error: 937.6966\n",
|
||||
"Epoch 3/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 885.1689 - mean_squared_error: 885.1689\n",
|
||||
"Epoch 4/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 803.5897 - mean_squared_error: 803.5897\n",
|
||||
"Epoch 5/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 686.9089 - mean_squared_error: 686.9089\n",
|
||||
"Epoch 6/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 583.9525 - mean_squared_error: 583.9525\n",
|
||||
"Epoch 7/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 518.3331 - mean_squared_error: 518.3331\n",
|
||||
"Epoch 8/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 477.7906 - mean_squared_error: 477.7906\n",
|
||||
"Epoch 9/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 446.8395 - mean_squared_error: 446.8395\n",
|
||||
"Epoch 10/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 420.2437 - mean_squared_error: 420.2437\n",
|
||||
"Epoch 11/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 401.8218 - mean_squared_error: 401.8218\n",
|
||||
"Epoch 12/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 384.3383 - mean_squared_error: 384.3383\n",
|
||||
"Epoch 13/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 363.4060 - mean_squared_error: 363.4060\n",
|
||||
"Epoch 14/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 345.5817 - mean_squared_error: 345.5817\n",
|
||||
"Epoch 15/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 332.1534 - mean_squared_error: 332.1534\n",
|
||||
"Epoch 16/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 313.5759 - mean_squared_error: 313.5759\n",
|
||||
"Epoch 17/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 297.7942 - mean_squared_error: 297.7942\n",
|
||||
"Epoch 18/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 281.8712 - mean_squared_error: 281.8712\n",
|
||||
"Epoch 19/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 268.7486 - mean_squared_error: 268.7486\n",
|
||||
"Epoch 20/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 251.2501 - mean_squared_error: 251.2501\n",
|
||||
"Epoch 21/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 248.3035 - mean_squared_error: 248.3035\n",
|
||||
"Epoch 22/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 227.5490 - mean_squared_error: 227.5490\n",
|
||||
"Epoch 23/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 212.7673 - mean_squared_error: 212.7673\n",
|
||||
"Epoch 24/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 203.8420 - mean_squared_error: 203.8420\n",
|
||||
"Epoch 25/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 196.8168 - mean_squared_error: 196.8168\n",
|
||||
"Epoch 26/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 177.4812 - mean_squared_error: 177.4812\n",
|
||||
"Epoch 27/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 168.7412 - mean_squared_error: 168.7412\n",
|
||||
"Epoch 28/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 160.3402 - mean_squared_error: 160.3402\n",
|
||||
"Epoch 29/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 149.0066 - mean_squared_error: 149.0066\n",
|
||||
"Epoch 30/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 146.2084 - mean_squared_error: 146.2084\n",
|
||||
"Epoch 31/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 139.4028 - mean_squared_error: 139.4028\n",
|
||||
"Epoch 32/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 127.5936 - mean_squared_error: 127.5936\n",
|
||||
"Epoch 33/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 126.8296 - mean_squared_error: 126.8296\n",
|
||||
"Epoch 34/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 120.6797 - mean_squared_error: 120.6797\n",
|
||||
"Epoch 35/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 109.6528 - mean_squared_error: 109.6528\n",
|
||||
"Epoch 36/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 108.0870 - mean_squared_error: 108.0870\n",
|
||||
"Epoch 37/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 103.3821 - mean_squared_error: 103.3821\n",
|
||||
"Epoch 38/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 101.3340 - mean_squared_error: 101.3340\n",
|
||||
"Epoch 39/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 97.4961 - mean_squared_error: 97.4961\n",
|
||||
"Epoch 40/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 101.1986 - mean_squared_error: 101.1986\n",
|
||||
"Epoch 41/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 85.8747 - mean_squared_error: 85.8747\n",
|
||||
"Epoch 42/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 83.6872 - mean_squared_error: 83.6872\n",
|
||||
"Epoch 43/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 83.8899 - mean_squared_error: 83.8899\n",
|
||||
"Epoch 44/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 78.8383 - mean_squared_error: 78.8383\n",
|
||||
"Epoch 45/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 77.0742 - mean_squared_error: 77.0742\n",
|
||||
"Epoch 46/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 77.3783 - mean_squared_error: 77.3783\n",
|
||||
"Epoch 47/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 74.7967 - mean_squared_error: 74.7967\n",
|
||||
"Epoch 48/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 74.1861 - mean_squared_error: 74.1861\n",
|
||||
"Epoch 49/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 71.5402 - mean_squared_error: 71.5402\n",
|
||||
"Epoch 50/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 65.2219 - mean_squared_error: 65.2219\n",
|
||||
"Epoch 51/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 68.7477 - mean_squared_error: 68.7477\n",
|
||||
"Epoch 52/60\n",
|
||||
"274/274 [==============================] - 0s 2ms/step - loss: 64.0499 - mean_squared_error: 64.0499\n",
|
||||
"Epoch 53/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 66.3469 - mean_squared_error: 66.3469\n",
|
||||
"Epoch 54/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 66.4551 - mean_squared_error: 66.4551\n",
|
||||
"Epoch 55/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 62.5891 - mean_squared_error: 62.5891\n",
|
||||
"Epoch 56/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 54.9064 - mean_squared_error: 54.9064\n",
|
||||
"Epoch 57/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 54.1649 - mean_squared_error: 54.1649\n",
|
||||
"Epoch 58/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 59.5273 - mean_squared_error: 59.5273\n",
|
||||
"Epoch 59/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 50.9209 - mean_squared_error: 50.9209\n",
|
||||
"Epoch 60/60\n",
|
||||
"274/274 [==============================] - 0s 1ms/step - loss: 50.5574 - mean_squared_error: 50.5574\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"<keras.callbacks.History at 0x2ae269e2610>"
|
||||
"<keras.callbacks.History at 0x20e609f0cd0>"
|
||||
]
|
||||
},
|
||||
"execution_count": 14,
|
||||
"execution_count": 48,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"model.compile(loss= \"mean_squared_error\" , optimizer=\"adam\", metrics=[\"mean_squared_error\"])\n",
|
||||
"model.fit(x, y, epochs=100)"
|
||||
"model.fit(x, y, epochs=60)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 15,
|
||||
"id": "b01ccebe",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"17.28555466278129"
|
||||
]
|
||||
},
|
||||
"execution_count": 15,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import math\n",
|
||||
"math.sqrt(298.7904)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 16,
|
||||
"execution_count": 49,
|
||||
"id": "bad4d35a",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@ -1361,7 +1260,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 17,
|
||||
"execution_count": 50,
|
||||
"id": "a3b6fff0",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@ -1371,7 +1270,7 @@
|
||||
"9480"
|
||||
]
|
||||
},
|
||||
"execution_count": 17,
|
||||
"execution_count": 50,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@ -1383,7 +1282,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 18,
|
||||
"execution_count": 51,
|
||||
"id": "cdf89362",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@ -1393,7 +1292,7 @@
|
||||
"9480"
|
||||
]
|
||||
},
|
||||
"execution_count": 18,
|
||||
"execution_count": 51,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@ -1405,7 +1304,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 19,
|
||||
"execution_count": 52,
|
||||
"id": "fe00b876",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@ -1792,7 +1691,7 @@
|
||||
"[9480 rows x 73 columns]"
|
||||
]
|
||||
},
|
||||
"execution_count": 19,
|
||||
"execution_count": 52,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@ -1804,7 +1703,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 20,
|
||||
"execution_count": 53,
|
||||
"id": "657a7976",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@ -2191,7 +2090,7 @@
|
||||
"[720 rows x 73 columns]"
|
||||
]
|
||||
},
|
||||
"execution_count": 20,
|
||||
"execution_count": 53,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@ -2203,7 +2102,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 21,
|
||||
"execution_count": 54,
|
||||
"id": "1163c550",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@ -2211,7 +2110,7 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"23/23 [==============================] - 0s 909us/step\n"
|
||||
"23/23 [==============================] - 0s 955us/step\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
@ -2221,7 +2120,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 22,
|
||||
"execution_count": 55,
|
||||
"id": "6c24ee76",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@ -2229,7 +2128,7 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"23/23 [==============================] - 0s 955us/step\n"
|
||||
"23/23 [==============================] - 0s 1ms/step\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
1440
test-A/out.tsv
1440
test-A/out.tsv
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user