This commit is contained in:
Tomasz Grzybowski 2022-05-23 15:05:18 +02:00
parent 5f081bddcc
commit d3c481b3d3
2 changed files with 356 additions and 1047 deletions

View File

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 316, "execution_count": 60,
"id": "ddcaf12b", "id": "ddcaf12b",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -26,17 +26,17 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 317, "execution_count": 61,
"id": "70e3b6e3", "id": "70e3b6e3",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"8760" "9360"
] ]
}, },
"execution_count": 317, "execution_count": 61,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -45,12 +45,14 @@
"in_columns = ['id_stacji', 'nazwa_stacji', 'typ_zbioru', 'rok', 'miesiąc']\n", "in_columns = ['id_stacji', 'nazwa_stacji', 'typ_zbioru', 'rok', 'miesiąc']\n",
"\n", "\n",
"df = pd.read_csv('train/in.tsv', names=in_columns, sep='\\t')\n", "df = pd.read_csv('train/in.tsv', names=in_columns, sep='\\t')\n",
"df2 = pd.read_csv('dev-0/in.tsv', names=in_columns, sep='\\t')\n",
"df = pd.concat([df, df2])\n",
"len(df)" "len(df)"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 318, "execution_count": 62,
"id": "44f404d6", "id": "44f404d6",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -60,7 +62,7 @@
"720" "720"
] ]
}, },
"execution_count": 318, "execution_count": 62,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -72,17 +74,17 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 319, "execution_count": 63,
"id": "c760402a", "id": "c760402a",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"9480" "10080"
] ]
}, },
"execution_count": 319, "execution_count": 63,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -94,7 +96,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 320, "execution_count": 64,
"id": "06f39e15", "id": "06f39e15",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -104,7 +106,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 321, "execution_count": 65,
"id": "91c047f6", "id": "91c047f6",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -419,7 +421,7 @@
" </tr>\n", " </tr>\n",
" </tbody>\n", " </tbody>\n",
"</table>\n", "</table>\n",
"<p>9480 rows × 73 columns</p>\n", "<p>10080 rows × 73 columns</p>\n",
"</div>" "</div>"
], ],
"text/plain": [ "text/plain": [
@ -488,10 +490,10 @@
"718 0 0 0 0 1 0 \n", "718 0 0 0 0 1 0 \n",
"719 0 0 0 0 0 1 \n", "719 0 0 0 0 0 1 \n",
"\n", "\n",
"[9480 rows x 73 columns]" "[10080 rows x 73 columns]"
] ]
}, },
"execution_count": 321, "execution_count": 65,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -503,7 +505,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 322, "execution_count": 66,
"id": "037f1315", "id": "037f1315",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -513,7 +515,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 323, "execution_count": 67,
"id": "e03bae07", "id": "e03bae07",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -707,7 +709,7 @@
" <td>...</td>\n", " <td>...</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>8755</th>\n", " <th>595</th>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
@ -731,7 +733,7 @@
" <td>0</td>\n", " <td>0</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>8756</th>\n", " <th>596</th>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
@ -755,7 +757,7 @@
" <td>0</td>\n", " <td>0</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>8757</th>\n", " <th>597</th>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
@ -779,7 +781,7 @@
" <td>0</td>\n", " <td>0</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>8758</th>\n", " <th>598</th>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
@ -803,7 +805,7 @@
" <td>0</td>\n", " <td>0</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>8759</th>\n", " <th>599</th>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
@ -828,79 +830,79 @@
" </tr>\n", " </tr>\n",
" </tbody>\n", " </tbody>\n",
"</table>\n", "</table>\n",
"<p>8760 rows × 73 columns</p>\n", "<p>9360 rows × 73 columns</p>\n",
"</div>" "</div>"
], ],
"text/plain": [ "text/plain": [
" id_stacji_249180010 id_stacji_249190560 id_stacji_249200370 \\\n", " id_stacji_249180010 id_stacji_249190560 id_stacji_249200370 \\\n",
"0 1 0 0 \n", "0 1 0 0 \n",
"1 1 0 0 \n", "1 1 0 0 \n",
"2 1 0 0 \n", "2 1 0 0 \n",
"3 1 0 0 \n", "3 1 0 0 \n",
"4 1 0 0 \n", "4 1 0 0 \n",
"... ... ... ... \n", ".. ... ... ... \n",
"8755 0 0 0 \n", "595 0 0 0 \n",
"8756 0 0 0 \n", "596 0 0 0 \n",
"8757 0 0 0 \n", "597 0 0 0 \n",
"8758 0 0 0 \n", "598 0 0 0 \n",
"8759 0 0 0 \n", "599 0 0 0 \n",
"\n", "\n",
" id_stacji_249200490 id_stacji_249220150 id_stacji_249220180 \\\n", " id_stacji_249200490 id_stacji_249220150 id_stacji_249220180 \\\n",
"0 0 0 0 \n", "0 0 0 0 \n",
"1 0 0 0 \n", "1 0 0 0 \n",
"2 0 0 0 \n", "2 0 0 0 \n",
"3 0 0 0 \n", "3 0 0 0 \n",
"4 0 0 0 \n", "4 0 0 0 \n",
"... ... ... ... \n", ".. ... ... ... \n",
"8755 0 0 0 \n", "595 0 0 0 \n",
"8756 0 0 0 \n", "596 0 0 0 \n",
"8757 0 0 0 \n", "597 0 0 0 \n",
"8758 0 0 0 \n", "598 0 0 0 \n",
"8759 0 0 0 \n", "599 0 0 0 \n",
"\n", "\n",
" id_stacji_250190160 id_stacji_250190390 id_stacji_250210130 \\\n", " id_stacji_250190160 id_stacji_250190390 id_stacji_250210130 \\\n",
"0 0 0 0 \n", "0 0 0 0 \n",
"1 0 0 0 \n", "1 0 0 0 \n",
"2 0 0 0 \n", "2 0 0 0 \n",
"3 0 0 0 \n", "3 0 0 0 \n",
"4 0 0 0 \n", "4 0 0 0 \n",
"... ... ... ... \n", ".. ... ... ... \n",
"8755 0 0 0 \n", "595 0 0 0 \n",
"8756 0 0 0 \n", "596 0 0 0 \n",
"8757 0 0 0 \n", "597 0 0 0 \n",
"8758 0 0 0 \n", "598 0 0 0 \n",
"8759 0 0 0 \n", "599 0 0 0 \n",
"\n", "\n",
" id_stacji_251170090 ... miesiąc_3 miesiąc_4 miesiąc_5 miesiąc_6 \\\n", " id_stacji_251170090 ... miesiąc_3 miesiąc_4 miesiąc_5 miesiąc_6 \\\n",
"0 0 ... 0 0 0 0 \n", "0 0 ... 0 0 0 0 \n",
"1 0 ... 0 0 0 0 \n", "1 0 ... 0 0 0 0 \n",
"2 0 ... 1 0 0 0 \n", "2 0 ... 1 0 0 0 \n",
"3 0 ... 0 1 0 0 \n", "3 0 ... 0 1 0 0 \n",
"4 0 ... 0 0 1 0 \n", "4 0 ... 0 0 1 0 \n",
"... ... ... ... ... ... ... \n", ".. ... ... ... ... ... ... \n",
"8755 0 ... 0 0 0 0 \n", "595 0 ... 0 0 0 0 \n",
"8756 0 ... 0 0 0 0 \n", "596 0 ... 0 0 0 0 \n",
"8757 0 ... 0 0 0 0 \n", "597 0 ... 0 0 0 0 \n",
"8758 0 ... 0 0 0 0 \n", "598 0 ... 0 0 0 0 \n",
"8759 0 ... 0 0 0 0 \n", "599 0 ... 0 0 0 0 \n",
"\n", "\n",
" miesiąc_7 miesiąc_8 miesiąc_9 miesiąc_10 miesiąc_11 miesiąc_12 \n", " miesiąc_7 miesiąc_8 miesiąc_9 miesiąc_10 miesiąc_11 miesiąc_12 \n",
"0 0 0 0 0 0 0 \n", "0 0 0 0 0 0 0 \n",
"1 0 0 0 0 0 0 \n", "1 0 0 0 0 0 0 \n",
"2 0 0 0 0 0 0 \n", "2 0 0 0 0 0 0 \n",
"3 0 0 0 0 0 0 \n", "3 0 0 0 0 0 0 \n",
"4 0 0 0 0 0 0 \n", "4 0 0 0 0 0 0 \n",
"... ... ... ... ... ... ... \n", ".. ... ... ... ... ... ... \n",
"8755 0 1 0 0 0 0 \n", "595 0 1 0 0 0 0 \n",
"8756 0 0 1 0 0 0 \n", "596 0 0 1 0 0 0 \n",
"8757 0 0 0 1 0 0 \n", "597 0 0 0 1 0 0 \n",
"8758 0 0 0 0 1 0 \n", "598 0 0 0 0 1 0 \n",
"8759 0 0 0 0 0 1 \n", "599 0 0 0 0 0 1 \n",
"\n", "\n",
"[8760 rows x 73 columns]" "[9360 rows x 73 columns]"
] ]
}, },
"execution_count": 323, "execution_count": 67,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -911,122 +913,28 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 324, "execution_count": 68,
"id": "ede98181", "id": "ede98181",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [],
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>rainfall</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>19.4</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>43.2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>72.2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>25.3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>89.3</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8755</th>\n",
" <td>114.9</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8756</th>\n",
" <td>101.2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8757</th>\n",
" <td>20.4</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8758</th>\n",
" <td>93.2</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8759</th>\n",
" <td>46.9</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>8760 rows × 1 columns</p>\n",
"</div>"
],
"text/plain": [
" rainfall\n",
"0 19.4\n",
"1 43.2\n",
"2 72.2\n",
"3 25.3\n",
"4 89.3\n",
"... ...\n",
"8755 114.9\n",
"8756 101.2\n",
"8757 20.4\n",
"8758 93.2\n",
"8759 46.9\n",
"\n",
"[8760 rows x 1 columns]"
]
},
"execution_count": 324,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [ "source": [
"y = pd.read_csv('train/expected.tsv', sep='\\t', names=['rainfall'])\n", "y = pd.read_csv('train/expected.tsv', sep='\\t', names=['rainfall'])\n",
"y2 = pd.read_csv('dev-0/expected.tsv', sep='\\t', names=['rainfall'])\n",
"#y = np.array(y).reshape(1,-1)\n", "#y = np.array(y).reshape(1,-1)\n",
"y" "y = pd.concat([y,y2])"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 325, "execution_count": 69,
"id": "9a950571", "id": "9a950571",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"# Define model\n", "# Define model\n",
"model = Sequential()\n", "model = Sequential()\n",
"model.add(Dense(1024, input_dim=73, activation= \"relu\"))\n", "model.add(Dense(2048, input_dim=73, activation= \"relu\"))\n",
"model.add(Dense(1024, activation= \"relu\"))\n",
"model.add(Dense(512, activation= \"relu\"))\n", "model.add(Dense(512, activation= \"relu\"))\n",
"model.add(Dense(256, activation= \"relu\"))\n", "model.add(Dense(256, activation= \"relu\"))\n",
"model.add(Dense(128, activation= \"relu\"))\n", "model.add(Dense(128, activation= \"relu\"))\n",
@ -1039,7 +947,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 326, "execution_count": 70,
"id": "f68e43f9", "id": "f68e43f9",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -1051,7 +959,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 327, "execution_count": 71,
"id": "c1036c04", "id": "c1036c04",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -1061,7 +969,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 328, "execution_count": 72,
"id": "cec44474", "id": "cec44474",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -1071,23 +979,24 @@
"text": [ "text": [
"(None, 73) <dtype: 'float32'>\n", "(None, 73) <dtype: 'float32'>\n",
"(None, 1) <dtype: 'float32'>\n", "(None, 1) <dtype: 'float32'>\n",
"dense_103 (None, 73) float32\n", "dense_26 (None, 73) float32\n",
"dense_104 (None, 1024) float32\n", "dense_27 (None, 2048) float32\n",
"dense_105 (None, 512) float32\n", "dense_28 (None, 1024) float32\n",
"dense_106 (None, 256) float32\n", "dense_29 (None, 512) float32\n",
"dense_107 (None, 128) float32\n", "dense_30 (None, 256) float32\n",
"dense_108 (None, 64) float32\n", "dense_31 (None, 128) float32\n",
"dense_109 (None, 32) float32\n", "dense_32 (None, 64) float32\n",
"dense_110 (None, 16) float32\n" "dense_33 (None, 32) float32\n",
"dense_34 (None, 16) float32\n"
] ]
}, },
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"[None, None, None, None, None, None, None, None]" "[None, None, None, None, None, None, None, None, None]"
] ]
}, },
"execution_count": 328, "execution_count": 72,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1100,7 +1009,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 329, "execution_count": 73,
"id": "eb9cb318", "id": "eb9cb318",
"metadata": { "metadata": {
"scrolled": true "scrolled": true
@ -1111,174 +1020,174 @@
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"Epoch 1/80\n", "Epoch 1/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 1148.3020 - mean_squared_error: 1148.3020\n", "293/293 [==============================] - 6s 17ms/step - loss: 1134.1598 - mean_squared_error: 1134.1598\n",
"Epoch 2/80\n", "Epoch 2/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 763.9616 - mean_squared_error: 763.9616\n", "293/293 [==============================] - 5s 16ms/step - loss: 714.3663 - mean_squared_error: 714.3663\n",
"Epoch 3/80\n", "Epoch 3/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 545.3013 - mean_squared_error: 545.3013\n", "293/293 [==============================] - 5s 17ms/step - loss: 530.2103 - mean_squared_error: 530.2103\n",
"Epoch 4/80\n", "Epoch 4/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 461.5141 - mean_squared_error: 461.5141\n", "293/293 [==============================] - 5s 16ms/step - loss: 466.3124 - mean_squared_error: 466.3124\n",
"Epoch 5/80\n", "Epoch 5/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 422.0508 - mean_squared_error: 422.0508\n", "293/293 [==============================] - 5s 16ms/step - loss: 408.9340 - mean_squared_error: 408.9340\n",
"Epoch 6/80\n", "Epoch 6/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 391.7643 - mean_squared_error: 391.7643\n", "293/293 [==============================] - 5s 17ms/step - loss: 376.8569 - mean_squared_error: 376.8569\n",
"Epoch 7/80\n", "Epoch 7/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 331.7844 - mean_squared_error: 331.7844\n", "293/293 [==============================] - 5s 17ms/step - loss: 306.2373 - mean_squared_error: 306.2373\n",
"Epoch 8/80\n", "Epoch 8/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 301.6153 - mean_squared_error: 301.6153\n", "293/293 [==============================] - 5s 16ms/step - loss: 265.6877 - mean_squared_error: 265.6877\n",
"Epoch 9/80\n", "Epoch 9/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 260.0949 - mean_squared_error: 260.0949\n", "293/293 [==============================] - 5s 17ms/step - loss: 232.4935 - mean_squared_error: 232.4935\n",
"Epoch 10/80\n", "Epoch 10/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 224.1433 - mean_squared_error: 224.1433\n", "293/293 [==============================] - 5s 18ms/step - loss: 190.4526 - mean_squared_error: 190.4526\n",
"Epoch 11/80\n", "Epoch 11/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 201.2247 - mean_squared_error: 201.2247\n", "293/293 [==============================] - 5s 18ms/step - loss: 145.0189 - mean_squared_error: 145.0189\n",
"Epoch 12/80\n", "Epoch 12/80\n",
"274/274 [==============================] - 1s 5ms/step - loss: 170.9166 - mean_squared_error: 170.9166\n", "293/293 [==============================] - 5s 16ms/step - loss: 119.3220 - mean_squared_error: 119.3220\n",
"Epoch 13/80\n", "Epoch 13/80\n",
"274/274 [==============================] - 1s 5ms/step - loss: 139.1919 - mean_squared_error: 139.1919\n", "293/293 [==============================] - 5s 16ms/step - loss: 91.1009 - mean_squared_error: 91.1009\n",
"Epoch 14/80\n", "Epoch 14/80\n",
"274/274 [==============================] - 1s 5ms/step - loss: 115.9581 - mean_squared_error: 115.9581\n", "293/293 [==============================] - 5s 16ms/step - loss: 74.9345 - mean_squared_error: 74.9345\n",
"Epoch 15/80\n", "Epoch 15/80\n",
"274/274 [==============================] - 1s 5ms/step - loss: 103.9778 - mean_squared_error: 103.9778\n", "293/293 [==============================] - 5s 17ms/step - loss: 60.5697 - mean_squared_error: 60.5697\n",
"Epoch 16/80\n", "Epoch 16/80\n",
"274/274 [==============================] - 1s 5ms/step - loss: 88.2708 - mean_squared_error: 88.2708\n", "293/293 [==============================] - 5s 18ms/step - loss: 60.6215 - mean_squared_error: 60.6215\n",
"Epoch 17/80\n", "Epoch 17/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 72.0225 - mean_squared_error: 72.0225\n", "293/293 [==============================] - 5s 18ms/step - loss: 53.4988 - mean_squared_error: 53.4988\n",
"Epoch 18/80\n", "Epoch 18/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 63.5714 - mean_squared_error: 63.5714\n", "293/293 [==============================] - 5s 16ms/step - loss: 46.9713 - mean_squared_error: 46.9713\n",
"Epoch 19/80\n", "Epoch 19/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 56.0757 - mean_squared_error: 56.0757\n", "293/293 [==============================] - 5s 16ms/step - loss: 43.6367 - mean_squared_error: 43.6367\n",
"Epoch 20/80\n", "Epoch 20/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 52.9535 - mean_squared_error: 52.9535\n", "293/293 [==============================] - 5s 16ms/step - loss: 43.7172 - mean_squared_error: 43.7172\n",
"Epoch 21/80\n", "Epoch 21/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 50.0143 - mean_squared_error: 50.0143\n", "293/293 [==============================] - 5s 17ms/step - loss: 38.5771 - mean_squared_error: 38.5771\n",
"Epoch 22/80\n", "Epoch 22/80\n",
"274/274 [==============================] - 2s 7ms/step - loss: 41.2315 - mean_squared_error: 41.2315\n", "293/293 [==============================] - 5s 16ms/step - loss: 39.4714 - mean_squared_error: 39.4714\n",
"Epoch 23/80\n", "Epoch 23/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 39.8365 - mean_squared_error: 39.8365\n", "293/293 [==============================] - 5s 16ms/step - loss: 40.1202 - mean_squared_error: 40.1202\n",
"Epoch 24/80\n", "Epoch 24/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 41.5614 - mean_squared_error: 41.5614\n", "293/293 [==============================] - 5s 16ms/step - loss: 53.1920 - mean_squared_error: 53.1920\n",
"Epoch 25/80\n", "Epoch 25/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 42.3862 - mean_squared_error: 42.3862\n", "293/293 [==============================] - 5s 16ms/step - loss: 45.4968 - mean_squared_error: 45.4968\n",
"Epoch 26/80\n", "Epoch 26/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 38.0177 - mean_squared_error: 38.0177\n", "293/293 [==============================] - 5s 16ms/step - loss: 34.6478 - mean_squared_error: 34.6478\n",
"Epoch 27/80\n", "Epoch 27/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 36.0990 - mean_squared_error: 36.0990\n", "293/293 [==============================] - 5s 16ms/step - loss: 29.7110 - mean_squared_error: 29.7110\n",
"Epoch 28/80\n", "Epoch 28/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 41.5000 - mean_squared_error: 41.5000\n", "293/293 [==============================] - 5s 16ms/step - loss: 24.7331 - mean_squared_error: 24.7331\n",
"Epoch 29/80\n", "Epoch 29/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 37.8813 - mean_squared_error: 37.8813\n", "293/293 [==============================] - 5s 16ms/step - loss: 31.2403 - mean_squared_error: 31.2403\n",
"Epoch 30/80\n", "Epoch 30/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 37.9894 - mean_squared_error: 37.9894\n", "293/293 [==============================] - 5s 16ms/step - loss: 28.0005 - mean_squared_error: 28.0005\n",
"Epoch 31/80\n", "Epoch 31/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 31.0013 - mean_squared_error: 31.0013\n", "293/293 [==============================] - 5s 16ms/step - loss: 29.0533 - mean_squared_error: 29.0533\n",
"Epoch 32/80\n", "Epoch 32/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 24.9764 - mean_squared_error: 24.9764\n", "293/293 [==============================] - 5s 16ms/step - loss: 30.9709 - mean_squared_error: 30.9709\n",
"Epoch 33/80\n", "Epoch 33/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 31.9433 - mean_squared_error: 31.9433\n", "293/293 [==============================] - 5s 16ms/step - loss: 27.8636 - mean_squared_error: 27.8636\n",
"Epoch 34/80\n", "Epoch 34/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 31.7013 - mean_squared_error: 31.7013\n", "293/293 [==============================] - 5s 17ms/step - loss: 38.6768 - mean_squared_error: 38.6768\n",
"Epoch 35/80\n", "Epoch 35/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 29.5324 - mean_squared_error: 29.5324\n", "293/293 [==============================] - 5s 16ms/step - loss: 36.2994 - mean_squared_error: 36.2994\n",
"Epoch 36/80\n", "Epoch 36/80\n",
"274/274 [==============================] - 2s 5ms/step - loss: 32.4733 - mean_squared_error: 32.4733\n", "293/293 [==============================] - 5s 16ms/step - loss: 32.9632 - mean_squared_error: 32.9632\n",
"Epoch 37/80\n", "Epoch 37/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 23.7742 - mean_squared_error: 23.7742\n", "293/293 [==============================] - 5s 16ms/step - loss: 34.0196 - mean_squared_error: 34.0196\n",
"Epoch 38/80\n", "Epoch 38/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 27.0307 - mean_squared_error: 27.0307\n", "293/293 [==============================] - 5s 16ms/step - loss: 27.4301 - mean_squared_error: 27.4301\n",
"Epoch 39/80\n", "Epoch 39/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 28.7847 - mean_squared_error: 28.7847\n", "293/293 [==============================] - 5s 16ms/step - loss: 21.3594 - mean_squared_error: 21.3594\n",
"Epoch 40/80\n", "Epoch 40/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 31.0826 - mean_squared_error: 31.0826\n", "293/293 [==============================] - 5s 16ms/step - loss: 15.9413 - mean_squared_error: 15.9413\n",
"Epoch 41/80\n", "Epoch 41/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 26.5976 - mean_squared_error: 26.5976\n", "293/293 [==============================] - 5s 17ms/step - loss: 21.4223 - mean_squared_error: 21.4223\n",
"Epoch 42/80\n", "Epoch 42/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 24.3899 - mean_squared_error: 24.3899\n", "293/293 [==============================] - 5s 17ms/step - loss: 24.0689 - mean_squared_error: 24.0689\n",
"Epoch 43/80\n", "Epoch 43/80\n",
"274/274 [==============================] - 2s 7ms/step - loss: 20.7662 - mean_squared_error: 20.7662\n", "293/293 [==============================] - 5s 16ms/step - loss: 21.8016 - mean_squared_error: 21.8016\n",
"Epoch 44/80\n", "Epoch 44/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 19.0226 - mean_squared_error: 19.0226\n", "293/293 [==============================] - 5s 16ms/step - loss: 22.8678 - mean_squared_error: 22.8678\n",
"Epoch 45/80\n", "Epoch 45/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 19.3724 - mean_squared_error: 19.3724\n", "293/293 [==============================] - 5s 16ms/step - loss: 19.4661 - mean_squared_error: 19.4661\n",
"Epoch 46/80\n", "Epoch 46/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 24.7011 - mean_squared_error: 24.7011\n", "293/293 [==============================] - 5s 16ms/step - loss: 21.0602 - mean_squared_error: 21.0602\n",
"Epoch 47/80\n", "Epoch 47/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 25.1954 - mean_squared_error: 25.1954\n", "293/293 [==============================] - 5s 16ms/step - loss: 21.4916 - mean_squared_error: 21.4916\n",
"Epoch 48/80\n", "Epoch 48/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 29.5989 - mean_squared_error: 29.5989\n", "293/293 [==============================] - 5s 16ms/step - loss: 24.5567 - mean_squared_error: 24.5567\n",
"Epoch 49/80\n", "Epoch 49/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 22.7573 - mean_squared_error: 22.7573\n", "293/293 [==============================] - 5s 16ms/step - loss: 23.9477 - mean_squared_error: 23.9477\n",
"Epoch 50/80\n", "Epoch 50/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 23.1566 - mean_squared_error: 23.1566\n", "293/293 [==============================] - 5s 16ms/step - loss: 21.6010 - mean_squared_error: 21.6010\n",
"Epoch 51/80\n", "Epoch 51/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 18.3705 - mean_squared_error: 18.3705\n", "293/293 [==============================] - 5s 18ms/step - loss: 19.9157 - mean_squared_error: 19.9157\n",
"Epoch 52/80\n", "Epoch 52/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 16.7029 - mean_squared_error: 16.7029\n", "293/293 [==============================] - 6s 19ms/step - loss: 21.2413 - mean_squared_error: 21.2413\n",
"Epoch 53/80\n", "Epoch 53/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 16.9602 - mean_squared_error: 16.9602\n", "293/293 [==============================] - 6s 19ms/step - loss: 23.5774 - mean_squared_error: 23.5774\n",
"Epoch 54/80\n", "Epoch 54/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 21.2996 - mean_squared_error: 21.2996\n", "293/293 [==============================] - 5s 17ms/step - loss: 20.9708 - mean_squared_error: 20.9708\n",
"Epoch 55/80\n", "Epoch 55/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 19.7800 - mean_squared_error: 19.7800\n", "293/293 [==============================] - 5s 16ms/step - loss: 16.7699 - mean_squared_error: 16.7699\n",
"Epoch 56/80\n", "Epoch 56/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 19.7060 - mean_squared_error: 19.7060\n", "293/293 [==============================] - 5s 16ms/step - loss: 11.5884 - mean_squared_error: 11.5884\n",
"Epoch 57/80\n", "Epoch 57/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 20.6657 - mean_squared_error: 20.6657\n", "293/293 [==============================] - 5s 16ms/step - loss: 11.2608 - mean_squared_error: 11.2608\n",
"Epoch 58/80\n", "Epoch 58/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 19.9114 - mean_squared_error: 19.9114\n", "293/293 [==============================] - 5s 16ms/step - loss: 13.6555 - mean_squared_error: 13.6555\n",
"Epoch 59/80\n", "Epoch 59/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 15.5104 - mean_squared_error: 15.5104\n", "293/293 [==============================] - 5s 16ms/step - loss: 16.4050 - mean_squared_error: 16.4050\n",
"Epoch 60/80\n", "Epoch 60/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 14.6696 - mean_squared_error: 14.6696\n", "293/293 [==============================] - 5s 16ms/step - loss: 23.0564 - mean_squared_error: 23.0564\n",
"Epoch 61/80\n", "Epoch 61/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 15.2659 - mean_squared_error: 15.2659\n", "293/293 [==============================] - 5s 16ms/step - loss: 28.0808 - mean_squared_error: 28.0808\n",
"Epoch 62/80\n", "Epoch 62/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 18.6857 - mean_squared_error: 18.6857\n", "293/293 [==============================] - 5s 16ms/step - loss: 19.2690 - mean_squared_error: 19.2690\n",
"Epoch 63/80\n", "Epoch 63/80\n",
"274/274 [==============================] - 2s 7ms/step - loss: 19.9120 - mean_squared_error: 19.9120\n", "293/293 [==============================] - 5s 16ms/step - loss: 14.3920 - mean_squared_error: 14.3920\n",
"Epoch 64/80\n", "Epoch 64/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 22.7588 - mean_squared_error: 22.7588\n", "293/293 [==============================] - 5s 16ms/step - loss: 12.5167 - mean_squared_error: 12.5167\n",
"Epoch 65/80\n", "Epoch 65/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 18.3624 - mean_squared_error: 18.3624\n", "293/293 [==============================] - 5s 16ms/step - loss: 14.2031 - mean_squared_error: 14.2031\n",
"Epoch 66/80\n", "Epoch 66/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 19.8439 - mean_squared_error: 19.8439\n", "293/293 [==============================] - 5s 16ms/step - loss: 13.2670 - mean_squared_error: 13.2670\n",
"Epoch 67/80\n", "Epoch 67/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 15.1439 - mean_squared_error: 15.1439\n", "293/293 [==============================] - 5s 17ms/step - loss: 15.0297 - mean_squared_error: 15.0297\n",
"Epoch 68/80\n", "Epoch 68/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 14.6623 - mean_squared_error: 14.6623\n", "293/293 [==============================] - 5s 16ms/step - loss: 16.3161 - mean_squared_error: 16.3161\n",
"Epoch 69/80\n", "Epoch 69/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 14.0223 - mean_squared_error: 14.0223\n", "293/293 [==============================] - 5s 16ms/step - loss: 14.6367 - mean_squared_error: 14.6367\n",
"Epoch 70/80\n", "Epoch 70/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 20.7763 - mean_squared_error: 20.7763\n", "293/293 [==============================] - 5s 16ms/step - loss: 12.4564 - mean_squared_error: 12.4564\n",
"Epoch 71/80\n", "Epoch 71/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 19.1875 - mean_squared_error: 19.1875\n", "293/293 [==============================] - 5s 16ms/step - loss: 11.4511 - mean_squared_error: 11.4511\n",
"Epoch 72/80\n", "Epoch 72/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 14.1436 - mean_squared_error: 14.1436\n", "293/293 [==============================] - 5s 17ms/step - loss: 14.1012 - mean_squared_error: 14.1012\n",
"Epoch 73/80\n", "Epoch 73/80\n",
"274/274 [==============================] - 2s 7ms/step - loss: 14.2062 - mean_squared_error: 14.2062\n", "293/293 [==============================] - 5s 16ms/step - loss: 15.6135 - mean_squared_error: 15.6135\n",
"Epoch 74/80\n", "Epoch 74/80\n",
"274/274 [==============================] - 2s 7ms/step - loss: 10.8038 - mean_squared_error: 10.8038\n", "293/293 [==============================] - 5s 16ms/step - loss: 16.4932 - mean_squared_error: 16.4932\n",
"Epoch 75/80\n", "Epoch 75/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 10.9576 - mean_squared_error: 10.9576\n", "293/293 [==============================] - 5s 16ms/step - loss: 12.8654 - mean_squared_error: 12.8654\n",
"Epoch 76/80\n", "Epoch 76/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 12.1856 - mean_squared_error: 12.1856\n", "293/293 [==============================] - 5s 16ms/step - loss: 10.6150 - mean_squared_error: 10.6150\n",
"Epoch 77/80\n", "Epoch 77/80\n",
"274/274 [==============================] - 2s 7ms/step - loss: 12.5274 - mean_squared_error: 12.5274\n", "293/293 [==============================] - 5s 16ms/step - loss: 11.0828 - mean_squared_error: 11.0828\n",
"Epoch 78/80\n", "Epoch 78/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 14.9551 - mean_squared_error: 14.9551\n", "293/293 [==============================] - 5s 16ms/step - loss: 12.4208 - mean_squared_error: 12.4208\n",
"Epoch 79/80\n", "Epoch 79/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 15.9294 - mean_squared_error: 15.9294\n", "293/293 [==============================] - 5s 16ms/step - loss: 13.5073 - mean_squared_error: 13.5073\n",
"Epoch 80/80\n", "Epoch 80/80\n",
"274/274 [==============================] - 2s 6ms/step - loss: 16.6070 - mean_squared_error: 16.6070\n" "293/293 [==============================] - 5s 16ms/step - loss: 13.8812 - mean_squared_error: 13.8812\n"
] ]
}, },
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<keras.callbacks.History at 0x20e7057ed30>" "<keras.callbacks.History at 0x1b6116d01c0>"
] ]
}, },
"execution_count": 329, "execution_count": 73,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1290,7 +1199,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 330, "execution_count": 74,
"id": "bad4d35a", "id": "bad4d35a",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
@ -1303,7 +1212,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 331, "execution_count": 75,
"id": "a3b6fff0", "id": "a3b6fff0",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -1313,7 +1222,7 @@
"9480" "9480"
] ]
}, },
"execution_count": 331, "execution_count": 75,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1325,7 +1234,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 332, "execution_count": 76,
"id": "cdf89362", "id": "cdf89362",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -1335,7 +1244,7 @@
"9480" "9480"
] ]
}, },
"execution_count": 332, "execution_count": 76,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1347,7 +1256,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 333, "execution_count": 77,
"id": "fe00b876", "id": "fe00b876",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -1734,7 +1643,7 @@
"[9480 rows x 73 columns]" "[9480 rows x 73 columns]"
] ]
}, },
"execution_count": 333, "execution_count": 77,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1746,7 +1655,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 334, "execution_count": 78,
"id": "657a7976", "id": "657a7976",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -1940,7 +1849,7 @@
" <td>...</td>\n", " <td>...</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>715</th>\n", " <th>115</th>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
@ -1964,7 +1873,7 @@
" <td>0</td>\n", " <td>0</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>716</th>\n", " <th>116</th>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
@ -1988,7 +1897,7 @@
" <td>0</td>\n", " <td>0</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>717</th>\n", " <th>117</th>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
@ -2012,7 +1921,7 @@
" <td>0</td>\n", " <td>0</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>718</th>\n", " <th>118</th>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
@ -2036,7 +1945,7 @@
" <td>0</td>\n", " <td>0</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>719</th>\n", " <th>119</th>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
" <td>0</td>\n", " <td>0</td>\n",
@ -2061,7 +1970,7 @@
" </tr>\n", " </tr>\n",
" </tbody>\n", " </tbody>\n",
"</table>\n", "</table>\n",
"<p>720 rows × 73 columns</p>\n", "<p>120 rows × 73 columns</p>\n",
"</div>" "</div>"
], ],
"text/plain": [ "text/plain": [
@ -2072,11 +1981,11 @@
"3 0 0 1 \n", "3 0 0 1 \n",
"4 0 0 1 \n", "4 0 0 1 \n",
".. ... ... ... \n", ".. ... ... ... \n",
"715 0 0 0 \n", "115 0 0 0 \n",
"716 0 0 0 \n", "116 0 0 0 \n",
"717 0 0 0 \n", "117 0 0 0 \n",
"718 0 0 0 \n", "118 0 0 0 \n",
"719 0 0 0 \n", "119 0 0 0 \n",
"\n", "\n",
" id_stacji_249200490 id_stacji_249220150 id_stacji_249220180 \\\n", " id_stacji_249200490 id_stacji_249220150 id_stacji_249220180 \\\n",
"0 0 0 0 \n", "0 0 0 0 \n",
@ -2085,11 +1994,11 @@
"3 0 0 0 \n", "3 0 0 0 \n",
"4 0 0 0 \n", "4 0 0 0 \n",
".. ... ... ... \n", ".. ... ... ... \n",
"715 0 0 0 \n", "115 0 0 0 \n",
"716 0 0 0 \n", "116 0 0 0 \n",
"717 0 0 0 \n", "117 0 0 0 \n",
"718 0 0 0 \n", "118 0 0 0 \n",
"719 0 0 0 \n", "119 0 0 0 \n",
"\n", "\n",
" id_stacji_250190160 id_stacji_250190390 id_stacji_250210130 \\\n", " id_stacji_250190160 id_stacji_250190390 id_stacji_250210130 \\\n",
"0 0 0 0 \n", "0 0 0 0 \n",
@ -2098,11 +2007,11 @@
"3 0 0 0 \n", "3 0 0 0 \n",
"4 0 0 0 \n", "4 0 0 0 \n",
".. ... ... ... \n", ".. ... ... ... \n",
"715 0 0 0 \n", "115 0 0 0 \n",
"716 0 0 0 \n", "116 0 0 0 \n",
"717 0 0 0 \n", "117 0 0 0 \n",
"718 0 0 0 \n", "118 0 0 0 \n",
"719 0 0 0 \n", "119 0 0 0 \n",
"\n", "\n",
" id_stacji_251170090 ... miesiąc_3 miesiąc_4 miesiąc_5 miesiąc_6 \\\n", " id_stacji_251170090 ... miesiąc_3 miesiąc_4 miesiąc_5 miesiąc_6 \\\n",
"0 0 ... 0 0 0 0 \n", "0 0 ... 0 0 0 0 \n",
@ -2111,11 +2020,11 @@
"3 0 ... 0 1 0 0 \n", "3 0 ... 0 1 0 0 \n",
"4 0 ... 0 0 1 0 \n", "4 0 ... 0 0 1 0 \n",
".. ... ... ... ... ... ... \n", ".. ... ... ... ... ... ... \n",
"715 0 ... 0 0 0 0 \n", "115 0 ... 0 0 0 0 \n",
"716 0 ... 0 0 0 0 \n", "116 0 ... 0 0 0 0 \n",
"717 0 ... 0 0 0 0 \n", "117 0 ... 0 0 0 0 \n",
"718 0 ... 0 0 0 0 \n", "118 0 ... 0 0 0 0 \n",
"719 0 ... 0 0 0 0 \n", "119 0 ... 0 0 0 0 \n",
"\n", "\n",
" miesiąc_7 miesiąc_8 miesiąc_9 miesiąc_10 miesiąc_11 miesiąc_12 \n", " miesiąc_7 miesiąc_8 miesiąc_9 miesiąc_10 miesiąc_11 miesiąc_12 \n",
"0 0 0 0 0 0 0 \n", "0 0 0 0 0 0 0 \n",
@ -2124,28 +2033,28 @@
"3 0 0 0 0 0 0 \n", "3 0 0 0 0 0 0 \n",
"4 0 0 0 0 0 0 \n", "4 0 0 0 0 0 0 \n",
".. ... ... ... ... ... ... \n", ".. ... ... ... ... ... ... \n",
"715 0 1 0 0 0 0 \n", "115 0 1 0 0 0 0 \n",
"716 0 0 1 0 0 0 \n", "116 0 0 1 0 0 0 \n",
"717 0 0 0 1 0 0 \n", "117 0 0 0 1 0 0 \n",
"718 0 0 0 0 1 0 \n", "118 0 0 0 0 1 0 \n",
"719 0 0 0 0 0 1 \n", "119 0 0 0 0 0 1 \n",
"\n", "\n",
"[720 rows x 73 columns]" "[120 rows x 73 columns]"
] ]
}, },
"execution_count": 334, "execution_count": 78,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
], ],
"source": [ "source": [
"x_test = x_test.iloc[:-8760]\n", "x_test = x_test.iloc[:-9360]\n",
"x_test" "x_test"
] ]
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 335, "execution_count": 79,
"id": "1163c550", "id": "1163c550",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -2153,7 +2062,7 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"23/23 [==============================] - 0s 2ms/step\n" "4/4 [==============================] - 0s 3ms/step\n"
] ]
} }
], ],
@ -2163,7 +2072,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 336, "execution_count": 80,
"id": "6c24ee76", "id": "6c24ee76",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -2171,7 +2080,7 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"23/23 [==============================] - 0s 2ms/step\n" "4/4 [==============================] - 0s 3ms/step\n"
] ]
} }
], ],

View File

@ -1,720 +1,120 @@
37.63894 31.174656
23.207268 16.350279
38.600674 22.789177
49.023003 51.033195
103.16544 95.10196
136.36351 143.72798
228.96837 248.56514
95.556404 81.624825
34.701256 14.317354
50.14181 54.314953
2.3887796 3.5898218
41.059895 38.327282
25.788635 29.06015
18.236408 19.368362
29.031952 20.60291
38.99111 37.551273
90.344086 77.44563
95.69146 99.81384
206.01138 186.14442
76.83379 57.034023
24.600927 19.91156
39.985962 39.306408
0.43409503 0.85256624
36.300404 33.27073
30.287884 28.762604
23.871101 20.917215
24.685547 17.525002
20.602997 21.300055
51.445942 52.104977
63.200222 42.200336
178.59409 185.57613
62.178963 70.37845
13.716793 20.835373
25.43167 27.615982
0.16868392 2.7978063
32.340897 35.56955
26.52262 33.653126
23.270792 24.754032
18.995613 18.766287
22.353188 19.368382
46.449783 48.98469
42.287228 38.993263
163.29156 158.35138
56.99034 64.5624
16.313833 22.918335
21.535488 21.680492
3.5951788 2.7242997
36.52256 41.165028
30.261253 27.08392
28.02701 23.24611
17.092684 16.785679
24.984133 21.524668
45.050606 41.916515
41.413765 40.79905
171.99384 157.04985
63.993435 62.3512
11.308073 13.931578
23.258411 24.665794
0.43255252 2.8123379
32.508835 36.250103
37.252853 38.285152
31.582388 34.517036
26.152565 13.487172
39.994102 33.591892
66.85786 53.097176
71.806465 67.98111
182.91699 176.66515
64.41485 54.890606
23.18985 16.860699
28.298828 20.153542
16.593418 16.309742
42.920303 35.682148
87.27103 79.40155
45.030636 54.7205
35.660583 42.420486
52.031002 46.364117
72.33568 87.48198
124.909615 152.64699
127.98356 136.22754
62.92622 51.064034
48.276493 47.007305
86.1559 76.495285
42.463497 35.972443
34.520813 35.765568
59.711285 75.62721
28.610624 38.07622
24.952456 30.856655
32.337666 50.705616
40.537174 60.59518
92.40485 124.917564
72.39745 95.41821
35.64899 44.12282
39.300434 51.813343
71.6411 92.33139
30.533033 39.569687
25.561274 27.689795
49.75119 54.731686
35.51369 43.30465
20.205303 21.67123
33.452984 34.42165
37.232452 45.98126
73.07589 99.097534
85.85044 110.04732
53.67648 51.26564
34.155388 32.61207
65.61515 64.51444
32.460224 39.869186
39.88467 33.693607
67.75133 53.022243
40.184547 33.164776
33.01076 21.195053
49.815674 39.06738
47.57177 38.08621
69.34244 69.145836
78.54326 88.550835
52.76405 44.63134
33.941956 29.226349
61.65359 46.13165
35.347324 47.7372
39.99267 32.76761
55.250305
31.004831
18.653187
37.793823
35.19402
73.92183
73.41435
54.520428
26.47215
60.473274
31.998154
38.15362
52.42212
31.753462
27.224699
50.956024
60.24389
85.48651
95.07333
67.99856
41.10513
69.33134
42.963634
35.314987
70.47442
43.416645
69.52241
49.994663
126.37297
187.75774
55.217606
74.22636
112.39632
33.12799
74.22866
36.644676
49.608635
27.45996
51.274654
27.367037
101.37892
155.83138
40.747017
44.159397
83.36002
18.8886
47.474247
20.920792
36.450848
29.436481
28.3984
15.066029
90.846245
94.835045
39.714973
46.20777
65.64968
11.501383
28.299612
25.358507
56.450478
32.462284
35.117867
18.368004
77.538605
88.56975
31.972376
44.432365
59.442787
12.8963375
38.47779
33.188015
46.361153
30.468616
27.246002
22.64618
67.18332
74.30628
35.035168
44.12716
56.295193
13.400057
38.70058
28.153326
58.930588
40.159813
42.84794
42.653988
120.189186
102.97421
59.968853
41.41414
113.2773
34.86387
51.40831
30.132483
41.539825
30.192724
64.00048
83.99275
182.46048
95.280266
184.17635
126.861336
83.26023
60.560787
24.130663
44.84526
31.482744
19.869383
41.79372
54.953682
139.71689
81.20834
107.93422
97.5735
56.036995
41.124653
29.03827
33.311794
46.00972
17.069881
39.137123
37.77881
75.11886
58.674225
73.776726
69.89144
39.14573
13.560595
32.38936
42.65785
59.921898
26.87492
51.4965
63.93886
67.01335
76.530014
91.83108
82.52121
43.2072
29.392326
32.68616
60.207954
55.547764
20.270473
43.088436
53.300404
67.363754
78.11202
83.95492
81.72642
30.589256
22.060856
27.973154
53.83068
56.547955
34.04692
47.70064
55.359795
100.57237
93.91335
78.8982
65.447624
41.762726
26.480892
28.023453
66.94591
67.91457
32.652653
52.79412
38.657784
107.48706
36.856186
72.03856
25.478607
87.76974
45.21347
66.91131
22.061539
50.572044
21.774044
44.408855
27.242958
80.43207
33.044987
46.243195
19.871393
79.19147
40.799854
58.865616
16.81561
36.93248
15.470686
35.77514
19.465397
49.17622
19.22744
42.930458
19.264643
23.72548
28.231333
40.697617
30.76201
60.088867
17.432423
41.551735
22.122295
46.53087
24.635618
60.43763
28.772085
38.645515
21.636843
57.942776
28.207756
51.092545
16.23002
37.26695
22.302687
41.74696
23.000845
42.590744
16.297403
24.003185
27.503984
51.50815
22.734152
55.2105
23.223398
39.188816
36.207737
90.0612
21.200743
55.198845
21.01668
51.128624
40.51862
62.096474
39.09393
47.070972
87.28046
40.378635
70.89389
79.05132
88.03078
143.05962
86.38053
48.37519
119.30548
51.782677
53.227493
29.04899
76.38095
28.773117
55.82885
56.204178
75.52978
117.06188
59.83445
36.889782
115.207504
44.242897
44.643936
21.498125
63.931065
29.391375
29.395714
35.364975
38.022587
95.06502
59.929386
19.687214
90.94568
34.870735
46.186703
34.881668
74.159294
41.863155
32.87878
52.09664
46.127457
89.75504
62.690205
28.790178
86.40862
37.866608
52.391468
28.838894
63.21451
30.348852
32.194527
44.244316
40.17224
82.748825
53.47601
21.15689
81.22208
32.789623
46.180347
32.205666
67.97347
38.738476
44.302113
57.67509
60.52085
106.730515
47.972706
36.229362
111.9289
51.771923
48.466366
32.396305
42.140083
44.20699
120.43795
75.11579
90.09361
102.972855
103.102806
142.17067
90.153694
56.56334
51.085804
21.492817
26.355577
41.838345
108.99061
61.433315
55.827915
78.33284
81.460175
136.52982
82.2895
52.076454
31.73878
12.066864
31.546894
42.18222
38.738625
26.111248
48.05739
83.6841
62.416744
88.89244
61.38453
36.81278
32.84304
16.365217
33.591465
48.939854
51.31736
33.863667
46.90986
79.40763
74.429405
78.606346
60.819885
41.601345
40.945316
17.785622
29.681484
37.869816
40.130814
30.543861
48.336365
74.93422
64.16234
78.75923
68.0539
36.859344
29.230568
26.254374
42.957096
56.822304
80.101685
70.93788
73.66708
112.6358
73.17974
122.91905
94.58166
59.89105
47.86779
37.909874
41.436893
47.855694
33.065147
80.04783
120.59966
125.06463
90.58698
71.28044
63.601753
22.567623
59.473377
24.95758
22.878794
26.30947
24.842035
64.49282
69.28866
85.01998
55.47786
53.791935
45.40822
13.245819
49.700424
20.554052
20.26683
23.11551
12.935225
39.794926
50.600792
101.71921
61.27942
23.747507
39.867767
10.801525
65.99182
37.338707
26.157782
29.312805
22.92862
43.039577
39.850574
93.949486
54.345062
40.81148
40.585987
17.928118
65.71081
33.59975
23.644089
25.563383
17.897497
40.759556
33.58642
94.736465
55.61113
28.152943
39.979126
19.153816
51.833477
34.277
24.863718
31.450325
41.55676
55.482964
45.36548
109.82675
63.28695
48.982506
57.731705
22.509691
69.51875
74.63645
23.253048
48.513653
53.76996
141.08691
53.293736
73.38964
114.74885
73.85527
48.4785
48.7299
56.027016
51.668762
16.076962
37.42605
49.10663
125.86745
44.241447
58.570515
85.517456
86.39956
40.233612
36.9561
46.21351
42.311947
24.35413
38.620144
38.55135
84.473305
24.375492
65.26247
70.69998
50.055946
36.23478
28.124968
42.226933
51.69482
32.009148
53.95775
33.056763
89.76912
25.750103
78.0198
63.521202
57.352013
35.130405
34.803303
43.916645
44.43969
26.2898
43.881462
35.448467
75.2497
19.373617
73.97349
61.523083
48.931355
35.660995
27.653748
40.171787
48.80926
24.440456
39.321213
28.683369
109.09964
35.0408
62.43978
74.36865
61.90071
29.856136
27.729103
47.397297
34.658825
87.10118
40.167427
18.225054
126.686646
144.33406
128.16843
112.76515
94.46251
113.92793
31.580975
35.28339
22.685436
56.726234
23.970596
10.803865
97.914185
108.10719
71.138626
77.81842
61.633057
112.5414
24.578646
22.817337
25.996235
57.84139
35.42729
11.049156
77.4423
80.56406
68.032196
86.259224
36.86087
73.75975
17.439255
34.463383
38.46388
51.67324
41.219265
10.6868725
70.12584
73.20792
50.05621
78.9792
31.88937
66.44989
26.431536
37.710327
37.748306
58.27382
35.393463
12.006809
72.78902
87.79527
57.246735
86.05846
36.82606
75.52941
24.123747
36.643288
32.256012
54.64001
28.705612
25.378693
102.15981
114.82128
61.85062
81.55693
52.101913
87.420296
24.602852
37.720276

1 37.63894 31.174656
2 23.207268 16.350279
3 38.600674 22.789177
4 49.023003 51.033195
5 103.16544 95.10196
6 136.36351 143.72798
7 228.96837 248.56514
8 95.556404 81.624825
9 34.701256 14.317354
10 50.14181 54.314953
11 2.3887796 3.5898218
12 41.059895 38.327282
13 25.788635 29.06015
14 18.236408 19.368362
15 29.031952 20.60291
16 38.99111 37.551273
17 90.344086 77.44563
18 95.69146 99.81384
19 206.01138 186.14442
20 76.83379 57.034023
21 24.600927 19.91156
22 39.985962 39.306408
23 0.43409503 0.85256624
24 36.300404 33.27073
25 30.287884 28.762604
26 23.871101 20.917215
27 24.685547 17.525002
28 20.602997 21.300055
29 51.445942 52.104977
30 63.200222 42.200336
31 178.59409 185.57613
32 62.178963 70.37845
33 13.716793 20.835373
34 25.43167 27.615982
35 0.16868392 2.7978063
36 32.340897 35.56955
37 26.52262 33.653126
38 23.270792 24.754032
39 18.995613 18.766287
40 22.353188 19.368382
41 46.449783 48.98469
42 42.287228 38.993263
43 163.29156 158.35138
44 56.99034 64.5624
45 16.313833 22.918335
46 21.535488 21.680492
47 3.5951788 2.7242997
48 36.52256 41.165028
49 30.261253 27.08392
50 28.02701 23.24611
51 17.092684 16.785679
52 24.984133 21.524668
53 45.050606 41.916515
54 41.413765 40.79905
55 171.99384 157.04985
56 63.993435 62.3512
57 11.308073 13.931578
58 23.258411 24.665794
59 0.43255252 2.8123379
60 32.508835 36.250103
61 37.252853 38.285152
62 31.582388 34.517036
63 26.152565 13.487172
64 39.994102 33.591892
65 66.85786 53.097176
66 71.806465 67.98111
67 182.91699 176.66515
68 64.41485 54.890606
69 23.18985 16.860699
70 28.298828 20.153542
71 16.593418 16.309742
72 42.920303 35.682148
73 87.27103 79.40155
74 45.030636 54.7205
75 35.660583 42.420486
76 52.031002 46.364117
77 72.33568 87.48198
78 124.909615 152.64699
79 127.98356 136.22754
80 62.92622 51.064034
81 48.276493 47.007305
82 86.1559 76.495285
83 42.463497 35.972443
84 34.520813 35.765568
85 59.711285 75.62721
86 28.610624 38.07622
87 24.952456 30.856655
88 32.337666 50.705616
89 40.537174 60.59518
90 92.40485 124.917564
91 72.39745 95.41821
92 35.64899 44.12282
93 39.300434 51.813343
94 71.6411 92.33139
95 30.533033 39.569687
96 25.561274 27.689795
97 49.75119 54.731686
98 35.51369 43.30465
99 20.205303 21.67123
100 33.452984 34.42165
101 37.232452 45.98126
102 73.07589 99.097534
103 85.85044 110.04732
104 53.67648 51.26564
105 34.155388 32.61207
106 65.61515 64.51444
107 32.460224 39.869186
108 39.88467 33.693607
109 67.75133 53.022243
110 40.184547 33.164776
111 33.01076 21.195053
112 49.815674 39.06738
113 47.57177 38.08621
114 69.34244 69.145836
115 78.54326 88.550835
116 52.76405 44.63134
117 33.941956 29.226349
118 61.65359 46.13165
119 35.347324 47.7372
120 39.99267 32.76761
55.250305
31.004831
18.653187
37.793823
35.19402
73.92183
73.41435
54.520428
26.47215
60.473274
31.998154
38.15362
52.42212
31.753462
27.224699
50.956024
60.24389
85.48651
95.07333
67.99856
41.10513
69.33134
42.963634
35.314987
70.47442
43.416645
69.52241
49.994663
126.37297
187.75774
55.217606
74.22636
112.39632
33.12799
74.22866
36.644676
49.608635
27.45996
51.274654
27.367037
101.37892
155.83138
40.747017
44.159397
83.36002
18.8886
47.474247
20.920792
36.450848
29.436481
28.3984
15.066029
90.846245
94.835045
39.714973
46.20777
65.64968
11.501383
28.299612
25.358507
56.450478
32.462284
35.117867
18.368004
77.538605
88.56975
31.972376
44.432365
59.442787
12.8963375
38.47779
33.188015
46.361153
30.468616
27.246002
22.64618
67.18332
74.30628
35.035168
44.12716
56.295193
13.400057
38.70058
28.153326
58.930588
40.159813
42.84794
42.653988
120.189186
102.97421
59.968853
41.41414
113.2773
34.86387
51.40831
30.132483
41.539825
30.192724
64.00048
83.99275
182.46048
95.280266
184.17635
126.861336
83.26023
60.560787
24.130663
44.84526
31.482744
19.869383
41.79372
54.953682
139.71689
81.20834
107.93422
97.5735
56.036995
41.124653
29.03827
33.311794
46.00972
17.069881
39.137123
37.77881
75.11886
58.674225
73.776726
69.89144
39.14573
13.560595
32.38936
42.65785
59.921898
26.87492
51.4965
63.93886
67.01335
76.530014
91.83108
82.52121
43.2072
29.392326
32.68616
60.207954
55.547764
20.270473
43.088436
53.300404
67.363754
78.11202
83.95492
81.72642
30.589256
22.060856
27.973154
53.83068
56.547955
34.04692
47.70064
55.359795
100.57237
93.91335
78.8982
65.447624
41.762726
26.480892
28.023453
66.94591
67.91457
32.652653
52.79412
38.657784
107.48706
36.856186
72.03856
25.478607
87.76974
45.21347
66.91131
22.061539
50.572044
21.774044
44.408855
27.242958
80.43207
33.044987
46.243195
19.871393
79.19147
40.799854
58.865616
16.81561
36.93248
15.470686
35.77514
19.465397
49.17622
19.22744
42.930458
19.264643
23.72548
28.231333
40.697617
30.76201
60.088867
17.432423
41.551735
22.122295
46.53087
24.635618
60.43763
28.772085
38.645515
21.636843
57.942776
28.207756
51.092545
16.23002
37.26695
22.302687
41.74696
23.000845
42.590744
16.297403
24.003185
27.503984
51.50815
22.734152
55.2105
23.223398
39.188816
36.207737
90.0612
21.200743
55.198845
21.01668
51.128624
40.51862
62.096474
39.09393
47.070972
87.28046
40.378635
70.89389
79.05132
88.03078
143.05962
86.38053
48.37519
119.30548
51.782677
53.227493
29.04899
76.38095
28.773117
55.82885
56.204178
75.52978
117.06188
59.83445
36.889782
115.207504
44.242897
44.643936
21.498125
63.931065
29.391375
29.395714
35.364975
38.022587
95.06502
59.929386
19.687214
90.94568
34.870735
46.186703
34.881668
74.159294
41.863155
32.87878
52.09664
46.127457
89.75504
62.690205
28.790178
86.40862
37.866608
52.391468
28.838894
63.21451
30.348852
32.194527
44.244316
40.17224
82.748825
53.47601
21.15689
81.22208
32.789623
46.180347
32.205666
67.97347
38.738476
44.302113
57.67509
60.52085
106.730515
47.972706
36.229362
111.9289
51.771923
48.466366
32.396305
42.140083
44.20699
120.43795
75.11579
90.09361
102.972855
103.102806
142.17067
90.153694
56.56334
51.085804
21.492817
26.355577
41.838345
108.99061
61.433315
55.827915
78.33284
81.460175
136.52982
82.2895
52.076454
31.73878
12.066864
31.546894
42.18222
38.738625
26.111248
48.05739
83.6841
62.416744
88.89244
61.38453
36.81278
32.84304
16.365217
33.591465
48.939854
51.31736
33.863667
46.90986
79.40763
74.429405
78.606346
60.819885
41.601345
40.945316
17.785622
29.681484
37.869816
40.130814
30.543861
48.336365
74.93422
64.16234
78.75923
68.0539
36.859344
29.230568
26.254374
42.957096
56.822304
80.101685
70.93788
73.66708
112.6358
73.17974
122.91905
94.58166
59.89105
47.86779
37.909874
41.436893
47.855694
33.065147
80.04783
120.59966
125.06463
90.58698
71.28044
63.601753
22.567623
59.473377
24.95758
22.878794
26.30947
24.842035
64.49282
69.28866
85.01998
55.47786
53.791935
45.40822
13.245819
49.700424
20.554052
20.26683
23.11551
12.935225
39.794926
50.600792
101.71921
61.27942
23.747507
39.867767
10.801525
65.99182
37.338707
26.157782
29.312805
22.92862
43.039577
39.850574
93.949486
54.345062
40.81148
40.585987
17.928118
65.71081
33.59975
23.644089
25.563383
17.897497
40.759556
33.58642
94.736465
55.61113
28.152943
39.979126
19.153816
51.833477
34.277
24.863718
31.450325
41.55676
55.482964
45.36548
109.82675
63.28695
48.982506
57.731705
22.509691
69.51875
74.63645
23.253048
48.513653
53.76996
141.08691
53.293736
73.38964
114.74885
73.85527
48.4785
48.7299
56.027016
51.668762
16.076962
37.42605
49.10663
125.86745
44.241447
58.570515
85.517456
86.39956
40.233612
36.9561
46.21351
42.311947
24.35413
38.620144
38.55135
84.473305
24.375492
65.26247
70.69998
50.055946
36.23478
28.124968
42.226933
51.69482
32.009148
53.95775
33.056763
89.76912
25.750103
78.0198
63.521202
57.352013
35.130405
34.803303
43.916645
44.43969
26.2898
43.881462
35.448467
75.2497
19.373617
73.97349
61.523083
48.931355
35.660995
27.653748
40.171787
48.80926
24.440456
39.321213
28.683369
109.09964
35.0408
62.43978
74.36865
61.90071
29.856136
27.729103
47.397297
34.658825
87.10118
40.167427
18.225054
126.686646
144.33406
128.16843
112.76515
94.46251
113.92793
31.580975
35.28339
22.685436
56.726234
23.970596
10.803865
97.914185
108.10719
71.138626
77.81842
61.633057
112.5414
24.578646
22.817337
25.996235
57.84139
35.42729
11.049156
77.4423
80.56406
68.032196
86.259224
36.86087
73.75975
17.439255
34.463383
38.46388
51.67324
41.219265
10.6868725
70.12584
73.20792
50.05621
78.9792
31.88937
66.44989
26.431536
37.710327
37.748306
58.27382
35.393463
12.006809
72.78902
87.79527
57.246735
86.05846
36.82606
75.52941
24.123747
36.643288
32.256012
54.64001
28.705612
25.378693
102.15981
114.82128
61.85062
81.55693
52.101913
87.420296
24.602852
37.720276