diff --git a/example/3_example_DNN_training.ipynb b/example/3_example_DNN_training.ipynb index a5df66c..c41a71b 100644 --- a/example/3_example_DNN_training.ipynb +++ b/example/3_example_DNN_training.ipynb @@ -20,19 +20,10 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 15, "id": "1be4e6e8-7757-4874-ba6a-680f497ebafc", "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "2023-12-05 14:28:38.199970: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\n", - "To enable the following instructions: SSE4.1 SSE4.2 AVX AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\n" - ] - } - ], + "outputs": [], "source": [ "import pandas as pd\n", "import xarray as xr\n", @@ -69,7 +60,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 16, "id": "5b5fb223-c59f-408c-ac20-733c296586ab", "metadata": {}, "outputs": [], @@ -81,7 +72,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 17, "id": "2aa7df27-8efa-410b-9210-fa83d8425d33", "metadata": {}, "outputs": [], @@ -114,18 +105,18 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 18, "id": "e4e5059d-fe8a-481e-98f3-6d1aacc8c4ee", "metadata": {}, "outputs": [], "source": [ - "# path to store results\n", - "out_path = './dnn_examples/results'\n", - "\n", "# JackKnife parameters\n", - "val_split_year = 2017\n", - "output_list = ['sig', 'slop', 'curv']\n", - "input_list = ['TG1', 'TG2', 'TG3', 'WG1', 'WG2', 'WG3', 'BIOMA1', 'BIOMA2']\n", + "JackKnife = {\n", + " 'val_split_year': 2017,\n", + " 'output_list': ['sig', 'slop', 'curv'],\n", + " 'input_list': ['TG1', 'TG2', 'TG3', 'WG1', 'WG2', 'WG3', 'BIOMA1', 'BIOMA2'],\n", + " 'out_path': './dnn_examples/results'\n", + "}\n", "\n", "# Training parameters\n", "searching_space = {\n", @@ -157,23 +148,67 @@ "source": [ "## Run the training\n", "\n", - "In this example, we will demonstrate how to run the training parralel pergrid with a dask cluster.\n", + "In this example, we will demonstrate how to run the training parralel per grid (partition) with a dask cluster." + ] + }, + { + "cell_type": "code", + "execution_count": 19, + "id": "41975f9b-15d2-4be0-948f-c29d892073b6", + "metadata": { + "editable": true, + "scrolled": true, + "slideshow": { + "slide_type": "" + }, + "tags": [] + }, + "outputs": [], + "source": [ + "# a function for training\n", + "def training_func(gpi_num, df, JackKnife, searching_space, optimize_space):\n", + " \n", + " # remove NA data\n", + " gpi_data = df.compute()\n", + " gpi_data.dropna(inplace=True)\n", + "\n", + " # add time to index\n", + " gpi_data.set_index(\"time\", inplace=True, drop=True)\n", "\n", - "To add a Dask cluster to this notebook, you can use the Dask JupyterLab extension (look for the Dask logo on the left tab of the JupyterLab interface):\n", + " gpi = JackknifeGPI(gpi_data,\n", + " JackKnife['val_split_year'],\n", + " JackKnife['input_list'],\n", + " JackKnife['output_list'],\n", + " outpath=f\"{JackKnife['out_path']}/gpi{gpi_num+1}\")\n", "\n", - "Click on the Dask logo;\n", - "click the `Scale` button, set up the number of workers to the number of available cores;\n", - "then click `<>` to add a code block.\n", - "Then a code cell will be added to this notebook. Please drop this cell below. By executing it, a Dask SLURMCluster will be created.\n", + " gpi.train(searching_space=searching_space,\n", + " optimize_space=optimize_space,\n", + " normalize_method='standard',\n", + " training_method='dnn',\n", + " performance_method='rmse',\n", + " verbose=2)\n", + "\n", + " gpi.export_best()\n", "\n", - "--ADD DASK SLURMCluster HERE--" + " return gpi.apr_perf, gpi.post_perf" ] }, { "cell_type": "markdown", - "id": "5252c553-88a5-4277-ae81-831cdaacd590", - "metadata": {}, + "id": "be5512c2-57c9-4401-8539-c2eaaa65d3c0", + "metadata": { + "editable": true, + "scrolled": true, + "slideshow": { + "slide_type": "" + }, + "tags": [] + }, "source": [ + "To add a Dask cluster to this notebook, you can use the Dask JupyterLab extension (look for the Dask logo on the left tab of the JupyterLab interface):\n", + "\n", + "Click on the Dask logo; click the Scale button, set up the number of workers to the number of available cores; then click <> to add a code block. Then a code cell will be added to this notebook. Please drop this cell below. By executing it, a Dask SLURMCluster will be created.\n", + "\n", "This is an example code of DASK cluster\n", "\n", "```python\n", @@ -186,7570 +221,688 @@ }, { "cell_type": "code", - "execution_count": 6, - "id": "03b52e16-246d-4b3b-a53f-6b626820f93b", + "execution_count": 20, + "id": "f97ca4d5-3313-4fe0-9fa5-5812c38da17e", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "
\n", + "
\n", + "

Client

\n", + "

Client-3574be79-9382-11ee-8174-9cb6d0956199

\n", + " \n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "\n", + "
Connection method: Direct
\n", + " Dashboard: http://127.0.0.1:8787/status\n", + "
\n", + "\n", + " \n", + " \n", + " \n", + "\n", + " \n", + "
\n", + "

Scheduler Info

\n", + "
\n", + "
\n", + "
\n", + "
\n", + "

Scheduler

\n", + "

Scheduler-b1054f94-16f9-4c9a-a50e-4a2c1309d672

\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
\n", + " Comm: tcp://127.0.0.1:39007\n", + " \n", + " Workers: 5\n", + "
\n", + " Dashboard: http://127.0.0.1:8787/status\n", + " \n", + " Total threads: 10\n", + "
\n", + " Started: 1 minute ago\n", + " \n", + " Total memory: 19.11 GiB\n", + "
\n", + "
\n", + "
\n", + "\n", + "
\n", + " \n", + "

Workers

\n", + "
\n", + "\n", + " \n", + "
\n", + "
\n", + "
\n", + "
\n", + " \n", + "

Worker: 0

\n", + "
\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "\n", + " \n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "\n", + "
\n", + " Comm: tcp://127.0.0.1:45823\n", + " \n", + " Total threads: 2\n", + "
\n", + " Dashboard: http://127.0.0.1:43255/status\n", + " \n", + " Memory: 3.82 GiB\n", + "
\n", + " Nanny: tcp://127.0.0.1:41415\n", + "
\n", + " Local directory: /tmp/dask-scratch-space/worker-y19tu4tj\n", + "
\n", + " Tasks executing: \n", + " \n", + " Tasks in memory: \n", + "
\n", + " Tasks ready: \n", + " \n", + " Tasks in flight: \n", + "
\n", + " CPU usage: 2.0%\n", + " \n", + " Last seen: Just now\n", + "
\n", + " Memory usage: 139.88 MiB\n", + " \n", + " Spilled bytes: 0 B\n", + "
\n", + " Read bytes: 8.96 kiB\n", + " \n", + " Write bytes: 8.82 kiB\n", + "
\n", + "
\n", + "
\n", + "
\n", + " \n", + "
\n", + "
\n", + "
\n", + "
\n", + " \n", + "

Worker: 1

\n", + "
\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "\n", + " \n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "\n", + "
\n", + " Comm: tcp://127.0.0.1:44953\n", + " \n", + " Total threads: 2\n", + "
\n", + " Dashboard: http://127.0.0.1:33439/status\n", + " \n", + " Memory: 3.82 GiB\n", + "
\n", + " Nanny: tcp://127.0.0.1:44863\n", + "
\n", + " Local directory: /tmp/dask-scratch-space/worker-8udn0mwa\n", + "
\n", + " Tasks executing: \n", + " \n", + " Tasks in memory: \n", + "
\n", + " Tasks ready: \n", + " \n", + " Tasks in flight: \n", + "
\n", + " CPU usage: 2.0%\n", + " \n", + " Last seen: Just now\n", + "
\n", + " Memory usage: 137.86 MiB\n", + " \n", + " Spilled bytes: 0 B\n", + "
\n", + " Read bytes: 8.97 kiB\n", + " \n", + " Write bytes: 8.82 kiB\n", + "
\n", + "
\n", + "
\n", + "
\n", + " \n", + "
\n", + "
\n", + "
\n", + "
\n", + " \n", + "

Worker: 2

\n", + "
\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "\n", + " \n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "\n", + "
\n", + " Comm: tcp://127.0.0.1:39031\n", + " \n", + " Total threads: 2\n", + "
\n", + " Dashboard: http://127.0.0.1:44167/status\n", + " \n", + " Memory: 3.82 GiB\n", + "
\n", + " Nanny: tcp://127.0.0.1:41687\n", + "
\n", + " Local directory: /tmp/dask-scratch-space/worker-cp9l2br3\n", + "
\n", + " Tasks executing: \n", + " \n", + " Tasks in memory: \n", + "
\n", + " Tasks ready: \n", + " \n", + " Tasks in flight: \n", + "
\n", + " CPU usage: 2.0%\n", + " \n", + " Last seen: Just now\n", + "
\n", + " Memory usage: 136.60 MiB\n", + " \n", + " Spilled bytes: 0 B\n", + "
\n", + " Read bytes: 9.06 kiB\n", + " \n", + " Write bytes: 8.91 kiB\n", + "
\n", + "
\n", + "
\n", + "
\n", + " \n", + "
\n", + "
\n", + "
\n", + "
\n", + " \n", + "

Worker: 3

\n", + "
\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "\n", + " \n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "\n", + "
\n", + " Comm: tcp://127.0.0.1:41335\n", + " \n", + " Total threads: 2\n", + "
\n", + " Dashboard: http://127.0.0.1:41259/status\n", + " \n", + " Memory: 3.82 GiB\n", + "
\n", + " Nanny: tcp://127.0.0.1:42087\n", + "
\n", + " Local directory: /tmp/dask-scratch-space/worker-u6n9g9_o\n", + "
\n", + " Tasks executing: \n", + " \n", + " Tasks in memory: \n", + "
\n", + " Tasks ready: \n", + " \n", + " Tasks in flight: \n", + "
\n", + " CPU usage: 2.0%\n", + " \n", + " Last seen: Just now\n", + "
\n", + " Memory usage: 138.97 MiB\n", + " \n", + " Spilled bytes: 0 B\n", + "
\n", + " Read bytes: 8.97 kiB\n", + " \n", + " Write bytes: 8.82 kiB\n", + "
\n", + "
\n", + "
\n", + "
\n", + " \n", + "
\n", + "
\n", + "
\n", + "
\n", + " \n", + "

Worker: 4

\n", + "
\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "\n", + " \n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "\n", + "
\n", + " Comm: tcp://127.0.0.1:41043\n", + " \n", + " Total threads: 2\n", + "
\n", + " Dashboard: http://127.0.0.1:35649/status\n", + " \n", + " Memory: 3.82 GiB\n", + "
\n", + " Nanny: tcp://127.0.0.1:46833\n", + "
\n", + " Local directory: /tmp/dask-scratch-space/worker-3e_hehyn\n", + "
\n", + " Tasks executing: \n", + " \n", + " Tasks in memory: \n", + "
\n", + " Tasks ready: \n", + " \n", + " Tasks in flight: \n", + "
\n", + " CPU usage: 2.0%\n", + " \n", + " Last seen: Just now\n", + "
\n", + " Memory usage: 137.44 MiB\n", + " \n", + " Spilled bytes: 0 B\n", + "
\n", + " Read bytes: 9.05 kiB\n", + " \n", + " Write bytes: 8.91 kiB\n", + "
\n", + "
\n", + "
\n", + "
\n", + " \n", + "\n", + "
\n", + "
\n", + "
\n", + " \n", + "\n", + "
\n", + "
" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 20, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "from dask.distributed import Client\n", + "\n", + "client = Client(\"tcp://127.0.0.1:39007\")\n", + "client" + ] + }, + { + "cell_type": "code", + "execution_count": 21, + "id": "8d24b179-6484-40f3-a1b1-d1f43021c574", "metadata": { "editable": true, + "scrolled": true, "slideshow": { "slide_type": "" }, "tags": [] }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Epoch 1/5\n", - "39/39 - 1s - loss: 1.4965 - mae: 1.0097 - acc: 0.2862 - val_loss: 1.3360 - val_mae: 0.9692 - val_acc: 0.2422 - 670ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "39/39 - 0s - loss: 1.1287 - mae: 0.8863 - acc: 0.2416 - val_loss: 1.0883 - val_mae: 0.8765 - val_acc: 0.2422 - 60ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "39/39 - 0s - loss: 0.9632 - mae: 0.8147 - acc: 0.2805 - val_loss: 0.9537 - val_mae: 0.8152 - val_acc: 0.3011 - 56ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "39/39 - 0s - loss: 0.8553 - mae: 0.7605 - acc: 0.3604 - val_loss: 0.8517 - val_mae: 0.7616 - val_acc: 0.4141 - 57ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "39/39 - 0s - loss: 0.7693 - mae: 0.7120 - acc: 0.5139 - val_loss: 0.7689 - val_mae: 0.7141 - val_acc: 0.5794 - 54ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.7398 - mae: 0.6895 - acc: 0.5659 - val_loss: 0.6410 - val_mae: 0.6399 - val_acc: 0.7103 - 1s/epoch - 116ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.5704 - mae: 0.5849 - acc: 0.6908 - val_loss: 0.5873 - val_mae: 0.5818 - val_acc: 0.7201 - 40ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.5460 - mae: 0.5687 - acc: 0.7064 - val_loss: 0.6024 - val_mae: 0.5918 - val_acc: 0.6907 - 39ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.5355 - mae: 0.5596 - acc: 0.7088 - val_loss: 0.5685 - val_mae: 0.5717 - val_acc: 0.7398 - 41ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5075 - mae: 0.5431 - acc: 0.7215 - val_loss: 0.5467 - val_mae: 0.5672 - val_acc: 0.7201 - 39ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "25/25 - 1s - loss: 0.8745 - mae: 0.7605 - acc: 0.4390 - val_loss: 0.7753 - val_mae: 0.6978 - val_acc: 0.6039 - 1s/epoch - 43ms/step\n", - "Epoch 2/5\n", - "25/25 - 0s - loss: 0.6784 - mae: 0.6444 - acc: 0.6024 - val_loss: 0.6333 - val_mae: 0.6301 - val_acc: 0.6137 - 43ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "25/25 - 0s - loss: 0.6310 - mae: 0.6192 - acc: 0.6048 - val_loss: 0.6166 - val_mae: 0.6165 - val_acc: 0.6072 - 45ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "25/25 - 0s - loss: 0.6142 - mae: 0.6052 - acc: 0.6061 - val_loss: 0.6079 - val_mae: 0.6110 - val_acc: 0.6154 - 47ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "25/25 - 0s - loss: 0.5869 - mae: 0.5891 - acc: 0.6237 - val_loss: 0.5728 - val_mae: 0.5844 - val_acc: 0.6727 - 47ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "36/36 - 2s - loss: 0.8086 - mae: 0.7244 - acc: 0.5115 - val_loss: 0.7420 - val_mae: 0.6913 - val_acc: 0.5925 - 2s/epoch - 43ms/step\n", - "Epoch 2/5\n", - "36/36 - 0s - loss: 0.7004 - mae: 0.6607 - acc: 0.5975 - val_loss: 0.6788 - val_mae: 0.6526 - val_acc: 0.6432 - 79ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "36/36 - 0s - loss: 0.6488 - mae: 0.6281 - acc: 0.6544 - val_loss: 0.6339 - val_mae: 0.6223 - val_acc: 0.6907 - 83ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "36/36 - 0s - loss: 0.6165 - mae: 0.6110 - acc: 0.6736 - val_loss: 0.6045 - val_mae: 0.6047 - val_acc: 0.6890 - 76ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "36/36 - 0s - loss: 0.5908 - mae: 0.5979 - acc: 0.6843 - val_loss: 0.5978 - val_mae: 0.5993 - val_acc: 0.7087 - 74ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "16/16 - 1s - loss: 0.7714 - mae: 0.7033 - acc: 0.5455 - val_loss: 0.6674 - val_mae: 0.6492 - val_acc: 0.6088 - 1s/epoch - 68ms/step\n", - "Epoch 2/5\n", - "16/16 - 0s - loss: 0.6439 - mae: 0.6261 - acc: 0.6302 - val_loss: 0.6172 - val_mae: 0.6142 - val_acc: 0.6661 - 38ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "16/16 - 0s - loss: 0.5822 - mae: 0.5899 - acc: 0.6888 - val_loss: 0.5654 - val_mae: 0.5806 - val_acc: 0.7201 - 39ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "16/16 - 0s - loss: 0.5372 - mae: 0.5630 - acc: 0.7043 - val_loss: 0.5424 - val_mae: 0.5672 - val_acc: 0.7300 - 44ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "16/16 - 0s - loss: 0.5070 - mae: 0.5459 - acc: 0.7129 - val_loss: 0.5186 - val_mae: 0.5544 - val_acc: 0.7267 - 37ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.7841 - mae: 0.7171 - acc: 0.4791 - val_loss: 0.7328 - val_mae: 0.6974 - val_acc: 0.6121 - 1s/epoch - 91ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.6465 - mae: 0.6357 - acc: 0.6130 - val_loss: 0.5886 - val_mae: 0.6008 - val_acc: 0.6481 - 43ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.5535 - mae: 0.5777 - acc: 0.6876 - val_loss: 0.5593 - val_mae: 0.5758 - val_acc: 0.7136 - 44ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.5334 - mae: 0.5669 - acc: 0.7031 - val_loss: 0.5480 - val_mae: 0.5649 - val_acc: 0.7152 - 43ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.5254 - mae: 0.5591 - acc: 0.7060 - val_loss: 0.5498 - val_mae: 0.5721 - val_acc: 0.7332 - 44ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.8774 - mae: 0.7685 - acc: 0.4545 - val_loss: 0.8233 - val_mae: 0.7478 - val_acc: 0.5286 - 1s/epoch - 136ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.7239 - mae: 0.6881 - acc: 0.5864 - val_loss: 0.7045 - val_mae: 0.6810 - val_acc: 0.6448 - 41ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.6469 - mae: 0.6360 - acc: 0.6425 - val_loss: 0.6599 - val_mae: 0.6390 - val_acc: 0.6432 - 42ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.6256 - mae: 0.6198 - acc: 0.6507 - val_loss: 0.6591 - val_mae: 0.6360 - val_acc: 0.6465 - 40ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6026 - mae: 0.6077 - acc: 0.6613 - val_loss: 0.6210 - val_mae: 0.6156 - val_acc: 0.6612 - 41ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.8773 - mae: 0.7699 - acc: 0.4455 - val_loss: 0.7755 - val_mae: 0.7235 - val_acc: 0.6187 - 1s/epoch - 137ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.6860 - mae: 0.6645 - acc: 0.6220 - val_loss: 0.6585 - val_mae: 0.6541 - val_acc: 0.6007 - 46ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.6267 - mae: 0.6231 - acc: 0.6269 - val_loss: 0.6054 - val_mae: 0.6147 - val_acc: 0.6727 - 52ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.5694 - mae: 0.5832 - acc: 0.6826 - val_loss: 0.5899 - val_mae: 0.5834 - val_acc: 0.7005 - 52ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.5455 - mae: 0.5639 - acc: 0.6957 - val_loss: 0.5779 - val_mae: 0.5818 - val_acc: 0.7038 - 49ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "23/23 - 1s - loss: 0.7265 - mae: 0.6846 - acc: 0.5545 - val_loss: 0.6187 - val_mae: 0.6164 - val_acc: 0.6187 - 951ms/epoch - 41ms/step\n", - "Epoch 2/5\n", - "23/23 - 0s - loss: 0.6000 - mae: 0.6010 - acc: 0.6323 - val_loss: 0.5736 - val_mae: 0.5807 - val_acc: 0.6923 - 54ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "23/23 - 0s - loss: 0.5556 - mae: 0.5699 - acc: 0.6781 - val_loss: 0.5501 - val_mae: 0.5595 - val_acc: 0.7185 - 50ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "23/23 - 0s - loss: 0.5229 - mae: 0.5534 - acc: 0.7007 - val_loss: 0.5347 - val_mae: 0.5592 - val_acc: 0.7398 - 57ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "23/23 - 0s - loss: 0.5064 - mae: 0.5444 - acc: 0.7142 - val_loss: 0.5222 - val_mae: 0.5509 - val_acc: 0.7463 - 61ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.8871 - mae: 0.7628 - acc: 0.4631 - val_loss: 0.8919 - val_mae: 0.7702 - val_acc: 0.5074 - 741ms/epoch - 93ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.8685 - mae: 0.7524 - acc: 0.5115 - val_loss: 0.8808 - val_mae: 0.7651 - val_acc: 0.5237 - 33ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.8537 - mae: 0.7450 - acc: 0.5250 - val_loss: 0.8609 - val_mae: 0.7535 - val_acc: 0.5336 - 31ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.8330 - mae: 0.7338 - acc: 0.5324 - val_loss: 0.8397 - val_mae: 0.7423 - val_acc: 0.5401 - 32ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.8112 - mae: 0.7227 - acc: 0.5389 - val_loss: 0.8156 - val_mae: 0.7297 - val_acc: 0.5499 - 29ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "20/20 - 1s - loss: 0.9359 - mae: 0.7963 - acc: 0.4660 - val_loss: 0.9708 - val_mae: 0.8179 - val_acc: 0.5401 - 1s/epoch - 67ms/step\n", - "Epoch 2/5\n", - "20/20 - 0s - loss: 0.9298 - mae: 0.7930 - acc: 0.5168 - val_loss: 0.9620 - val_mae: 0.8134 - val_acc: 0.5532 - 42ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "20/20 - 0s - loss: 0.9190 - mae: 0.7867 - acc: 0.5307 - val_loss: 0.9451 - val_mae: 0.8042 - val_acc: 0.5565 - 43ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "20/20 - 0s - loss: 0.8978 - mae: 0.7745 - acc: 0.5274 - val_loss: 0.9105 - val_mae: 0.7844 - val_acc: 0.5548 - 46ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "20/20 - 0s - loss: 0.8602 - mae: 0.7497 - acc: 0.5291 - val_loss: 0.8596 - val_mae: 0.7487 - val_acc: 0.5794 - 41ms/epoch - 2ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2014/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2014/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model12474447395350038312/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model12474447395350038312/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "16/16 [==============================] - 0s 821us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model17593858050894971300/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model17593858050894971300/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "54/54 [==============================] - 0s 693us/step\n", - "Epoch 1/5\n", - "42/42 - 1s - loss: 1.7899 - mae: 1.0766 - acc: 0.1256 - val_loss: 1.3987 - val_mae: 0.9716 - val_acc: 0.0935 - 574ms/epoch - 14ms/step\n", - "Epoch 2/5\n", - "42/42 - 0s - loss: 1.2285 - mae: 0.9049 - acc: 0.1441 - val_loss: 1.0895 - val_mae: 0.8541 - val_acc: 0.2398 - 54ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "42/42 - 0s - loss: 1.0258 - mae: 0.8177 - acc: 0.3636 - val_loss: 0.9549 - val_mae: 0.7850 - val_acc: 0.4872 - 53ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "42/42 - 0s - loss: 0.9235 - mae: 0.7629 - acc: 0.5436 - val_loss: 0.8765 - val_mae: 0.7406 - val_acc: 0.6003 - 54ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "42/42 - 0s - loss: 0.8534 - mae: 0.7250 - acc: 0.6009 - val_loss: 0.8136 - val_mae: 0.7076 - val_acc: 0.6440 - 64ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.9961 - mae: 0.8084 - acc: 0.2524 - val_loss: 0.9562 - val_mae: 0.7955 - val_acc: 0.2308 - 1s/epoch - 110ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.8912 - mae: 0.7644 - acc: 0.3123 - val_loss: 0.8295 - val_mae: 0.7448 - val_acc: 0.3363 - 35ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.7914 - mae: 0.7234 - acc: 0.5458 - val_loss: 0.7695 - val_mae: 0.7150 - val_acc: 0.6078 - 36ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.7527 - mae: 0.7001 - acc: 0.6066 - val_loss: 0.7409 - val_mae: 0.6955 - val_acc: 0.6169 - 37ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.7138 - mae: 0.6765 - acc: 0.6092 - val_loss: 0.6951 - val_mae: 0.6678 - val_acc: 0.6184 - 39ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.8700 - mae: 0.7395 - acc: 0.5466 - val_loss: 0.8132 - val_mae: 0.7176 - val_acc: 0.5897 - 966ms/epoch - 88ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.7822 - mae: 0.6952 - acc: 0.5971 - val_loss: 0.7631 - val_mae: 0.6769 - val_acc: 0.6124 - 45ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.7382 - mae: 0.6697 - acc: 0.6164 - val_loss: 0.7527 - val_mae: 0.6795 - val_acc: 0.6335 - 54ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.7249 - mae: 0.6629 - acc: 0.6220 - val_loss: 0.7204 - val_mae: 0.6621 - val_acc: 0.6395 - 46ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.6939 - mae: 0.6460 - acc: 0.6311 - val_loss: 0.6898 - val_mae: 0.6430 - val_acc: 0.6501 - 43ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "32/32 - 1s - loss: 0.7467 - mae: 0.6684 - acc: 0.6533 - val_loss: 0.6905 - val_mae: 0.6400 - val_acc: 0.6576 - 1s/epoch - 40ms/step\n", - "Epoch 2/5\n", - "32/32 - 0s - loss: 0.6385 - mae: 0.6166 - acc: 0.6846 - val_loss: 0.5872 - val_mae: 0.5949 - val_acc: 0.7240 - 90ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "32/32 - 0s - loss: 0.5787 - mae: 0.5826 - acc: 0.7054 - val_loss: 0.6377 - val_mae: 0.6282 - val_acc: 0.6908 - 88ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "32/32 - 0s - loss: 0.5341 - mae: 0.5567 - acc: 0.7043 - val_loss: 0.5264 - val_mae: 0.5521 - val_acc: 0.7451 - 87ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "32/32 - 0s - loss: 0.5224 - mae: 0.5522 - acc: 0.7167 - val_loss: 0.5367 - val_mae: 0.5596 - val_acc: 0.7059 - 97ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "17/17 - 1s - loss: 1.1209 - mae: 0.8464 - acc: 0.3640 - val_loss: 0.8706 - val_mae: 0.7529 - val_acc: 0.4510 - 558ms/epoch - 33ms/step\n", - "Epoch 2/5\n", - "17/17 - 0s - loss: 0.7728 - mae: 0.7046 - acc: 0.5379 - val_loss: 0.6937 - val_mae: 0.6690 - val_acc: 0.6048 - 34ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "17/17 - 0s - loss: 0.6657 - mae: 0.6399 - acc: 0.6062 - val_loss: 0.6275 - val_mae: 0.6185 - val_acc: 0.6275 - 32ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "17/17 - 0s - loss: 0.6141 - mae: 0.6083 - acc: 0.6356 - val_loss: 0.5950 - val_mae: 0.6001 - val_acc: 0.6697 - 32ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "17/17 - 0s - loss: 0.5822 - mae: 0.5900 - acc: 0.6737 - val_loss: 0.5753 - val_mae: 0.5826 - val_acc: 0.6968 - 35ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "8/8 - 2s - loss: 0.9657 - mae: 0.7865 - acc: 0.4957 - val_loss: 0.8953 - val_mae: 0.7509 - val_acc: 0.5807 - 2s/epoch - 206ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.8825 - mae: 0.7408 - acc: 0.5847 - val_loss: 0.8206 - val_mae: 0.7182 - val_acc: 0.5852 - 40ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.7763 - mae: 0.6973 - acc: 0.5945 - val_loss: 0.7497 - val_mae: 0.6863 - val_acc: 0.6199 - 41ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.7237 - mae: 0.6690 - acc: 0.6190 - val_loss: 0.7043 - val_mae: 0.6601 - val_acc: 0.6335 - 43ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6976 - mae: 0.6540 - acc: 0.6201 - val_loss: 0.6880 - val_mae: 0.6490 - val_acc: 0.6229 - 41ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9028 - mae: 0.7497 - acc: 0.5960 - val_loss: 0.7416 - val_mae: 0.6661 - val_acc: 0.6833 - 1s/epoch - 142ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7057 - mae: 0.6465 - acc: 0.6763 - val_loss: 0.6516 - val_mae: 0.6104 - val_acc: 0.7014 - 95ms/epoch - 11ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6197 - mae: 0.6050 - acc: 0.6899 - val_loss: 0.6114 - val_mae: 0.5946 - val_acc: 0.7270 - 52ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.5943 - mae: 0.5903 - acc: 0.7012 - val_loss: 0.6102 - val_mae: 0.5974 - val_acc: 0.7360 - 64ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5769 - mae: 0.5817 - acc: 0.7054 - val_loss: 0.5887 - val_mae: 0.5825 - val_acc: 0.7300 - 58ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "39/39 - 1s - loss: 0.9906 - mae: 0.8026 - acc: 0.5666 - val_loss: 0.9300 - val_mae: 0.7729 - val_acc: 0.6290 - 1s/epoch - 37ms/step\n", - "Epoch 2/5\n", - "39/39 - 0s - loss: 0.8997 - mae: 0.7382 - acc: 0.6122 - val_loss: 0.8415 - val_mae: 0.7147 - val_acc: 0.6244 - 66ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "39/39 - 0s - loss: 0.7834 - mae: 0.6791 - acc: 0.6160 - val_loss: 0.6622 - val_mae: 0.6255 - val_acc: 0.6275 - 66ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "39/39 - 0s - loss: 0.6584 - mae: 0.6223 - acc: 0.6213 - val_loss: 0.6266 - val_mae: 0.6121 - val_acc: 0.6350 - 70ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "39/39 - 0s - loss: 0.6266 - mae: 0.6085 - acc: 0.6220 - val_loss: 0.6004 - val_mae: 0.5967 - val_acc: 0.6410 - 70ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.8335 - mae: 0.7358 - acc: 0.4549 - val_loss: 0.6843 - val_mae: 0.6608 - val_acc: 0.6033 - 1s/epoch - 109ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.6064 - mae: 0.6143 - acc: 0.6250 - val_loss: 0.6078 - val_mae: 0.6086 - val_acc: 0.6486 - 64ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.5579 - mae: 0.5843 - acc: 0.6756 - val_loss: 0.5606 - val_mae: 0.5801 - val_acc: 0.6893 - 65ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.5354 - mae: 0.5673 - acc: 0.6846 - val_loss: 0.5500 - val_mae: 0.5628 - val_acc: 0.7134 - 61ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5351 - mae: 0.5634 - acc: 0.6782 - val_loss: 0.5564 - val_mae: 0.5738 - val_acc: 0.7044 - 60ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "22/22 - 1s - loss: 0.7982 - mae: 0.7013 - acc: 0.5873 - val_loss: 0.6452 - val_mae: 0.6164 - val_acc: 0.6938 - 791ms/epoch - 36ms/step\n", - "Epoch 2/5\n", - "22/22 - 0s - loss: 0.5912 - mae: 0.5925 - acc: 0.7009 - val_loss: 0.5695 - val_mae: 0.5767 - val_acc: 0.7255 - 47ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "22/22 - 0s - loss: 0.5451 - mae: 0.5633 - acc: 0.7077 - val_loss: 0.5535 - val_mae: 0.5679 - val_acc: 0.7360 - 48ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "22/22 - 0s - loss: 0.5215 - mae: 0.5500 - acc: 0.7205 - val_loss: 0.5419 - val_mae: 0.5614 - val_acc: 0.7481 - 49ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "22/22 - 0s - loss: 0.5102 - mae: 0.5431 - acc: 0.7163 - val_loss: 0.5281 - val_mae: 0.5549 - val_acc: 0.7436 - 46ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "14/14 - 2s - loss: 0.9419 - mae: 0.7662 - acc: 0.5375 - val_loss: 0.8921 - val_mae: 0.7433 - val_acc: 0.6275 - 2s/epoch - 108ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.8786 - mae: 0.7288 - acc: 0.6017 - val_loss: 0.8295 - val_mae: 0.7068 - val_acc: 0.6365 - 54ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.7886 - mae: 0.6894 - acc: 0.6009 - val_loss: 0.7102 - val_mae: 0.6535 - val_acc: 0.6395 - 55ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.7066 - mae: 0.6557 - acc: 0.6103 - val_loss: 0.6936 - val_mae: 0.6481 - val_acc: 0.6637 - 54ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.6744 - mae: 0.6367 - acc: 0.6326 - val_loss: 0.6789 - val_mae: 0.6335 - val_acc: 0.6697 - 55ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2011/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2011/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model15624522790566154987/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model15624522790566154987/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 830us/step\n", - "Epoch 1/5\n", - "42/42 - 1s - loss: 1.1202 - mae: 0.8455 - acc: 0.2856 - val_loss: 1.0156 - val_mae: 0.8129 - val_acc: 0.3676 - 610ms/epoch - 15ms/step\n", - "Epoch 2/5\n", - "42/42 - 0s - loss: 0.9804 - mae: 0.7939 - acc: 0.4697 - val_loss: 0.9192 - val_mae: 0.7735 - val_acc: 0.5446 - 54ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "42/42 - 0s - loss: 0.8779 - mae: 0.7475 - acc: 0.5708 - val_loss: 0.8130 - val_mae: 0.7232 - val_acc: 0.5825 - 57ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "42/42 - 0s - loss: 0.7650 - mae: 0.6895 - acc: 0.5871 - val_loss: 0.7124 - val_mae: 0.6706 - val_acc: 0.5900 - 59ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "42/42 - 0s - loss: 0.6900 - mae: 0.6532 - acc: 0.5996 - val_loss: 0.6734 - val_mae: 0.6500 - val_acc: 0.6051 - 59ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 1.0080 - mae: 0.8099 - acc: 0.4564 - val_loss: 0.9905 - val_mae: 0.8080 - val_acc: 0.5961 - 2s/epoch - 164ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.9726 - mae: 0.7921 - acc: 0.5761 - val_loss: 0.9461 - val_mae: 0.7848 - val_acc: 0.6430 - 33ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.9174 - mae: 0.7602 - acc: 0.6333 - val_loss: 0.8717 - val_mae: 0.7418 - val_acc: 0.6475 - 33ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.8410 - mae: 0.7168 - acc: 0.6299 - val_loss: 0.7887 - val_mae: 0.6930 - val_acc: 0.6415 - 36ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.7643 - mae: 0.6787 - acc: 0.6432 - val_loss: 0.7256 - val_mae: 0.6577 - val_acc: 0.6626 - 35ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 1.0268 - mae: 0.8209 - acc: 0.2436 - val_loss: 1.0136 - val_mae: 0.8218 - val_acc: 0.2390 - 688ms/epoch - 76ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 1.0055 - mae: 0.8120 - acc: 0.3727 - val_loss: 0.9971 - val_mae: 0.8146 - val_acc: 0.5113 - 32ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.9846 - mae: 0.8039 - acc: 0.4909 - val_loss: 0.9738 - val_mae: 0.8048 - val_acc: 0.5371 - 29ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.9504 - mae: 0.7907 - acc: 0.5197 - val_loss: 0.9286 - val_mae: 0.7859 - val_acc: 0.5507 - 28ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.8876 - mae: 0.7647 - acc: 0.5375 - val_loss: 0.8602 - val_mae: 0.7577 - val_acc: 0.5658 - 28ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "25/25 - 1s - loss: 1.0080 - mae: 0.8103 - acc: 0.3205 - val_loss: 1.0020 - val_mae: 0.8148 - val_acc: 0.3343 - 791ms/epoch - 32ms/step\n", - "Epoch 2/5\n", - "25/25 - 0s - loss: 0.9785 - mae: 0.8003 - acc: 0.3345 - val_loss: 0.9926 - val_mae: 0.8097 - val_acc: 0.3283 - 54ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "25/25 - 0s - loss: 0.9580 - mae: 0.7916 - acc: 0.3314 - val_loss: 0.9759 - val_mae: 0.8008 - val_acc: 0.3268 - 43ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "25/25 - 0s - loss: 0.9316 - mae: 0.7793 - acc: 0.3201 - val_loss: 0.9522 - val_mae: 0.7887 - val_acc: 0.3116 - 44ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "25/25 - 0s - loss: 0.8992 - mae: 0.7653 - acc: 0.3080 - val_loss: 0.9198 - val_mae: 0.7743 - val_acc: 0.2920 - 43ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.9337 - mae: 0.7662 - acc: 0.6015 - val_loss: 0.8386 - val_mae: 0.7165 - val_acc: 0.6112 - 1s/epoch - 82ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.7801 - mae: 0.6930 - acc: 0.5981 - val_loss: 0.7338 - val_mae: 0.6754 - val_acc: 0.6097 - 56ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.7171 - mae: 0.6635 - acc: 0.6163 - val_loss: 0.7098 - val_mae: 0.6571 - val_acc: 0.6067 - 59ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.6980 - mae: 0.6509 - acc: 0.6163 - val_loss: 0.6940 - val_mae: 0.6541 - val_acc: 0.6233 - 42ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.6851 - mae: 0.6439 - acc: 0.6212 - val_loss: 0.6796 - val_mae: 0.6446 - val_acc: 0.6263 - 40ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "65/65 - 1s - loss: 0.6825 - mae: 0.6424 - acc: 0.6420 - val_loss: 0.5873 - val_mae: 0.5924 - val_acc: 0.6914 - 1s/epoch - 16ms/step\n", - "Epoch 2/5\n", - "65/65 - 0s - loss: 0.5647 - mae: 0.5782 - acc: 0.7072 - val_loss: 0.5464 - val_mae: 0.5635 - val_acc: 0.7307 - 89ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "65/65 - 0s - loss: 0.5372 - mae: 0.5631 - acc: 0.7167 - val_loss: 0.5492 - val_mae: 0.5647 - val_acc: 0.7383 - 88ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "65/65 - 0s - loss: 0.5183 - mae: 0.5512 - acc: 0.7208 - val_loss: 0.5502 - val_mae: 0.5653 - val_acc: 0.7413 - 94ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "65/65 - 0s - loss: 0.5114 - mae: 0.5470 - acc: 0.7277 - val_loss: 0.5248 - val_mae: 0.5518 - val_acc: 0.7398 - 92ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "63/63 - 1s - loss: 0.7451 - mae: 0.6880 - acc: 0.5777 - val_loss: 0.6642 - val_mae: 0.6476 - val_acc: 0.6445 - 1s/epoch - 23ms/step\n", - "Epoch 2/5\n", - "63/63 - 0s - loss: 0.6656 - mae: 0.6423 - acc: 0.6314 - val_loss: 0.6250 - val_mae: 0.6238 - val_acc: 0.6430 - 135ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "63/63 - 0s - loss: 0.6341 - mae: 0.6262 - acc: 0.6477 - val_loss: 0.6169 - val_mae: 0.6121 - val_acc: 0.6747 - 129ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "63/63 - 0s - loss: 0.6128 - mae: 0.6144 - acc: 0.6557 - val_loss: 0.5909 - val_mae: 0.5993 - val_acc: 0.6687 - 127ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "63/63 - 0s - loss: 0.5895 - mae: 0.6022 - acc: 0.6538 - val_loss: 0.5789 - val_mae: 0.5945 - val_acc: 0.6793 - 124ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "45/45 - 1s - loss: 0.7578 - mae: 0.6887 - acc: 0.5795 - val_loss: 0.6372 - val_mae: 0.6250 - val_acc: 0.6188 - 1s/epoch - 33ms/step\n", - "Epoch 2/5\n", - "45/45 - 0s - loss: 0.5819 - mae: 0.5916 - acc: 0.6663 - val_loss: 0.5987 - val_mae: 0.5987 - val_acc: 0.7080 - 123ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "45/45 - 0s - loss: 0.5702 - mae: 0.5847 - acc: 0.6811 - val_loss: 0.6019 - val_mae: 0.5961 - val_acc: 0.7126 - 101ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "45/45 - 0s - loss: 0.5565 - mae: 0.5767 - acc: 0.6860 - val_loss: 0.5877 - val_mae: 0.5900 - val_acc: 0.7080 - 92ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "45/45 - 0s - loss: 0.5546 - mae: 0.5767 - acc: 0.6845 - val_loss: 0.5822 - val_mae: 0.5877 - val_acc: 0.7231 - 94ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "72/72 - 1s - loss: 0.7076 - mae: 0.6561 - acc: 0.6348 - val_loss: 0.6254 - val_mae: 0.6173 - val_acc: 0.7156 - 1s/epoch - 16ms/step\n", - "Epoch 2/5\n", - "72/72 - 0s - loss: 0.5778 - mae: 0.5868 - acc: 0.6996 - val_loss: 0.6296 - val_mae: 0.6186 - val_acc: 0.7322 - 102ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "72/72 - 0s - loss: 0.5484 - mae: 0.5679 - acc: 0.7144 - val_loss: 0.5544 - val_mae: 0.5721 - val_acc: 0.7398 - 98ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "72/72 - 0s - loss: 0.5247 - mae: 0.5558 - acc: 0.7087 - val_loss: 0.5469 - val_mae: 0.5643 - val_acc: 0.7443 - 96ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "72/72 - 0s - loss: 0.5156 - mae: 0.5485 - acc: 0.7265 - val_loss: 0.5141 - val_mae: 0.5493 - val_acc: 0.7549 - 105ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.9156 - mae: 0.7709 - acc: 0.5133 - val_loss: 0.7308 - val_mae: 0.6841 - val_acc: 0.6657 - 1s/epoch - 73ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.6530 - mae: 0.6337 - acc: 0.6693 - val_loss: 0.6062 - val_mae: 0.6022 - val_acc: 0.7035 - 35ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.5754 - mae: 0.5848 - acc: 0.6985 - val_loss: 0.5794 - val_mae: 0.5830 - val_acc: 0.7216 - 40ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.5457 - mae: 0.5654 - acc: 0.7068 - val_loss: 0.5625 - val_mae: 0.5741 - val_acc: 0.7337 - 37ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.5319 - mae: 0.5569 - acc: 0.7155 - val_loss: 0.5587 - val_mae: 0.5713 - val_acc: 0.7413 - 53ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 1.0165 - mae: 0.8162 - acc: 0.2886 - val_loss: 1.0163 - val_mae: 0.8225 - val_acc: 0.3253 - 1s/epoch - 158ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 1.0143 - mae: 0.8158 - acc: 0.3091 - val_loss: 1.0153 - val_mae: 0.8225 - val_acc: 0.2980 - 35ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 1.0119 - mae: 0.8154 - acc: 0.2947 - val_loss: 1.0117 - val_mae: 0.8214 - val_acc: 0.2799 - 37ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 1.0009 - mae: 0.8123 - acc: 0.2920 - val_loss: 1.0009 - val_mae: 0.8183 - val_acc: 0.2481 - 49ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.9811 - mae: 0.8056 - acc: 0.2701 - val_loss: 0.9767 - val_mae: 0.8078 - val_acc: 0.2436 - 35ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2010/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2010/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model10866796899521458076/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model10866796899521458076/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "9/9 [==============================] - 0s 868us/step\n", - "Epoch 1/5\n", - "42/42 - 1s - loss: 1.1404 - mae: 0.8739 - acc: 0.3727 - val_loss: 1.0228 - val_mae: 0.8329 - val_acc: 0.4003 - 630ms/epoch - 15ms/step\n", - "Epoch 2/5\n", - "42/42 - 0s - loss: 0.9485 - mae: 0.7861 - acc: 0.4426 - val_loss: 0.8712 - val_mae: 0.7587 - val_acc: 0.6133 - 60ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "42/42 - 0s - loss: 0.8205 - mae: 0.7180 - acc: 0.6031 - val_loss: 0.7634 - val_mae: 0.6970 - val_acc: 0.6254 - 58ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "42/42 - 0s - loss: 0.7388 - mae: 0.6725 - acc: 0.6156 - val_loss: 0.7055 - val_mae: 0.6632 - val_acc: 0.6299 - 59ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "42/42 - 0s - loss: 0.7003 - mae: 0.6527 - acc: 0.6197 - val_loss: 0.6819 - val_mae: 0.6513 - val_acc: 0.6314 - 61ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 1.0319 - mae: 0.8221 - acc: 0.3293 - val_loss: 1.0308 - val_mae: 0.8295 - val_acc: 0.3233 - 2s/epoch - 156ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 1.0281 - mae: 0.8218 - acc: 0.3312 - val_loss: 1.0282 - val_mae: 0.8297 - val_acc: 0.3233 - 35ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 1.0216 - mae: 0.8204 - acc: 0.3312 - val_loss: 1.0202 - val_mae: 0.8275 - val_acc: 0.3233 - 33ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 1.0065 - mae: 0.8157 - acc: 0.3312 - val_loss: 1.0019 - val_mae: 0.8215 - val_acc: 0.3233 - 31ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.9770 - mae: 0.8053 - acc: 0.3312 - val_loss: 0.9666 - val_mae: 0.8092 - val_acc: 0.3233 - 34ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "76/76 - 1s - loss: 0.7274 - mae: 0.6632 - acc: 0.6284 - val_loss: 0.6103 - val_mae: 0.6043 - val_acc: 0.7009 - 839ms/epoch - 11ms/step\n", - "Epoch 2/5\n", - "76/76 - 0s - loss: 0.5921 - mae: 0.5883 - acc: 0.6873 - val_loss: 0.5802 - val_mae: 0.5869 - val_acc: 0.7205 - 106ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "76/76 - 0s - loss: 0.5719 - mae: 0.5776 - acc: 0.6979 - val_loss: 0.5797 - val_mae: 0.5797 - val_acc: 0.7100 - 107ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "76/76 - 0s - loss: 0.5552 - mae: 0.5683 - acc: 0.7039 - val_loss: 0.5570 - val_mae: 0.5686 - val_acc: 0.7205 - 106ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "76/76 - 0s - loss: 0.5475 - mae: 0.5638 - acc: 0.7069 - val_loss: 0.5609 - val_mae: 0.5696 - val_acc: 0.7266 - 102ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.8848 - mae: 0.7364 - acc: 0.5483 - val_loss: 0.7629 - val_mae: 0.6828 - val_acc: 0.6511 - 903ms/epoch - 75ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.7300 - mae: 0.6683 - acc: 0.6326 - val_loss: 0.7127 - val_mae: 0.6464 - val_acc: 0.6450 - 43ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.6873 - mae: 0.6419 - acc: 0.6507 - val_loss: 0.6914 - val_mae: 0.6369 - val_acc: 0.6616 - 41ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.6674 - mae: 0.6294 - acc: 0.6495 - val_loss: 0.6822 - val_mae: 0.6238 - val_acc: 0.6662 - 43ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.6464 - mae: 0.6170 - acc: 0.6579 - val_loss: 0.6589 - val_mae: 0.6247 - val_acc: 0.6873 - 42ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "33/33 - 1s - loss: 0.8365 - mae: 0.7332 - acc: 0.4819 - val_loss: 0.7013 - val_mae: 0.6677 - val_acc: 0.6042 - 1s/epoch - 45ms/step\n", - "Epoch 2/5\n", - "33/33 - 0s - loss: 0.6899 - mae: 0.6547 - acc: 0.6061 - val_loss: 0.7070 - val_mae: 0.6665 - val_acc: 0.6073 - 84ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "33/33 - 0s - loss: 0.6820 - mae: 0.6491 - acc: 0.6065 - val_loss: 0.7270 - val_mae: 0.6682 - val_acc: 0.6163 - 85ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "33/33 - 0s - loss: 0.6927 - mae: 0.6555 - acc: 0.6073 - val_loss: 0.6851 - val_mae: 0.6564 - val_acc: 0.6239 - 82ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "33/33 - 0s - loss: 0.6668 - mae: 0.6404 - acc: 0.6099 - val_loss: 0.6746 - val_mae: 0.6455 - val_acc: 0.6178 - 83ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "26/26 - 1s - loss: 0.9960 - mae: 0.8076 - acc: 0.3863 - val_loss: 0.9067 - val_mae: 0.7662 - val_acc: 0.5695 - 1s/epoch - 52ms/step\n", - "Epoch 2/5\n", - "26/26 - 0s - loss: 0.7894 - mae: 0.7102 - acc: 0.5684 - val_loss: 0.7330 - val_mae: 0.6787 - val_acc: 0.6042 - 69ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "26/26 - 0s - loss: 0.7198 - mae: 0.6699 - acc: 0.6103 - val_loss: 0.7134 - val_mae: 0.6655 - val_acc: 0.6299 - 52ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "26/26 - 0s - loss: 0.6944 - mae: 0.6552 - acc: 0.6178 - val_loss: 0.6893 - val_mae: 0.6506 - val_acc: 0.6208 - 51ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "26/26 - 0s - loss: 0.6811 - mae: 0.6468 - acc: 0.6227 - val_loss: 0.6840 - val_mae: 0.6451 - val_acc: 0.6284 - 51ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "42/42 - 1s - loss: 0.8496 - mae: 0.7284 - acc: 0.5446 - val_loss: 0.7631 - val_mae: 0.6917 - val_acc: 0.6057 - 1s/epoch - 34ms/step\n", - "Epoch 2/5\n", - "42/42 - 0s - loss: 0.7007 - mae: 0.6538 - acc: 0.6035 - val_loss: 0.6892 - val_mae: 0.6438 - val_acc: 0.6012 - 74ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "42/42 - 0s - loss: 0.6363 - mae: 0.6210 - acc: 0.6197 - val_loss: 0.6311 - val_mae: 0.6086 - val_acc: 0.6737 - 70ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "42/42 - 0s - loss: 0.5878 - mae: 0.5913 - acc: 0.6760 - val_loss: 0.5778 - val_mae: 0.5812 - val_acc: 0.7281 - 71ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "42/42 - 0s - loss: 0.5543 - mae: 0.5720 - acc: 0.7058 - val_loss: 0.5670 - val_mae: 0.5740 - val_acc: 0.7175 - 71ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "24/24 - 1s - loss: 0.9011 - mae: 0.7559 - acc: 0.5110 - val_loss: 0.7256 - val_mae: 0.6772 - val_acc: 0.6239 - 1s/epoch - 56ms/step\n", - "Epoch 2/5\n", - "24/24 - 0s - loss: 0.7110 - mae: 0.6654 - acc: 0.6163 - val_loss: 0.6853 - val_mae: 0.6534 - val_acc: 0.6465 - 67ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "24/24 - 0s - loss: 0.6823 - mae: 0.6487 - acc: 0.6454 - val_loss: 0.6733 - val_mae: 0.6370 - val_acc: 0.6541 - 67ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "24/24 - 0s - loss: 0.6406 - mae: 0.6274 - acc: 0.6707 - val_loss: 0.6460 - val_mae: 0.6231 - val_acc: 0.6979 - 64ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "24/24 - 0s - loss: 0.6056 - mae: 0.6092 - acc: 0.6911 - val_loss: 0.6240 - val_mae: 0.6146 - val_acc: 0.7130 - 64ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.8573 - mae: 0.7380 - acc: 0.5446 - val_loss: 0.7447 - val_mae: 0.6861 - val_acc: 0.5861 - 1s/epoch - 122ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.7013 - mae: 0.6595 - acc: 0.6224 - val_loss: 0.6908 - val_mae: 0.6594 - val_acc: 0.6586 - 36ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.6687 - mae: 0.6412 - acc: 0.6477 - val_loss: 0.6633 - val_mae: 0.6318 - val_acc: 0.6631 - 39ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.6375 - mae: 0.6199 - acc: 0.6575 - val_loss: 0.6474 - val_mae: 0.6222 - val_acc: 0.6858 - 35ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6214 - mae: 0.6112 - acc: 0.6613 - val_loss: 0.6347 - val_mae: 0.6146 - val_acc: 0.6858 - 36ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "19/19 - 1s - loss: 0.8247 - mae: 0.7120 - acc: 0.5589 - val_loss: 0.7039 - val_mae: 0.6550 - val_acc: 0.6208 - 1s/epoch - 58ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.6695 - mae: 0.6337 - acc: 0.6545 - val_loss: 0.6611 - val_mae: 0.6297 - val_acc: 0.6526 - 53ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.6126 - mae: 0.6012 - acc: 0.6715 - val_loss: 0.6311 - val_mae: 0.6064 - val_acc: 0.6903 - 51ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.5966 - mae: 0.5936 - acc: 0.6771 - val_loss: 0.6145 - val_mae: 0.6051 - val_acc: 0.6767 - 51ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.5790 - mae: 0.5849 - acc: 0.6760 - val_loss: 0.5952 - val_mae: 0.5935 - val_acc: 0.7039 - 48ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "14/14 - 2s - loss: 0.8911 - mae: 0.7642 - acc: 0.4502 - val_loss: 0.7937 - val_mae: 0.7285 - val_acc: 0.6254 - 2s/epoch - 109ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.7372 - mae: 0.6879 - acc: 0.6061 - val_loss: 0.6827 - val_mae: 0.6564 - val_acc: 0.6118 - 67ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.6578 - mae: 0.6364 - acc: 0.6174 - val_loss: 0.6412 - val_mae: 0.6280 - val_acc: 0.6541 - 54ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.6169 - mae: 0.6090 - acc: 0.6631 - val_loss: 0.6313 - val_mae: 0.6114 - val_acc: 0.6616 - 53ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.5948 - mae: 0.5952 - acc: 0.6662 - val_loss: 0.6173 - val_mae: 0.6024 - val_acc: 0.6707 - 54ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2008/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2008/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model6204622912914195234/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model6204622912914195234/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 843us/step\n", - "Epoch 1/5\n", - "39/39 - 1s - loss: 1.1037 - mae: 0.8497 - acc: 0.3201 - val_loss: 1.0452 - val_mae: 0.8372 - val_acc: 0.2088 - 588ms/epoch - 15ms/step\n", - "Epoch 2/5\n", - "39/39 - 0s - loss: 0.9923 - mae: 0.8036 - acc: 0.3206 - val_loss: 0.9711 - val_mae: 0.8020 - val_acc: 0.4454 - 58ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "39/39 - 0s - loss: 0.9175 - mae: 0.7664 - acc: 0.5493 - val_loss: 0.9023 - val_mae: 0.7650 - val_acc: 0.6721 - 53ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "39/39 - 0s - loss: 0.8407 - mae: 0.7228 - acc: 0.6660 - val_loss: 0.8245 - val_mae: 0.7183 - val_acc: 0.6933 - 53ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "39/39 - 0s - loss: 0.7634 - mae: 0.6790 - acc: 0.6835 - val_loss: 0.7458 - val_mae: 0.6730 - val_acc: 0.6982 - 53ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "24/24 - 1s - loss: 0.8468 - mae: 0.7224 - acc: 0.5563 - val_loss: 0.7197 - val_mae: 0.6672 - val_acc: 0.6509 - 1s/epoch - 59ms/step\n", - "Epoch 2/5\n", - "24/24 - 0s - loss: 0.6945 - mae: 0.6465 - acc: 0.6252 - val_loss: 0.6705 - val_mae: 0.6414 - val_acc: 0.6688 - 83ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "24/24 - 0s - loss: 0.6662 - mae: 0.6263 - acc: 0.6525 - val_loss: 0.6339 - val_mae: 0.6161 - val_acc: 0.6737 - 83ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "24/24 - 0s - loss: 0.6475 - mae: 0.6171 - acc: 0.6603 - val_loss: 0.6249 - val_mae: 0.6119 - val_acc: 0.6900 - 84ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "24/24 - 0s - loss: 0.6279 - mae: 0.6062 - acc: 0.6680 - val_loss: 0.6143 - val_mae: 0.5970 - val_acc: 0.6852 - 81ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "15/15 - 1s - loss: 0.9409 - mae: 0.7818 - acc: 0.5530 - val_loss: 0.8839 - val_mae: 0.7543 - val_acc: 0.6069 - 1s/epoch - 98ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.8081 - mae: 0.7005 - acc: 0.6044 - val_loss: 0.7644 - val_mae: 0.6893 - val_acc: 0.5971 - 49ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.7405 - mae: 0.6711 - acc: 0.6142 - val_loss: 0.7296 - val_mae: 0.6702 - val_acc: 0.6101 - 48ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.7148 - mae: 0.6584 - acc: 0.6056 - val_loss: 0.7087 - val_mae: 0.6576 - val_acc: 0.6166 - 50ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.6925 - mae: 0.6464 - acc: 0.6122 - val_loss: 0.6953 - val_mae: 0.6528 - val_acc: 0.6134 - 48ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "22/22 - 1s - loss: 0.9143 - mae: 0.7704 - acc: 0.5648 - val_loss: 0.8592 - val_mae: 0.7514 - val_acc: 0.6281 - 812ms/epoch - 37ms/step\n", - "Epoch 2/5\n", - "22/22 - 0s - loss: 0.7887 - mae: 0.7037 - acc: 0.6411 - val_loss: 0.7442 - val_mae: 0.6869 - val_acc: 0.6558 - 43ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "22/22 - 0s - loss: 0.6956 - mae: 0.6495 - acc: 0.6485 - val_loss: 0.6696 - val_mae: 0.6416 - val_acc: 0.6737 - 43ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "22/22 - 0s - loss: 0.6524 - mae: 0.6239 - acc: 0.6660 - val_loss: 0.6375 - val_mae: 0.6208 - val_acc: 0.7129 - 45ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "22/22 - 0s - loss: 0.6206 - mae: 0.6060 - acc: 0.6880 - val_loss: 0.6162 - val_mae: 0.6055 - val_acc: 0.7162 - 45ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "44/44 - 1s - loss: 0.7635 - mae: 0.6809 - acc: 0.6497 - val_loss: 0.6810 - val_mae: 0.6413 - val_acc: 0.7064 - 1s/epoch - 25ms/step\n", - "Epoch 2/5\n", - "44/44 - 0s - loss: 0.6529 - mae: 0.6220 - acc: 0.6766 - val_loss: 0.6436 - val_mae: 0.6163 - val_acc: 0.7162 - 77ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "44/44 - 0s - loss: 0.6259 - mae: 0.6043 - acc: 0.6925 - val_loss: 0.6276 - val_mae: 0.6081 - val_acc: 0.7194 - 76ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "44/44 - 0s - loss: 0.6052 - mae: 0.5925 - acc: 0.6872 - val_loss: 0.6179 - val_mae: 0.6030 - val_acc: 0.7243 - 74ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "44/44 - 0s - loss: 0.5942 - mae: 0.5862 - acc: 0.6917 - val_loss: 0.6367 - val_mae: 0.5976 - val_acc: 0.7129 - 75ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "63/63 - 1s - loss: 1.0714 - mae: 0.8228 - acc: 0.3316 - val_loss: 0.9066 - val_mae: 0.7690 - val_acc: 0.5008 - 1s/epoch - 17ms/step\n", - "Epoch 2/5\n", - "63/63 - 0s - loss: 0.8024 - mae: 0.7112 - acc: 0.5771 - val_loss: 0.7584 - val_mae: 0.6957 - val_acc: 0.6166 - 78ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "63/63 - 0s - loss: 0.7074 - mae: 0.6564 - acc: 0.6199 - val_loss: 0.6815 - val_mae: 0.6471 - val_acc: 0.6248 - 78ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "63/63 - 0s - loss: 0.6659 - mae: 0.6291 - acc: 0.6268 - val_loss: 0.6543 - val_mae: 0.6284 - val_acc: 0.6362 - 80ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "63/63 - 0s - loss: 0.6475 - mae: 0.6184 - acc: 0.6383 - val_loss: 0.6391 - val_mae: 0.6170 - val_acc: 0.6591 - 79ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.9397 - mae: 0.7804 - acc: 0.4405 - val_loss: 0.9100 - val_mae: 0.7687 - val_acc: 0.4992 - 964ms/epoch - 121ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.8673 - mae: 0.7341 - acc: 0.5082 - val_loss: 0.8368 - val_mae: 0.7160 - val_acc: 0.5302 - 47ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.8114 - mae: 0.6967 - acc: 0.5604 - val_loss: 0.7932 - val_mae: 0.6920 - val_acc: 0.6085 - 36ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.7784 - mae: 0.6809 - acc: 0.6166 - val_loss: 0.7698 - val_mae: 0.6808 - val_acc: 0.6509 - 35ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.7423 - mae: 0.6636 - acc: 0.6611 - val_loss: 0.7333 - val_mae: 0.6617 - val_acc: 0.6786 - 35ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "91/91 - 1s - loss: 0.6688 - mae: 0.6381 - acc: 0.6117 - val_loss: 0.6460 - val_mae: 0.6047 - val_acc: 0.6411 - 1s/epoch - 14ms/step\n", - "Epoch 2/5\n", - "91/91 - 0s - loss: 0.5659 - mae: 0.5755 - acc: 0.6954 - val_loss: 0.6087 - val_mae: 0.5937 - val_acc: 0.7047 - 138ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "91/91 - 0s - loss: 0.5395 - mae: 0.5609 - acc: 0.6970 - val_loss: 0.5551 - val_mae: 0.5658 - val_acc: 0.7080 - 165ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "91/91 - 0s - loss: 0.5201 - mae: 0.5479 - acc: 0.7113 - val_loss: 0.5520 - val_mae: 0.5614 - val_acc: 0.7276 - 146ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "91/91 - 0s - loss: 0.5017 - mae: 0.5377 - acc: 0.7190 - val_loss: 0.5112 - val_mae: 0.5360 - val_acc: 0.7357 - 128ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.8792 - mae: 0.7351 - acc: 0.5302 - val_loss: 0.8114 - val_mae: 0.7109 - val_acc: 0.6052 - 907ms/epoch - 113ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.7619 - mae: 0.6779 - acc: 0.6228 - val_loss: 0.7127 - val_mae: 0.6638 - val_acc: 0.6460 - 29ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.7190 - mae: 0.6573 - acc: 0.6611 - val_loss: 0.6966 - val_mae: 0.6534 - val_acc: 0.6672 - 30ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.6858 - mae: 0.6366 - acc: 0.6595 - val_loss: 0.6720 - val_mae: 0.6358 - val_acc: 0.6803 - 31ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6526 - mae: 0.6193 - acc: 0.6819 - val_loss: 0.6548 - val_mae: 0.6222 - val_acc: 0.6933 - 30ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.7913 - mae: 0.7092 - acc: 0.4988 - val_loss: 0.6915 - val_mae: 0.6589 - val_acc: 0.6248 - 928ms/epoch - 77ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.6886 - mae: 0.6504 - acc: 0.6134 - val_loss: 0.6799 - val_mae: 0.6445 - val_acc: 0.6281 - 40ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.6774 - mae: 0.6397 - acc: 0.6211 - val_loss: 0.6741 - val_mae: 0.6437 - val_acc: 0.6281 - 39ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.6717 - mae: 0.6370 - acc: 0.6215 - val_loss: 0.6685 - val_mae: 0.6393 - val_acc: 0.6395 - 39ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.6671 - mae: 0.6350 - acc: 0.6166 - val_loss: 0.6606 - val_mae: 0.6361 - val_acc: 0.6330 - 43ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "37/37 - 1s - loss: 0.8979 - mae: 0.7525 - acc: 0.5273 - val_loss: 0.8504 - val_mae: 0.7330 - val_acc: 0.5677 - 1s/epoch - 31ms/step\n", - "Epoch 2/5\n", - "37/37 - 0s - loss: 0.8087 - mae: 0.7074 - acc: 0.5844 - val_loss: 0.7979 - val_mae: 0.7084 - val_acc: 0.5808 - 69ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "37/37 - 0s - loss: 0.7777 - mae: 0.6941 - acc: 0.5914 - val_loss: 0.7812 - val_mae: 0.6959 - val_acc: 0.5905 - 68ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "37/37 - 0s - loss: 0.7738 - mae: 0.6898 - acc: 0.5897 - val_loss: 0.7824 - val_mae: 0.6999 - val_acc: 0.5922 - 69ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "37/37 - 0s - loss: 0.7650 - mae: 0.6860 - acc: 0.6007 - val_loss: 0.7790 - val_mae: 0.6976 - val_acc: 0.5987 - 72ms/epoch - 2ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2013/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2013/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model9735608708598509099/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model9735608708598509099/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "16/16 [==============================] - 0s 884us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model8365092277182578156/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model8365092277182578156/assets\n" - ] + "outputs": [], + "source": [ + "from dask.distributed import wait" + ] + }, + { + "cell_type": "code", + "execution_count": 23, + "id": "76fef52a-8993-44a4-bf2b-79700070316a", + "metadata": { + "editable": true, + "scrolled": true, + "slideshow": { + "slide_type": "" }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "54/54 [==============================] - 0s 705us/step\n", - "Epoch 1/5\n", - "38/38 - 1s - loss: 1.1348 - mae: 0.8574 - acc: 0.2831 - val_loss: 1.0555 - val_mae: 0.8334 - val_acc: 0.3878 - 650ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "38/38 - 0s - loss: 0.9966 - mae: 0.8091 - acc: 0.3830 - val_loss: 0.9682 - val_mae: 0.7986 - val_acc: 0.4224 - 54ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "38/38 - 0s - loss: 0.9046 - mae: 0.7702 - acc: 0.4276 - val_loss: 0.8876 - val_mae: 0.7612 - val_acc: 0.4406 - 52ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "38/38 - 0s - loss: 0.8249 - mae: 0.7328 - acc: 0.4837 - val_loss: 0.8200 - val_mae: 0.7286 - val_acc: 0.5281 - 51ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "38/38 - 0s - loss: 0.7672 - mae: 0.7032 - acc: 0.5724 - val_loss: 0.7759 - val_mae: 0.7056 - val_acc: 0.6749 - 53ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "25/25 - 2s - loss: 0.8508 - mae: 0.7330 - acc: 0.5233 - val_loss: 0.7711 - val_mae: 0.7028 - val_acc: 0.5627 - 2s/epoch - 61ms/step\n", - "Epoch 2/5\n", - "25/25 - 0s - loss: 0.7175 - mae: 0.6635 - acc: 0.5761 - val_loss: 0.7173 - val_mae: 0.6660 - val_acc: 0.5842 - 78ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "25/25 - 0s - loss: 0.6711 - mae: 0.6344 - acc: 0.5993 - val_loss: 0.6993 - val_mae: 0.6448 - val_acc: 0.6238 - 72ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "25/25 - 0s - loss: 0.6433 - mae: 0.6160 - acc: 0.6405 - val_loss: 0.6604 - val_mae: 0.6165 - val_acc: 0.6568 - 72ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "25/25 - 0s - loss: 0.6036 - mae: 0.5930 - acc: 0.6678 - val_loss: 0.6300 - val_mae: 0.6025 - val_acc: 0.6551 - 71ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "34/34 - 1s - loss: 0.7377 - mae: 0.6685 - acc: 0.5869 - val_loss: 0.6407 - val_mae: 0.6269 - val_acc: 0.6865 - 806ms/epoch - 24ms/step\n", - "Epoch 2/5\n", - "34/34 - 0s - loss: 0.5839 - mae: 0.5917 - acc: 0.6781 - val_loss: 0.5936 - val_mae: 0.5839 - val_acc: 0.6865 - 55ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "34/34 - 0s - loss: 0.5386 - mae: 0.5645 - acc: 0.6913 - val_loss: 0.5732 - val_mae: 0.5752 - val_acc: 0.6964 - 54ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "34/34 - 0s - loss: 0.5247 - mae: 0.5557 - acc: 0.7037 - val_loss: 0.5504 - val_mae: 0.5596 - val_acc: 0.7294 - 51ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "34/34 - 0s - loss: 0.5210 - mae: 0.5542 - acc: 0.7086 - val_loss: 0.5412 - val_mae: 0.5586 - val_acc: 0.7244 - 53ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "31/31 - 2s - loss: 0.7852 - mae: 0.6981 - acc: 0.5312 - val_loss: 0.7040 - val_mae: 0.6564 - val_acc: 0.5842 - 2s/epoch - 52ms/step\n", - "Epoch 2/5\n", - "31/31 - 0s - loss: 0.6715 - mae: 0.6391 - acc: 0.6087 - val_loss: 0.6798 - val_mae: 0.6408 - val_acc: 0.6155 - 88ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "31/31 - 0s - loss: 0.6537 - mae: 0.6280 - acc: 0.6257 - val_loss: 0.6787 - val_mae: 0.6373 - val_acc: 0.6254 - 87ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "31/31 - 0s - loss: 0.6436 - mae: 0.6228 - acc: 0.6368 - val_loss: 0.6665 - val_mae: 0.6320 - val_acc: 0.6353 - 88ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "31/31 - 0s - loss: 0.6282 - mae: 0.6131 - acc: 0.6414 - val_loss: 0.6518 - val_mae: 0.6215 - val_acc: 0.6436 - 81ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 1.0042 - mae: 0.8049 - acc: 0.4957 - val_loss: 0.9474 - val_mae: 0.7791 - val_acc: 0.5693 - 1s/epoch - 134ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.8550 - mae: 0.7270 - acc: 0.5493 - val_loss: 0.7683 - val_mae: 0.6764 - val_acc: 0.6799 - 56ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.7135 - mae: 0.6566 - acc: 0.6595 - val_loss: 0.6801 - val_mae: 0.6416 - val_acc: 0.6716 - 56ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6581 - mae: 0.6253 - acc: 0.6682 - val_loss: 0.6554 - val_mae: 0.6242 - val_acc: 0.7063 - 60ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.6308 - mae: 0.6091 - acc: 0.6752 - val_loss: 0.6384 - val_mae: 0.6145 - val_acc: 0.6931 - 59ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.9075 - mae: 0.7490 - acc: 0.5390 - val_loss: 0.7713 - val_mae: 0.6885 - val_acc: 0.5875 - 1s/epoch - 104ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.7509 - mae: 0.6744 - acc: 0.6273 - val_loss: 0.7310 - val_mae: 0.6673 - val_acc: 0.6485 - 49ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.7158 - mae: 0.6527 - acc: 0.6409 - val_loss: 0.7118 - val_mae: 0.6566 - val_acc: 0.6617 - 43ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6772 - mae: 0.6356 - acc: 0.6541 - val_loss: 0.6851 - val_mae: 0.6423 - val_acc: 0.6601 - 45ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.6341 - mae: 0.6127 - acc: 0.6694 - val_loss: 0.6430 - val_mae: 0.6163 - val_acc: 0.6700 - 49ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.8586 - mae: 0.7335 - acc: 0.5749 - val_loss: 0.7312 - val_mae: 0.6751 - val_acc: 0.6353 - 1s/epoch - 126ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7297 - mae: 0.6692 - acc: 0.6418 - val_loss: 0.7098 - val_mae: 0.6614 - val_acc: 0.6865 - 43ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6886 - mae: 0.6454 - acc: 0.6587 - val_loss: 0.6467 - val_mae: 0.6257 - val_acc: 0.7096 - 44ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6405 - mae: 0.6216 - acc: 0.6793 - val_loss: 0.6164 - val_mae: 0.6026 - val_acc: 0.7244 - 46ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6176 - mae: 0.6110 - acc: 0.6822 - val_loss: 0.5999 - val_mae: 0.5958 - val_acc: 0.7294 - 48ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.9188 - mae: 0.7512 - acc: 0.5638 - val_loss: 0.8249 - val_mae: 0.7141 - val_acc: 0.6353 - 817ms/epoch - 58ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.7782 - mae: 0.6885 - acc: 0.6306 - val_loss: 0.7622 - val_mae: 0.6808 - val_acc: 0.6485 - 46ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.7319 - mae: 0.6628 - acc: 0.6517 - val_loss: 0.7394 - val_mae: 0.6721 - val_acc: 0.6898 - 44ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.7109 - mae: 0.6514 - acc: 0.6587 - val_loss: 0.7110 - val_mae: 0.6509 - val_acc: 0.6832 - 47ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.6839 - mae: 0.6383 - acc: 0.6661 - val_loss: 0.7056 - val_mae: 0.6467 - val_acc: 0.6634 - 45ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 1.0366 - mae: 0.8177 - acc: 0.3669 - val_loss: 1.0209 - val_mae: 0.8126 - val_acc: 0.3548 - 680ms/epoch - 68ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.9986 - mae: 0.7959 - acc: 0.3875 - val_loss: 0.9808 - val_mae: 0.7915 - val_acc: 0.4010 - 32ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.9648 - mae: 0.7745 - acc: 0.4783 - val_loss: 0.9504 - val_mae: 0.7744 - val_acc: 0.5446 - 34ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.9418 - mae: 0.7620 - acc: 0.5588 - val_loss: 0.9322 - val_mae: 0.7654 - val_acc: 0.5578 - 33ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.9224 - mae: 0.7532 - acc: 0.5658 - val_loss: 0.9146 - val_mae: 0.7569 - val_acc: 0.5710 - 34ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "162/162 - 1s - loss: 0.7177 - mae: 0.6598 - acc: 0.6121 - val_loss: 0.6766 - val_mae: 0.6370 - val_acc: 0.6568 - 1s/epoch - 6ms/step\n", - "Epoch 2/5\n", - "162/162 - 0s - loss: 0.6209 - mae: 0.6048 - acc: 0.6570 - val_loss: 0.6320 - val_mae: 0.6114 - val_acc: 0.6782 - 223ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "162/162 - 0s - loss: 0.6009 - mae: 0.5948 - acc: 0.6707 - val_loss: 0.6152 - val_mae: 0.5992 - val_acc: 0.7030 - 231ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "162/162 - 0s - loss: 0.5860 - mae: 0.5861 - acc: 0.6768 - val_loss: 0.6215 - val_mae: 0.5996 - val_acc: 0.6980 - 239ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "162/162 - 0s - loss: 0.5729 - mae: 0.5787 - acc: 0.6925 - val_loss: 0.5957 - val_mae: 0.5865 - val_acc: 0.7145 - 242ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 0.9074 - mae: 0.7679 - acc: 0.3706 - val_loss: 0.8094 - val_mae: 0.7294 - val_acc: 0.5825 - 2s/epoch - 166ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.7544 - mae: 0.6885 - acc: 0.5790 - val_loss: 0.7094 - val_mae: 0.6636 - val_acc: 0.5875 - 56ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.7132 - mae: 0.6646 - acc: 0.5827 - val_loss: 0.6917 - val_mae: 0.6510 - val_acc: 0.5908 - 58ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.6720 - mae: 0.6360 - acc: 0.6401 - val_loss: 0.6725 - val_mae: 0.6327 - val_acc: 0.6584 - 57ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6478 - mae: 0.6245 - acc: 0.6641 - val_loss: 0.6509 - val_mae: 0.6181 - val_acc: 0.6766 - 60ms/epoch - 6ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2016/assets\n" - ] + "tags": [] + }, + "outputs": [], + "source": [ + "# Use client.map with enumerate to parallelize the loop across workers\n", + "futures = [\n", + " client.submit(training_func, gpi_num, df, JackKnife, searching_space, optimize_space) for gpi_num, df in enumerate(train_bags)\n", + "]\n", + "\n", + "# Wait for all computations to finish\n", + "wait(futures)\n", + "\n", + "# Get the results\n", + "results = client.gather(futures)" + ] + }, + { + "cell_type": "code", + "execution_count": 24, + "id": "12e262ee-3d20-4d4b-b889-48d06549735b", + "metadata": { + "editable": true, + "scrolled": true, + "slideshow": { + "slide_type": "" }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2016/assets\n" - ] + "tags": [] + }, + "outputs": [], + "source": [ + "# Close the Dask client\n", + "client.close()" + ] + }, + { + "cell_type": "code", + "execution_count": 31, + "id": "c93bf79b-723c-465a-8f06-e859909ac56a", + "metadata": { + "editable": true, + "slideshow": { + "slide_type": "" }, + "tags": [] + }, + "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model14471771070037154195/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model14471771070037154195/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "17/17 [==============================] - 0s 788us/step\n", - "Epoch 1/5\n", - "42/42 - 1s - loss: 0.8451 - mae: 0.7419 - acc: 0.6160 - val_loss: 0.8033 - val_mae: 0.7223 - val_acc: 0.6556 - 682ms/epoch - 16ms/step\n", - "Epoch 2/5\n", - "42/42 - 0s - loss: 0.7436 - mae: 0.6852 - acc: 0.6652 - val_loss: 0.7194 - val_mae: 0.6726 - val_acc: 0.6737 - 66ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "42/42 - 0s - loss: 0.6856 - mae: 0.6476 - acc: 0.6670 - val_loss: 0.6787 - val_mae: 0.6455 - val_acc: 0.6798 - 66ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "42/42 - 0s - loss: 0.6536 - mae: 0.6286 - acc: 0.6795 - val_loss: 0.6560 - val_mae: 0.6296 - val_acc: 0.6979 - 65ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "42/42 - 0s - loss: 0.6330 - mae: 0.6164 - acc: 0.6916 - val_loss: 0.6429 - val_mae: 0.6216 - val_acc: 0.7024 - 76ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9558 - mae: 0.7825 - acc: 0.5612 - val_loss: 0.8445 - val_mae: 0.7259 - val_acc: 0.6450 - 1s/epoch - 137ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7515 - mae: 0.6807 - acc: 0.6364 - val_loss: 0.7448 - val_mae: 0.6867 - val_acc: 0.6329 - 52ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6909 - mae: 0.6543 - acc: 0.6489 - val_loss: 0.6834 - val_mae: 0.6508 - val_acc: 0.6828 - 52ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6530 - mae: 0.6309 - acc: 0.6655 - val_loss: 0.6695 - val_mae: 0.6402 - val_acc: 0.6782 - 53ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6379 - mae: 0.6201 - acc: 0.6704 - val_loss: 0.6575 - val_mae: 0.6302 - val_acc: 0.6813 - 54ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "26/26 - 1s - loss: 0.9946 - mae: 0.7977 - acc: 0.5200 - val_loss: 0.9175 - val_mae: 0.7516 - val_acc: 0.6133 - 1s/epoch - 54ms/step\n", - "Epoch 2/5\n", - "26/26 - 0s - loss: 0.8959 - mae: 0.7367 - acc: 0.6032 - val_loss: 0.8452 - val_mae: 0.7201 - val_acc: 0.6118 - 66ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "26/26 - 0s - loss: 0.8199 - mae: 0.7107 - acc: 0.6024 - val_loss: 0.8038 - val_mae: 0.7012 - val_acc: 0.6284 - 69ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "26/26 - 0s - loss: 0.8033 - mae: 0.7024 - acc: 0.6081 - val_loss: 0.7875 - val_mae: 0.6953 - val_acc: 0.6224 - 67ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "26/26 - 0s - loss: 0.7879 - mae: 0.6955 - acc: 0.6111 - val_loss: 0.7732 - val_mae: 0.6856 - val_acc: 0.6239 - 65ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "25/25 - 1s - loss: 0.8246 - mae: 0.7275 - acc: 0.5552 - val_loss: 0.6846 - val_mae: 0.6571 - val_acc: 0.7069 - 1s/epoch - 47ms/step\n", - "Epoch 2/5\n", - "25/25 - 0s - loss: 0.6016 - mae: 0.5976 - acc: 0.6916 - val_loss: 0.6004 - val_mae: 0.5936 - val_acc: 0.7356 - 57ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "25/25 - 0s - loss: 0.5631 - mae: 0.5701 - acc: 0.6999 - val_loss: 0.5800 - val_mae: 0.5810 - val_acc: 0.7356 - 59ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "25/25 - 0s - loss: 0.5528 - mae: 0.5645 - acc: 0.7041 - val_loss: 0.5744 - val_mae: 0.5777 - val_acc: 0.7417 - 56ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "25/25 - 0s - loss: 0.5419 - mae: 0.5569 - acc: 0.7094 - val_loss: 0.5689 - val_mae: 0.5720 - val_acc: 0.7402 - 56ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.9547 - mae: 0.7727 - acc: 0.5831 - val_loss: 0.8264 - val_mae: 0.7145 - val_acc: 0.6420 - 675ms/epoch - 61ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.7564 - mae: 0.6780 - acc: 0.6444 - val_loss: 0.6908 - val_mae: 0.6526 - val_acc: 0.6752 - 33ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.6553 - mae: 0.6335 - acc: 0.6606 - val_loss: 0.6526 - val_mae: 0.6333 - val_acc: 0.7069 - 34ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6116 - mae: 0.6080 - acc: 0.6844 - val_loss: 0.6248 - val_mae: 0.6088 - val_acc: 0.7160 - 35ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.5827 - mae: 0.5876 - acc: 0.6999 - val_loss: 0.6053 - val_mae: 0.5966 - val_acc: 0.7251 - 37ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "9/9 - 2s - loss: 1.0322 - mae: 0.8227 - acc: 0.2944 - val_loss: 1.0348 - val_mae: 0.8325 - val_acc: 0.3263 - 2s/epoch - 186ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 1.0253 - mae: 0.8211 - acc: 0.3371 - val_loss: 1.0285 - val_mae: 0.8304 - val_acc: 0.3263 - 40ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 1.0127 - mae: 0.8160 - acc: 0.3371 - val_loss: 1.0087 - val_mae: 0.8216 - val_acc: 0.3157 - 38ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.9841 - mae: 0.8042 - acc: 0.3813 - val_loss: 0.9712 - val_mae: 0.8049 - val_acc: 0.4789 - 38ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.9316 - mae: 0.7816 - acc: 0.4955 - val_loss: 0.9077 - val_mae: 0.7746 - val_acc: 0.5695 - 37ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "189/189 - 2s - loss: 0.6662 - mae: 0.6387 - acc: 0.6206 - val_loss: 0.6466 - val_mae: 0.6305 - val_acc: 0.6873 - 2s/epoch - 10ms/step\n", - "Epoch 2/5\n", - "189/189 - 0s - loss: 0.6078 - mae: 0.6062 - acc: 0.6746 - val_loss: 0.6313 - val_mae: 0.6230 - val_acc: 0.6813 - 357ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "189/189 - 0s - loss: 0.5933 - mae: 0.5962 - acc: 0.6807 - val_loss: 0.5961 - val_mae: 0.6071 - val_acc: 0.7190 - 377ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "189/189 - 0s - loss: 0.5749 - mae: 0.5892 - acc: 0.6924 - val_loss: 0.5822 - val_mae: 0.5949 - val_acc: 0.7115 - 375ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "189/189 - 0s - loss: 0.5699 - mae: 0.5858 - acc: 0.7003 - val_loss: 0.5927 - val_mae: 0.6010 - val_acc: 0.7251 - 369ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "49/49 - 1s - loss: 0.8185 - mae: 0.7113 - acc: 0.5964 - val_loss: 0.6579 - val_mae: 0.6339 - val_acc: 0.6299 - 1s/epoch - 23ms/step\n", - "Epoch 2/5\n", - "49/49 - 0s - loss: 0.6454 - mae: 0.6192 - acc: 0.6285 - val_loss: 0.6263 - val_mae: 0.6097 - val_acc: 0.6465 - 95ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "49/49 - 0s - loss: 0.6173 - mae: 0.6002 - acc: 0.6542 - val_loss: 0.6118 - val_mae: 0.5974 - val_acc: 0.6873 - 86ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "49/49 - 0s - loss: 0.5972 - mae: 0.5873 - acc: 0.6712 - val_loss: 0.5956 - val_mae: 0.5890 - val_acc: 0.6979 - 84ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "49/49 - 0s - loss: 0.5809 - mae: 0.5774 - acc: 0.6837 - val_loss: 0.5890 - val_mae: 0.5853 - val_acc: 0.7100 - 113ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 1.0137 - mae: 0.8137 - acc: 0.5299 - val_loss: 0.9908 - val_mae: 0.8100 - val_acc: 0.5770 - 1s/epoch - 145ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.9523 - mae: 0.7827 - acc: 0.5907 - val_loss: 0.8952 - val_mae: 0.7598 - val_acc: 0.6239 - 40ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.8322 - mae: 0.7131 - acc: 0.6489 - val_loss: 0.7522 - val_mae: 0.6761 - val_acc: 0.6692 - 46ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.7118 - mae: 0.6537 - acc: 0.6867 - val_loss: 0.6632 - val_mae: 0.6353 - val_acc: 0.7039 - 41ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6404 - mae: 0.6145 - acc: 0.6946 - val_loss: 0.6246 - val_mae: 0.6140 - val_acc: 0.7205 - 44ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "19/19 - 1s - loss: 0.8516 - mae: 0.7292 - acc: 0.5650 - val_loss: 0.6899 - val_mae: 0.6442 - val_acc: 0.6450 - 791ms/epoch - 42ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.6315 - mae: 0.6137 - acc: 0.6527 - val_loss: 0.6263 - val_mae: 0.6090 - val_acc: 0.6903 - 45ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.5881 - mae: 0.5847 - acc: 0.6841 - val_loss: 0.6168 - val_mae: 0.5992 - val_acc: 0.7175 - 45ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.5607 - mae: 0.5682 - acc: 0.7011 - val_loss: 0.5786 - val_mae: 0.5779 - val_acc: 0.7311 - 48ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.5342 - mae: 0.5530 - acc: 0.7166 - val_loss: 0.5742 - val_mae: 0.5778 - val_acc: 0.7311 - 46ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 1.0067 - mae: 0.8091 - acc: 0.3923 - val_loss: 1.0000 - val_mae: 0.8073 - val_acc: 0.4079 - 1s/epoch - 147ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.9639 - mae: 0.7857 - acc: 0.4388 - val_loss: 0.9631 - val_mae: 0.7903 - val_acc: 0.4260 - 43ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.9323 - mae: 0.7705 - acc: 0.4550 - val_loss: 0.9228 - val_mae: 0.7718 - val_acc: 0.4637 - 38ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.8959 - mae: 0.7513 - acc: 0.4958 - val_loss: 0.8789 - val_mae: 0.7495 - val_acc: 0.4698 - 38ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.8455 - mae: 0.7276 - acc: 0.5385 - val_loss: 0.8180 - val_mae: 0.7170 - val_acc: 0.5363 - 39ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2009/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2009/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model11773041152100058256/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model11773041152100058256/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 873us/step\n", - "Epoch 1/5\n", - "42/42 - 1s - loss: 0.9453 - mae: 0.7822 - acc: 0.4129 - val_loss: 0.8731 - val_mae: 0.7579 - val_acc: 0.4797 - 676ms/epoch - 16ms/step\n", - "Epoch 2/5\n", - "42/42 - 0s - loss: 0.7988 - mae: 0.7108 - acc: 0.5597 - val_loss: 0.7667 - val_mae: 0.6988 - val_acc: 0.6421 - 62ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "42/42 - 0s - loss: 0.7199 - mae: 0.6685 - acc: 0.6500 - val_loss: 0.7091 - val_mae: 0.6627 - val_acc: 0.6812 - 64ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "42/42 - 0s - loss: 0.6770 - mae: 0.6435 - acc: 0.6699 - val_loss: 0.6751 - val_mae: 0.6402 - val_acc: 0.6932 - 65ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "42/42 - 0s - loss: 0.6477 - mae: 0.6253 - acc: 0.6786 - val_loss: 0.6532 - val_mae: 0.6261 - val_acc: 0.6992 - 65ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "33/33 - 1s - loss: 0.8000 - mae: 0.7074 - acc: 0.5529 - val_loss: 0.7466 - val_mae: 0.6760 - val_acc: 0.6135 - 1s/epoch - 43ms/step\n", - "Epoch 2/5\n", - "33/33 - 0s - loss: 0.7106 - mae: 0.6541 - acc: 0.6093 - val_loss: 0.7171 - val_mae: 0.6637 - val_acc: 0.6180 - 108ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "33/33 - 0s - loss: 0.6979 - mae: 0.6488 - acc: 0.6139 - val_loss: 0.7009 - val_mae: 0.6567 - val_acc: 0.6256 - 115ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "33/33 - 0s - loss: 0.6940 - mae: 0.6460 - acc: 0.6255 - val_loss: 0.6915 - val_mae: 0.6515 - val_acc: 0.6271 - 145ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "33/33 - 0s - loss: 0.6870 - mae: 0.6420 - acc: 0.6180 - val_loss: 0.6910 - val_mae: 0.6523 - val_acc: 0.6226 - 188ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 1.0229 - mae: 0.8205 - acc: 0.2890 - val_loss: 1.0226 - val_mae: 0.8289 - val_acc: 0.4286 - 1s/epoch - 119ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.9925 - mae: 0.8076 - acc: 0.4859 - val_loss: 0.9858 - val_mae: 0.8115 - val_acc: 0.5504 - 37ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.9476 - mae: 0.7861 - acc: 0.5288 - val_loss: 0.9261 - val_mae: 0.7809 - val_acc: 0.5774 - 37ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.8862 - mae: 0.7549 - acc: 0.6191 - val_loss: 0.8497 - val_mae: 0.7385 - val_acc: 0.6496 - 37ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.8155 - mae: 0.7125 - acc: 0.6428 - val_loss: 0.7818 - val_mae: 0.6909 - val_acc: 0.6180 - 36ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "28/28 - 1s - loss: 0.9347 - mae: 0.7791 - acc: 0.4848 - val_loss: 0.7406 - val_mae: 0.6850 - val_acc: 0.6165 - 1s/epoch - 52ms/step\n", - "Epoch 2/5\n", - "28/28 - 0s - loss: 0.6837 - mae: 0.6451 - acc: 0.6127 - val_loss: 0.6812 - val_mae: 0.6499 - val_acc: 0.6075 - 63ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "28/28 - 0s - loss: 0.6635 - mae: 0.6332 - acc: 0.6108 - val_loss: 0.6685 - val_mae: 0.6426 - val_acc: 0.6256 - 64ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "28/28 - 0s - loss: 0.6618 - mae: 0.6321 - acc: 0.6139 - val_loss: 0.6648 - val_mae: 0.6406 - val_acc: 0.6241 - 62ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "28/28 - 0s - loss: 0.6524 - mae: 0.6259 - acc: 0.6139 - val_loss: 0.6636 - val_mae: 0.6394 - val_acc: 0.6256 - 62ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "11/11 - 2s - loss: 0.9286 - mae: 0.7661 - acc: 0.5574 - val_loss: 0.7925 - val_mae: 0.6984 - val_acc: 0.6421 - 2s/epoch - 146ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.6862 - mae: 0.6396 - acc: 0.6586 - val_loss: 0.6588 - val_mae: 0.6280 - val_acc: 0.6812 - 65ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.6072 - mae: 0.5953 - acc: 0.6741 - val_loss: 0.6316 - val_mae: 0.6086 - val_acc: 0.6917 - 62ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.5776 - mae: 0.5756 - acc: 0.6842 - val_loss: 0.6019 - val_mae: 0.5900 - val_acc: 0.6932 - 64ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.5657 - mae: 0.5688 - acc: 0.6948 - val_loss: 0.5997 - val_mae: 0.5908 - val_acc: 0.7113 - 66ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.9918 - mae: 0.8067 - acc: 0.3613 - val_loss: 0.9770 - val_mae: 0.8113 - val_acc: 0.4241 - 1s/epoch - 105ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.9350 - mae: 0.7841 - acc: 0.4407 - val_loss: 0.9433 - val_mae: 0.7981 - val_acc: 0.4647 - 50ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.8935 - mae: 0.7644 - acc: 0.4629 - val_loss: 0.9028 - val_mae: 0.7777 - val_acc: 0.5158 - 50ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.8305 - mae: 0.7308 - acc: 0.5269 - val_loss: 0.8087 - val_mae: 0.7283 - val_acc: 0.5368 - 50ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.7494 - mae: 0.6833 - acc: 0.5551 - val_loss: 0.7378 - val_mae: 0.6849 - val_acc: 0.5549 - 50ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "35/35 - 1s - loss: 0.7157 - mae: 0.6627 - acc: 0.5984 - val_loss: 0.6687 - val_mae: 0.6296 - val_acc: 0.6556 - 1s/epoch - 29ms/step\n", - "Epoch 2/5\n", - "35/35 - 0s - loss: 0.5903 - mae: 0.5904 - acc: 0.6669 - val_loss: 0.5997 - val_mae: 0.5892 - val_acc: 0.7038 - 71ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "35/35 - 0s - loss: 0.5514 - mae: 0.5666 - acc: 0.6846 - val_loss: 0.5777 - val_mae: 0.5798 - val_acc: 0.7068 - 70ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "35/35 - 0s - loss: 0.5387 - mae: 0.5589 - acc: 0.6982 - val_loss: 0.5581 - val_mae: 0.5711 - val_acc: 0.7323 - 65ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "35/35 - 0s - loss: 0.5304 - mae: 0.5541 - acc: 0.6967 - val_loss: 0.5699 - val_mae: 0.5728 - val_acc: 0.7248 - 64ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "26/26 - 1s - loss: 0.7952 - mae: 0.7210 - acc: 0.5612 - val_loss: 0.7729 - val_mae: 0.7146 - val_acc: 0.6586 - 1s/epoch - 49ms/step\n", - "Epoch 2/5\n", - "26/26 - 0s - loss: 0.7104 - mae: 0.6704 - acc: 0.6526 - val_loss: 0.6958 - val_mae: 0.6643 - val_acc: 0.6526 - 51ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "26/26 - 0s - loss: 0.6539 - mae: 0.6315 - acc: 0.6496 - val_loss: 0.6532 - val_mae: 0.6302 - val_acc: 0.6511 - 51ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "26/26 - 0s - loss: 0.6315 - mae: 0.6157 - acc: 0.6650 - val_loss: 0.6377 - val_mae: 0.6202 - val_acc: 0.6767 - 50ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "26/26 - 0s - loss: 0.6157 - mae: 0.6073 - acc: 0.6801 - val_loss: 0.6310 - val_mae: 0.6167 - val_acc: 0.6812 - 49ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "15/15 - 1s - loss: 1.0269 - mae: 0.8220 - acc: 0.3380 - val_loss: 0.9991 - val_mae: 0.8155 - val_acc: 0.3699 - 775ms/epoch - 52ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.9400 - mae: 0.7834 - acc: 0.4565 - val_loss: 0.9269 - val_mae: 0.7809 - val_acc: 0.6226 - 42ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.8386 - mae: 0.7274 - acc: 0.6123 - val_loss: 0.7866 - val_mae: 0.6982 - val_acc: 0.6346 - 43ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.7458 - mae: 0.6697 - acc: 0.6229 - val_loss: 0.7285 - val_mae: 0.6648 - val_acc: 0.6376 - 42ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.6931 - mae: 0.6452 - acc: 0.6330 - val_loss: 0.6930 - val_mae: 0.6516 - val_acc: 0.6361 - 40ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.7840 - mae: 0.7057 - acc: 0.5939 - val_loss: 0.7064 - val_mae: 0.6687 - val_acc: 0.6722 - 849ms/epoch - 106ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.6686 - mae: 0.6425 - acc: 0.6477 - val_loss: 0.6361 - val_mae: 0.6158 - val_acc: 0.7113 - 38ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.6365 - mae: 0.6142 - acc: 0.6568 - val_loss: 0.6200 - val_mae: 0.6071 - val_acc: 0.7068 - 43ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.6115 - mae: 0.6015 - acc: 0.6522 - val_loss: 0.6020 - val_mae: 0.6020 - val_acc: 0.6932 - 39ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.5876 - mae: 0.5904 - acc: 0.6688 - val_loss: 0.5951 - val_mae: 0.5948 - val_acc: 0.7158 - 39ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.8885 - mae: 0.7507 - acc: 0.5559 - val_loss: 0.7369 - val_mae: 0.6755 - val_acc: 0.6842 - 909ms/epoch - 101ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7231 - mae: 0.6587 - acc: 0.6737 - val_loss: 0.6757 - val_mae: 0.6376 - val_acc: 0.6992 - 37ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6665 - mae: 0.6283 - acc: 0.6891 - val_loss: 0.6551 - val_mae: 0.6307 - val_acc: 0.7098 - 37ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6405 - mae: 0.6153 - acc: 0.6895 - val_loss: 0.6316 - val_mae: 0.6135 - val_acc: 0.7023 - 37ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6218 - mae: 0.6038 - acc: 0.6974 - val_loss: 0.6201 - val_mae: 0.6083 - val_acc: 0.7128 - 40ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2007/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2007/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model3697575724809382066/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model3697575724809382066/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 830us/step\n", - "Epoch 1/5\n", - "42/42 - 1s - loss: 1.1689 - mae: 0.8896 - acc: 0.2674 - val_loss: 1.0956 - val_mae: 0.8586 - val_acc: 0.2979 - 709ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "42/42 - 0s - loss: 1.0139 - mae: 0.8212 - acc: 0.3218 - val_loss: 1.0063 - val_mae: 0.8169 - val_acc: 0.3982 - 88ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "42/42 - 0s - loss: 0.9395 - mae: 0.7830 - acc: 0.4196 - val_loss: 0.9359 - val_mae: 0.7797 - val_acc: 0.4726 - 70ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "42/42 - 0s - loss: 0.8628 - mae: 0.7411 - acc: 0.4968 - val_loss: 0.8553 - val_mae: 0.7353 - val_acc: 0.5532 - 69ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "42/42 - 0s - loss: 0.7779 - mae: 0.6983 - acc: 0.5789 - val_loss: 0.7808 - val_mae: 0.6974 - val_acc: 0.5912 - 71ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "72/72 - 2s - loss: 0.6735 - mae: 0.6488 - acc: 0.6250 - val_loss: 0.6187 - val_mae: 0.6069 - val_acc: 0.6900 - 2s/epoch - 24ms/step\n", - "Epoch 2/5\n", - "72/72 - 0s - loss: 0.5799 - mae: 0.5904 - acc: 0.6691 - val_loss: 0.6004 - val_mae: 0.5930 - val_acc: 0.6991 - 168ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "72/72 - 0s - loss: 0.5497 - mae: 0.5721 - acc: 0.6774 - val_loss: 0.5777 - val_mae: 0.5834 - val_acc: 0.7234 - 177ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "72/72 - 0s - loss: 0.5442 - mae: 0.5670 - acc: 0.6987 - val_loss: 0.5920 - val_mae: 0.5767 - val_acc: 0.7112 - 185ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "72/72 - 0s - loss: 0.5254 - mae: 0.5560 - acc: 0.6976 - val_loss: 0.5436 - val_mae: 0.5651 - val_acc: 0.7386 - 180ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.8738 - mae: 0.7630 - acc: 0.3853 - val_loss: 0.7647 - val_mae: 0.7122 - val_acc: 0.5821 - 1s/epoch - 122ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.6507 - mae: 0.6459 - acc: 0.6002 - val_loss: 0.6605 - val_mae: 0.6365 - val_acc: 0.6337 - 55ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.5950 - mae: 0.6039 - acc: 0.6463 - val_loss: 0.6320 - val_mae: 0.6208 - val_acc: 0.6444 - 54ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.5768 - mae: 0.5946 - acc: 0.6550 - val_loss: 0.6283 - val_mae: 0.6193 - val_acc: 0.6398 - 57ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.5673 - mae: 0.5880 - acc: 0.6520 - val_loss: 0.6155 - val_mae: 0.6094 - val_acc: 0.6444 - 58ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 0.9585 - mae: 0.7895 - acc: 0.4150 - val_loss: 0.9272 - val_mae: 0.7670 - val_acc: 0.5456 - 2s/epoch - 174ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.8953 - mae: 0.7495 - acc: 0.5744 - val_loss: 0.8903 - val_mae: 0.7532 - val_acc: 0.5593 - 49ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.8280 - mae: 0.7183 - acc: 0.5831 - val_loss: 0.8010 - val_mae: 0.7184 - val_acc: 0.5714 - 49ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.7266 - mae: 0.6764 - acc: 0.6010 - val_loss: 0.7514 - val_mae: 0.6889 - val_acc: 0.5851 - 54ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.7071 - mae: 0.6626 - acc: 0.6052 - val_loss: 0.7367 - val_mae: 0.6867 - val_acc: 0.5988 - 52ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.7455 - mae: 0.6879 - acc: 0.5420 - val_loss: 0.6866 - val_mae: 0.6482 - val_acc: 0.6626 - 1s/epoch - 112ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.6042 - mae: 0.6067 - acc: 0.6417 - val_loss: 0.5952 - val_mae: 0.5986 - val_acc: 0.6824 - 63ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.5553 - mae: 0.5780 - acc: 0.6782 - val_loss: 0.5760 - val_mae: 0.5838 - val_acc: 0.6976 - 68ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.5423 - mae: 0.5690 - acc: 0.6790 - val_loss: 0.5606 - val_mae: 0.5763 - val_acc: 0.7097 - 66ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.5295 - mae: 0.5605 - acc: 0.6854 - val_loss: 0.5629 - val_mae: 0.5772 - val_acc: 0.7280 - 88ms/epoch - 7ms/step\n", - "Epoch 1/5\n", - "15/15 - 2s - loss: 0.9232 - mae: 0.7867 - acc: 0.3766 - val_loss: 0.9081 - val_mae: 0.7769 - val_acc: 0.5228 - 2s/epoch - 111ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.8064 - mae: 0.7269 - acc: 0.5607 - val_loss: 0.7883 - val_mae: 0.7086 - val_acc: 0.5638 - 46ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.7068 - mae: 0.6691 - acc: 0.5919 - val_loss: 0.7187 - val_mae: 0.6668 - val_acc: 0.6079 - 50ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.6729 - mae: 0.6486 - acc: 0.6056 - val_loss: 0.6892 - val_mae: 0.6487 - val_acc: 0.6261 - 51ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.6519 - mae: 0.6348 - acc: 0.6227 - val_loss: 0.6772 - val_mae: 0.6403 - val_acc: 0.6307 - 54ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "23/23 - 1s - loss: 0.7971 - mae: 0.7102 - acc: 0.5713 - val_loss: 0.7373 - val_mae: 0.6876 - val_acc: 0.6064 - 952ms/epoch - 41ms/step\n", - "Epoch 2/5\n", - "23/23 - 0s - loss: 0.6985 - mae: 0.6626 - acc: 0.6002 - val_loss: 0.7076 - val_mae: 0.6661 - val_acc: 0.6125 - 55ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "23/23 - 0s - loss: 0.6733 - mae: 0.6450 - acc: 0.6101 - val_loss: 0.6904 - val_mae: 0.6593 - val_acc: 0.6185 - 57ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "23/23 - 0s - loss: 0.6562 - mae: 0.6345 - acc: 0.6280 - val_loss: 0.6767 - val_mae: 0.6504 - val_acc: 0.6353 - 56ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "23/23 - 0s - loss: 0.6435 - mae: 0.6269 - acc: 0.6520 - val_loss: 0.6577 - val_mae: 0.6365 - val_acc: 0.6474 - 57ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.9724 - mae: 0.8008 - acc: 0.5203 - val_loss: 0.9780 - val_mae: 0.8058 - val_acc: 0.5669 - 1s/epoch - 185ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.9207 - mae: 0.7768 - acc: 0.5763 - val_loss: 0.9126 - val_mae: 0.7725 - val_acc: 0.5760 - 47ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.8350 - mae: 0.7312 - acc: 0.5846 - val_loss: 0.8147 - val_mae: 0.7156 - val_acc: 0.5851 - 51ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.7361 - mae: 0.6778 - acc: 0.5850 - val_loss: 0.7461 - val_mae: 0.6867 - val_acc: 0.5927 - 93ms/epoch - 12ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6978 - mae: 0.6638 - acc: 0.5877 - val_loss: 0.7190 - val_mae: 0.6710 - val_acc: 0.5973 - 56ms/epoch - 7ms/step\n", - "Epoch 1/5\n", - "62/62 - 2s - loss: 0.9616 - mae: 0.7949 - acc: 0.4317 - val_loss: 0.9700 - val_mae: 0.7967 - val_acc: 0.4559 - 2s/epoch - 24ms/step\n", - "Epoch 2/5\n", - "62/62 - 0s - loss: 0.8955 - mae: 0.7590 - acc: 0.5683 - val_loss: 0.9043 - val_mae: 0.7561 - val_acc: 0.6201 - 125ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "62/62 - 0s - loss: 0.8141 - mae: 0.7130 - acc: 0.6291 - val_loss: 0.8172 - val_mae: 0.7126 - val_acc: 0.6505 - 128ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "62/62 - 0s - loss: 0.7227 - mae: 0.6679 - acc: 0.6341 - val_loss: 0.7261 - val_mae: 0.6741 - val_acc: 0.6687 - 121ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "62/62 - 0s - loss: 0.6583 - mae: 0.6389 - acc: 0.6379 - val_loss: 0.6773 - val_mae: 0.6481 - val_acc: 0.6368 - 121ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "38/38 - 1s - loss: 0.7702 - mae: 0.6911 - acc: 0.6219 - val_loss: 0.6893 - val_mae: 0.6504 - val_acc: 0.6778 - 1s/epoch - 30ms/step\n", - "Epoch 2/5\n", - "38/38 - 0s - loss: 0.5793 - mae: 0.5925 - acc: 0.6755 - val_loss: 0.6110 - val_mae: 0.6028 - val_acc: 0.7006 - 78ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "38/38 - 0s - loss: 0.5361 - mae: 0.5640 - acc: 0.6938 - val_loss: 0.5909 - val_mae: 0.5890 - val_acc: 0.7204 - 74ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "38/38 - 0s - loss: 0.5174 - mae: 0.5522 - acc: 0.7014 - val_loss: 0.5684 - val_mae: 0.5767 - val_acc: 0.7340 - 69ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "38/38 - 0s - loss: 0.5043 - mae: 0.5437 - acc: 0.7143 - val_loss: 0.5452 - val_mae: 0.5647 - val_acc: 0.7508 - 75ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.8965 - mae: 0.7716 - acc: 0.3423 - val_loss: 0.8524 - val_mae: 0.7549 - val_acc: 0.3252 - 1s/epoch - 123ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.7848 - mae: 0.7220 - acc: 0.4895 - val_loss: 0.8036 - val_mae: 0.7333 - val_acc: 0.5866 - 52ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.7474 - mae: 0.6998 - acc: 0.6017 - val_loss: 0.7613 - val_mae: 0.7039 - val_acc: 0.6049 - 58ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.7127 - mae: 0.6744 - acc: 0.6071 - val_loss: 0.7175 - val_mae: 0.6784 - val_acc: 0.6079 - 51ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6865 - mae: 0.6560 - acc: 0.6082 - val_loss: 0.6958 - val_mae: 0.6556 - val_acc: 0.6049 - 58ms/epoch - 6ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2012/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2012/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model7541157259866237552/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model7541157259866237552/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "9/9 [==============================] - 0s 1ms/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model9037873008862521648/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model9037873008862521648/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "54/54 [==============================] - 0s 890us/step\n", - "Epoch 1/5\n", - "39/39 - 1s - loss: 1.0023 - mae: 0.7836 - acc: 0.4082 - val_loss: 0.9282 - val_mae: 0.7611 - val_acc: 0.4926 - 676ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "39/39 - 0s - loss: 0.8668 - mae: 0.7209 - acc: 0.5824 - val_loss: 0.8287 - val_mae: 0.7074 - val_acc: 0.6399 - 59ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "39/39 - 0s - loss: 0.7769 - mae: 0.6804 - acc: 0.6443 - val_loss: 0.7519 - val_mae: 0.6701 - val_acc: 0.6563 - 59ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "39/39 - 0s - loss: 0.7142 - mae: 0.6512 - acc: 0.6619 - val_loss: 0.7044 - val_mae: 0.6510 - val_acc: 0.6678 - 60ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "39/39 - 0s - loss: 0.6816 - mae: 0.6366 - acc: 0.6705 - val_loss: 0.6780 - val_mae: 0.6388 - val_acc: 0.6776 - 62ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.8014 - mae: 0.7062 - acc: 0.5668 - val_loss: 0.6696 - val_mae: 0.6432 - val_acc: 0.6694 - 870ms/epoch - 67ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.6353 - mae: 0.6118 - acc: 0.6602 - val_loss: 0.6213 - val_mae: 0.6066 - val_acc: 0.6939 - 37ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.5997 - mae: 0.5928 - acc: 0.6881 - val_loss: 0.6034 - val_mae: 0.5940 - val_acc: 0.7136 - 37ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.5693 - mae: 0.5754 - acc: 0.7049 - val_loss: 0.5759 - val_mae: 0.5777 - val_acc: 0.7169 - 44ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5462 - mae: 0.5622 - acc: 0.7086 - val_loss: 0.5714 - val_mae: 0.5797 - val_acc: 0.7136 - 38ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.7038 - mae: 0.6625 - acc: 0.6152 - val_loss: 0.6123 - val_mae: 0.6176 - val_acc: 0.7169 - 936ms/epoch - 72ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.5848 - mae: 0.5909 - acc: 0.7094 - val_loss: 0.5883 - val_mae: 0.5894 - val_acc: 0.7283 - 85ms/epoch - 7ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.5550 - mae: 0.5762 - acc: 0.7201 - val_loss: 0.5569 - val_mae: 0.5752 - val_acc: 0.7332 - 55ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.5284 - mae: 0.5602 - acc: 0.7279 - val_loss: 0.5537 - val_mae: 0.5658 - val_acc: 0.7250 - 57ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5112 - mae: 0.5506 - acc: 0.7340 - val_loss: 0.5227 - val_mae: 0.5559 - val_acc: 0.7463 - 67ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.8234 - mae: 0.7180 - acc: 0.5439 - val_loss: 0.7031 - val_mae: 0.6683 - val_acc: 0.5925 - 1s/epoch - 131ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.6887 - mae: 0.6526 - acc: 0.6193 - val_loss: 0.6856 - val_mae: 0.6503 - val_acc: 0.6105 - 43ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6710 - mae: 0.6379 - acc: 0.6242 - val_loss: 0.6870 - val_mae: 0.6469 - val_acc: 0.5941 - 44ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6627 - mae: 0.6330 - acc: 0.6246 - val_loss: 0.6623 - val_mae: 0.6391 - val_acc: 0.6301 - 43ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6521 - mae: 0.6274 - acc: 0.6361 - val_loss: 0.6490 - val_mae: 0.6314 - val_acc: 0.6285 - 46ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "19/19 - 1s - loss: 0.7865 - mae: 0.7031 - acc: 0.5225 - val_loss: 0.7154 - val_mae: 0.6637 - val_acc: 0.6105 - 1s/epoch - 74ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.6895 - mae: 0.6497 - acc: 0.6119 - val_loss: 0.6726 - val_mae: 0.6441 - val_acc: 0.6203 - 53ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.6737 - mae: 0.6416 - acc: 0.6193 - val_loss: 0.6825 - val_mae: 0.6538 - val_acc: 0.6154 - 53ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.6744 - mae: 0.6411 - acc: 0.6189 - val_loss: 0.6708 - val_mae: 0.6503 - val_acc: 0.6219 - 56ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.6659 - mae: 0.6385 - acc: 0.6201 - val_loss: 0.6600 - val_mae: 0.6436 - val_acc: 0.6252 - 55ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "11/11 - 2s - loss: 0.9437 - mae: 0.7632 - acc: 0.4971 - val_loss: 0.8906 - val_mae: 0.7387 - val_acc: 0.6105 - 2s/epoch - 162ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.8323 - mae: 0.7057 - acc: 0.6299 - val_loss: 0.7629 - val_mae: 0.6811 - val_acc: 0.6465 - 60ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.7199 - mae: 0.6580 - acc: 0.6418 - val_loss: 0.6894 - val_mae: 0.6477 - val_acc: 0.6661 - 62ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6765 - mae: 0.6339 - acc: 0.6508 - val_loss: 0.6732 - val_mae: 0.6280 - val_acc: 0.6759 - 65ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.6539 - mae: 0.6198 - acc: 0.6553 - val_loss: 0.6612 - val_mae: 0.6257 - val_acc: 0.6727 - 65ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.9461 - mae: 0.7817 - acc: 0.5775 - val_loss: 0.8897 - val_mae: 0.7685 - val_acc: 0.6088 - 736ms/epoch - 74ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.8647 - mae: 0.7429 - acc: 0.6139 - val_loss: 0.8196 - val_mae: 0.7326 - val_acc: 0.6416 - 37ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.8015 - mae: 0.7103 - acc: 0.6373 - val_loss: 0.7642 - val_mae: 0.6999 - val_acc: 0.6514 - 39ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.7500 - mae: 0.6810 - acc: 0.6471 - val_loss: 0.7201 - val_mae: 0.6721 - val_acc: 0.6563 - 39ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.7094 - mae: 0.6573 - acc: 0.6537 - val_loss: 0.6875 - val_mae: 0.6519 - val_acc: 0.6628 - 61ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "11/11 - 2s - loss: 1.0194 - mae: 0.8151 - acc: 0.5402 - val_loss: 1.0133 - val_mae: 0.8207 - val_acc: 0.5597 - 2s/epoch - 163ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.9886 - mae: 0.7987 - acc: 0.5734 - val_loss: 0.9636 - val_mae: 0.7914 - val_acc: 0.5745 - 45ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.9363 - mae: 0.7645 - acc: 0.5766 - val_loss: 0.9277 - val_mae: 0.7628 - val_acc: 0.5761 - 47ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.9078 - mae: 0.7453 - acc: 0.5770 - val_loss: 0.9037 - val_mae: 0.7520 - val_acc: 0.5728 - 45ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.8858 - mae: 0.7357 - acc: 0.5770 - val_loss: 0.8786 - val_mae: 0.7381 - val_acc: 0.5777 - 43ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "45/45 - 1s - loss: 0.7799 - mae: 0.7134 - acc: 0.5033 - val_loss: 0.7373 - val_mae: 0.6883 - val_acc: 0.5761 - 950ms/epoch - 21ms/step\n", - "Epoch 2/5\n", - "45/45 - 0s - loss: 0.6795 - mae: 0.6515 - acc: 0.5898 - val_loss: 0.6866 - val_mae: 0.6626 - val_acc: 0.6137 - 85ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "45/45 - 0s - loss: 0.6524 - mae: 0.6352 - acc: 0.6225 - val_loss: 0.6702 - val_mae: 0.6466 - val_acc: 0.6383 - 73ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "45/45 - 0s - loss: 0.6239 - mae: 0.6178 - acc: 0.6434 - val_loss: 0.6466 - val_mae: 0.6309 - val_acc: 0.6448 - 79ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "45/45 - 0s - loss: 0.6002 - mae: 0.6032 - acc: 0.6664 - val_loss: 0.6312 - val_mae: 0.6172 - val_acc: 0.6612 - 80ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "9/9 - 2s - loss: 0.8531 - mae: 0.7377 - acc: 0.4172 - val_loss: 0.7322 - val_mae: 0.6862 - val_acc: 0.6023 - 2s/epoch - 170ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7054 - mae: 0.6576 - acc: 0.6066 - val_loss: 0.6771 - val_mae: 0.6544 - val_acc: 0.6137 - 35ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6695 - mae: 0.6393 - acc: 0.6197 - val_loss: 0.6572 - val_mae: 0.6385 - val_acc: 0.6170 - 36ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6501 - mae: 0.6282 - acc: 0.6250 - val_loss: 0.6548 - val_mae: 0.6384 - val_acc: 0.6219 - 40ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6438 - mae: 0.6233 - acc: 0.6299 - val_loss: 0.6372 - val_mae: 0.6255 - val_acc: 0.6285 - 36ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 1.0258 - mae: 0.8197 - acc: 0.3266 - val_loss: 1.0305 - val_mae: 0.8323 - val_acc: 0.3339 - 2s/epoch - 197ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 1.0221 - mae: 0.8204 - acc: 0.3266 - val_loss: 1.0286 - val_mae: 0.8329 - val_acc: 0.3339 - 38ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 1.0199 - mae: 0.8209 - acc: 0.3074 - val_loss: 1.0283 - val_mae: 0.8336 - val_acc: 0.3224 - 42ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 1.0192 - mae: 0.8217 - acc: 0.3074 - val_loss: 1.0283 - val_mae: 0.8340 - val_acc: 0.3224 - 38ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 1.0189 - mae: 0.8220 - acc: 0.3074 - val_loss: 1.0282 - val_mae: 0.8340 - val_acc: 0.3224 - 40ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2015/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/all_years/optimized_model_2015/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model1150385945659884709/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model1150385945659884709/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "16/16 [==============================] - 0s 821us/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/best_optimized_model_2012/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi1/best_optimized_model_2012/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "=========================================\n", - " GPI 1 done\n", - " aprior performance(RMSE): \n", - "[[0.24854]\n", - " [0.01962]\n", - " [0.08342]]\n", - "=========================================\n", - " post performance(RMSE): \n", - "[[0.37648]\n", - " [0.15649]\n", - " [0.0793 ]]\n", - "=========================================\n", - "Epoch 1/5\n", - "38/38 - 1s - loss: 1.0645 - mae: 0.8405 - acc: 0.2609 - val_loss: 0.9097 - val_mae: 0.7895 - val_acc: 0.3568 - 712ms/epoch - 19ms/step\n", - "Epoch 2/5\n", - "38/38 - 0s - loss: 0.8636 - mae: 0.7559 - acc: 0.4622 - val_loss: 0.7855 - val_mae: 0.7248 - val_acc: 0.5745 - 59ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "38/38 - 0s - loss: 0.7747 - mae: 0.7068 - acc: 0.5965 - val_loss: 0.7168 - val_mae: 0.6848 - val_acc: 0.6214 - 64ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "38/38 - 0s - loss: 0.7227 - mae: 0.6755 - acc: 0.6149 - val_loss: 0.6673 - val_mae: 0.6528 - val_acc: 0.6281 - 65ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "38/38 - 0s - loss: 0.6832 - mae: 0.6495 - acc: 0.6179 - val_loss: 0.6317 - val_mae: 0.6277 - val_acc: 0.6466 - 72ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.9051 - mae: 0.7750 - acc: 0.5361 - val_loss: 0.8396 - val_mae: 0.7497 - val_acc: 0.5628 - 802ms/epoch - 100ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.8276 - mae: 0.7345 - acc: 0.6107 - val_loss: 0.7711 - val_mae: 0.7099 - val_acc: 0.6332 - 31ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.7731 - mae: 0.7064 - acc: 0.6481 - val_loss: 0.7209 - val_mae: 0.6831 - val_acc: 0.6583 - 34ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.7271 - mae: 0.6807 - acc: 0.6565 - val_loss: 0.6725 - val_mae: 0.6533 - val_acc: 0.6616 - 31ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6854 - mae: 0.6538 - acc: 0.6598 - val_loss: 0.6323 - val_mae: 0.6266 - val_acc: 0.6683 - 32ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.9346 - mae: 0.7827 - acc: 0.4316 - val_loss: 0.8096 - val_mae: 0.7193 - val_acc: 0.5243 - 782ms/epoch - 56ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.8202 - mae: 0.7196 - acc: 0.6204 - val_loss: 0.7739 - val_mae: 0.6989 - val_acc: 0.6784 - 38ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.7762 - mae: 0.7004 - acc: 0.6674 - val_loss: 0.7322 - val_mae: 0.6782 - val_acc: 0.6834 - 39ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.7330 - mae: 0.6783 - acc: 0.6724 - val_loss: 0.6858 - val_mae: 0.6550 - val_acc: 0.6817 - 42ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.6917 - mae: 0.6559 - acc: 0.6745 - val_loss: 0.6522 - val_mae: 0.6361 - val_acc: 0.6801 - 38ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "18/18 - 1s - loss: 0.9841 - mae: 0.8156 - acc: 0.3540 - val_loss: 0.9322 - val_mae: 0.7972 - val_acc: 0.4171 - 789ms/epoch - 44ms/step\n", - "Epoch 2/5\n", - "18/18 - 0s - loss: 0.9378 - mae: 0.7910 - acc: 0.4174 - val_loss: 0.8919 - val_mae: 0.7759 - val_acc: 0.4757 - 43ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "18/18 - 0s - loss: 0.9011 - mae: 0.7698 - acc: 0.5654 - val_loss: 0.8567 - val_mae: 0.7553 - val_acc: 0.6231 - 44ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "18/18 - 0s - loss: 0.8687 - mae: 0.7503 - acc: 0.6133 - val_loss: 0.8227 - val_mae: 0.7354 - val_acc: 0.6248 - 43ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "18/18 - 0s - loss: 0.8378 - mae: 0.7327 - acc: 0.6216 - val_loss: 0.7906 - val_mae: 0.7174 - val_acc: 0.6298 - 44ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "9/9 - 2s - loss: 0.9619 - mae: 0.8056 - acc: 0.4404 - val_loss: 0.9066 - val_mae: 0.7907 - val_acc: 0.5745 - 2s/epoch - 190ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.9066 - mae: 0.7805 - acc: 0.5877 - val_loss: 0.8225 - val_mae: 0.7508 - val_acc: 0.5896 - 64ms/epoch - 7ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.8058 - mae: 0.7272 - acc: 0.5990 - val_loss: 0.7082 - val_mae: 0.6783 - val_acc: 0.5980 - 46ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.7337 - mae: 0.6811 - acc: 0.5973 - val_loss: 0.6831 - val_mae: 0.6613 - val_acc: 0.6064 - 49ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.7214 - mae: 0.6734 - acc: 0.6070 - val_loss: 0.6687 - val_mae: 0.6511 - val_acc: 0.5997 - 47ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.9388 - mae: 0.7921 - acc: 0.3381 - val_loss: 0.8359 - val_mae: 0.7525 - val_acc: 0.5343 - 1s/epoch - 100ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.8100 - mae: 0.7265 - acc: 0.5810 - val_loss: 0.7208 - val_mae: 0.6847 - val_acc: 0.6214 - 40ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.7325 - mae: 0.6788 - acc: 0.6200 - val_loss: 0.6578 - val_mae: 0.6420 - val_acc: 0.6281 - 38ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.6809 - mae: 0.6437 - acc: 0.6258 - val_loss: 0.6123 - val_mae: 0.6107 - val_acc: 0.6499 - 38ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.6456 - mae: 0.6228 - acc: 0.6351 - val_loss: 0.5894 - val_mae: 0.5919 - val_acc: 0.6583 - 38ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "40/40 - 2s - loss: 0.9432 - mae: 0.7976 - acc: 0.3133 - val_loss: 0.8436 - val_mae: 0.7569 - val_acc: 0.5209 - 2s/epoch - 38ms/step\n", - "Epoch 2/5\n", - "40/40 - 0s - loss: 0.7833 - mae: 0.7144 - acc: 0.5730 - val_loss: 0.7006 - val_mae: 0.6769 - val_acc: 0.6080 - 80ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "40/40 - 0s - loss: 0.7068 - mae: 0.6672 - acc: 0.6112 - val_loss: 0.6556 - val_mae: 0.6439 - val_acc: 0.6097 - 79ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "40/40 - 0s - loss: 0.6774 - mae: 0.6453 - acc: 0.6237 - val_loss: 0.6406 - val_mae: 0.6329 - val_acc: 0.6131 - 80ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "40/40 - 0s - loss: 0.6606 - mae: 0.6339 - acc: 0.6183 - val_loss: 0.6199 - val_mae: 0.6163 - val_acc: 0.6064 - 82ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "46/46 - 1s - loss: 0.7464 - mae: 0.6900 - acc: 0.5168 - val_loss: 0.5714 - val_mae: 0.5821 - val_acc: 0.6399 - 1s/epoch - 26ms/step\n", - "Epoch 2/5\n", - "46/46 - 0s - loss: 0.5721 - mae: 0.5865 - acc: 0.6795 - val_loss: 0.5231 - val_mae: 0.5561 - val_acc: 0.6767 - 80ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "46/46 - 0s - loss: 0.5452 - mae: 0.5702 - acc: 0.6917 - val_loss: 0.5203 - val_mae: 0.5481 - val_acc: 0.6734 - 79ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "46/46 - 0s - loss: 0.5277 - mae: 0.5619 - acc: 0.6984 - val_loss: 0.5068 - val_mae: 0.5402 - val_acc: 0.6851 - 84ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "46/46 - 0s - loss: 0.5144 - mae: 0.5534 - acc: 0.7034 - val_loss: 0.4866 - val_mae: 0.5265 - val_acc: 0.6918 - 82ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "65/65 - 1s - loss: 0.6535 - mae: 0.6265 - acc: 0.6296 - val_loss: 0.5924 - val_mae: 0.5932 - val_acc: 0.6198 - 982ms/epoch - 15ms/step\n", - "Epoch 2/5\n", - "65/65 - 0s - loss: 0.5663 - mae: 0.5798 - acc: 0.6846 - val_loss: 0.5155 - val_mae: 0.5449 - val_acc: 0.6951 - 120ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "65/65 - 0s - loss: 0.5356 - mae: 0.5637 - acc: 0.6888 - val_loss: 0.5051 - val_mae: 0.5367 - val_acc: 0.6951 - 122ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "65/65 - 0s - loss: 0.5193 - mae: 0.5546 - acc: 0.6955 - val_loss: 0.4970 - val_mae: 0.5310 - val_acc: 0.7069 - 125ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "65/65 - 0s - loss: 0.5099 - mae: 0.5487 - acc: 0.7060 - val_loss: 0.4931 - val_mae: 0.5301 - val_acc: 0.6834 - 126ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "265/265 - 1s - loss: 0.9761 - mae: 0.8084 - acc: 0.3683 - val_loss: 0.9055 - val_mae: 0.7843 - val_acc: 0.4204 - 1s/epoch - 4ms/step\n", - "Epoch 2/5\n", - "265/265 - 0s - loss: 0.8477 - mae: 0.7418 - acc: 0.4404 - val_loss: 0.7318 - val_mae: 0.6811 - val_acc: 0.4539 - 319ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "265/265 - 0s - loss: 0.7060 - mae: 0.6575 - acc: 0.5231 - val_loss: 0.6358 - val_mae: 0.6208 - val_acc: 0.6181 - 325ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "265/265 - 0s - loss: 0.6525 - mae: 0.6250 - acc: 0.6246 - val_loss: 0.5961 - val_mae: 0.5928 - val_acc: 0.6281 - 322ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "265/265 - 0s - loss: 0.6198 - mae: 0.6047 - acc: 0.6569 - val_loss: 0.5732 - val_mae: 0.5773 - val_acc: 0.6784 - 323ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "33/33 - 1s - loss: 0.8887 - mae: 0.7578 - acc: 0.3628 - val_loss: 0.7299 - val_mae: 0.6872 - val_acc: 0.4975 - 685ms/epoch - 21ms/step\n", - "Epoch 2/5\n", - "33/33 - 0s - loss: 0.6791 - mae: 0.6477 - acc: 0.5881 - val_loss: 0.5830 - val_mae: 0.5959 - val_acc: 0.6901 - 61ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "33/33 - 0s - loss: 0.5901 - mae: 0.5951 - acc: 0.6787 - val_loss: 0.5285 - val_mae: 0.5603 - val_acc: 0.7069 - 58ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "33/33 - 0s - loss: 0.5530 - mae: 0.5732 - acc: 0.6963 - val_loss: 0.5120 - val_mae: 0.5491 - val_acc: 0.7186 - 74ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "33/33 - 0s - loss: 0.5400 - mae: 0.5652 - acc: 0.6997 - val_loss: 0.5059 - val_mae: 0.5444 - val_acc: 0.7102 - 69ms/epoch - 2ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2014/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2014/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model613843777481198481/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model613843777481198481/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "16/16 [==============================] - 0s 804us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model3150677449562891504/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model3150677449562891504/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 718us/step\n", - "Epoch 1/5\n", - "41/41 - 1s - loss: 0.9891 - mae: 0.8021 - acc: 0.4015 - val_loss: 0.8513 - val_mae: 0.7488 - val_acc: 0.4799 - 666ms/epoch - 16ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 0.8775 - mae: 0.7496 - acc: 0.5412 - val_loss: 0.7690 - val_mae: 0.7062 - val_acc: 0.6006 - 62ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.7906 - mae: 0.7069 - acc: 0.6098 - val_loss: 0.6967 - val_mae: 0.6648 - val_acc: 0.6176 - 61ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.7198 - mae: 0.6700 - acc: 0.6376 - val_loss: 0.6405 - val_mae: 0.6316 - val_acc: 0.6533 - 60ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.6707 - mae: 0.6437 - acc: 0.6458 - val_loss: 0.6058 - val_mae: 0.6113 - val_acc: 0.6548 - 62ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "30/30 - 1s - loss: 0.8486 - mae: 0.7266 - acc: 0.6047 - val_loss: 0.6681 - val_mae: 0.6449 - val_acc: 0.6471 - 1s/epoch - 48ms/step\n", - "Epoch 2/5\n", - "30/30 - 0s - loss: 0.7333 - mae: 0.6652 - acc: 0.6310 - val_loss: 0.6321 - val_mae: 0.6210 - val_acc: 0.6331 - 72ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "30/30 - 0s - loss: 0.7079 - mae: 0.6501 - acc: 0.6400 - val_loss: 0.6159 - val_mae: 0.6119 - val_acc: 0.6331 - 69ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "30/30 - 0s - loss: 0.6880 - mae: 0.6386 - acc: 0.6372 - val_loss: 0.6085 - val_mae: 0.6046 - val_acc: 0.6347 - 68ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "30/30 - 0s - loss: 0.6729 - mae: 0.6300 - acc: 0.6400 - val_loss: 0.6000 - val_mae: 0.5997 - val_acc: 0.6362 - 69ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 1.0244 - mae: 0.8102 - acc: 0.4561 - val_loss: 0.9211 - val_mae: 0.7742 - val_acc: 0.4659 - 758ms/epoch - 95ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.9679 - mae: 0.7737 - acc: 0.4948 - val_loss: 0.8480 - val_mae: 0.7292 - val_acc: 0.6749 - 26ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.8975 - mae: 0.7385 - acc: 0.6520 - val_loss: 0.7963 - val_mae: 0.7025 - val_acc: 0.6904 - 26ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.8464 - mae: 0.7137 - acc: 0.6566 - val_loss: 0.7596 - val_mae: 0.6845 - val_acc: 0.6950 - 27ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.8055 - mae: 0.6963 - acc: 0.6671 - val_loss: 0.7240 - val_mae: 0.6653 - val_acc: 0.6873 - 26ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.9941 - mae: 0.7928 - acc: 0.5358 - val_loss: 0.8617 - val_mae: 0.7316 - val_acc: 0.6347 - 1s/epoch - 107ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.9386 - mae: 0.7575 - acc: 0.6214 - val_loss: 0.8267 - val_mae: 0.7181 - val_acc: 0.6378 - 34ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.8892 - mae: 0.7350 - acc: 0.6117 - val_loss: 0.7626 - val_mae: 0.6846 - val_acc: 0.6440 - 36ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.8132 - mae: 0.7006 - acc: 0.6202 - val_loss: 0.6832 - val_mae: 0.6447 - val_acc: 0.6594 - 36ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.7477 - mae: 0.6712 - acc: 0.6369 - val_loss: 0.6555 - val_mae: 0.6316 - val_acc: 0.6765 - 37ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "16/16 - 1s - loss: 0.8876 - mae: 0.7323 - acc: 0.5947 - val_loss: 0.7133 - val_mae: 0.6571 - val_acc: 0.6718 - 756ms/epoch - 47ms/step\n", - "Epoch 2/5\n", - "16/16 - 0s - loss: 0.7002 - mae: 0.6510 - acc: 0.6574 - val_loss: 0.5826 - val_mae: 0.5946 - val_acc: 0.6950 - 38ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "16/16 - 0s - loss: 0.6003 - mae: 0.6008 - acc: 0.6841 - val_loss: 0.5368 - val_mae: 0.5628 - val_acc: 0.7059 - 38ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "16/16 - 0s - loss: 0.5708 - mae: 0.5838 - acc: 0.6953 - val_loss: 0.5142 - val_mae: 0.5523 - val_acc: 0.7059 - 37ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "16/16 - 0s - loss: 0.5489 - mae: 0.5716 - acc: 0.7019 - val_loss: 0.5066 - val_mae: 0.5449 - val_acc: 0.7183 - 41ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "216/216 - 1s - loss: 0.6269 - mae: 0.6092 - acc: 0.6554 - val_loss: 0.5151 - val_mae: 0.5479 - val_acc: 0.6981 - 1s/epoch - 6ms/step\n", - "Epoch 2/5\n", - "216/216 - 0s - loss: 0.5432 - mae: 0.5641 - acc: 0.6918 - val_loss: 0.4970 - val_mae: 0.5333 - val_acc: 0.7074 - 284ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "216/216 - 0s - loss: 0.5335 - mae: 0.5581 - acc: 0.6922 - val_loss: 0.4735 - val_mae: 0.5251 - val_acc: 0.6935 - 259ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "216/216 - 0s - loss: 0.5142 - mae: 0.5476 - acc: 0.6961 - val_loss: 0.4977 - val_mae: 0.5377 - val_acc: 0.7074 - 266ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "216/216 - 0s - loss: 0.5099 - mae: 0.5459 - acc: 0.6969 - val_loss: 0.4671 - val_mae: 0.5158 - val_acc: 0.6981 - 253ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "40/40 - 1s - loss: 0.7195 - mae: 0.6581 - acc: 0.6392 - val_loss: 0.5515 - val_mae: 0.5744 - val_acc: 0.6889 - 1s/epoch - 26ms/step\n", - "Epoch 2/5\n", - "40/40 - 0s - loss: 0.5739 - mae: 0.5837 - acc: 0.6845 - val_loss: 0.5015 - val_mae: 0.5448 - val_acc: 0.7090 - 85ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "40/40 - 0s - loss: 0.5375 - mae: 0.5629 - acc: 0.6976 - val_loss: 0.4787 - val_mae: 0.5262 - val_acc: 0.7152 - 83ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "40/40 - 0s - loss: 0.5302 - mae: 0.5586 - acc: 0.6996 - val_loss: 0.5144 - val_mae: 0.5607 - val_acc: 0.7059 - 82ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "40/40 - 0s - loss: 0.5227 - mae: 0.5529 - acc: 0.6976 - val_loss: 0.4568 - val_mae: 0.5134 - val_acc: 0.7291 - 83ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "27/27 - 2s - loss: 0.9653 - mae: 0.7944 - acc: 0.4607 - val_loss: 0.7823 - val_mae: 0.7164 - val_acc: 0.5449 - 2s/epoch - 65ms/step\n", - "Epoch 2/5\n", - "27/27 - 0s - loss: 0.8241 - mae: 0.7281 - acc: 0.5803 - val_loss: 0.7114 - val_mae: 0.6759 - val_acc: 0.6146 - 85ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "27/27 - 0s - loss: 0.7514 - mae: 0.6896 - acc: 0.6086 - val_loss: 0.6690 - val_mae: 0.6455 - val_acc: 0.6223 - 91ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "27/27 - 0s - loss: 0.7159 - mae: 0.6696 - acc: 0.6229 - val_loss: 0.6541 - val_mae: 0.6386 - val_acc: 0.6424 - 86ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "27/27 - 0s - loss: 0.6912 - mae: 0.6555 - acc: 0.6295 - val_loss: 0.6367 - val_mae: 0.6280 - val_acc: 0.6594 - 81ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 1.0523 - mae: 0.8301 - acc: 0.3360 - val_loss: 0.9790 - val_mae: 0.8111 - val_acc: 0.3545 - 1s/epoch - 102ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 1.0514 - mae: 0.8302 - acc: 0.3477 - val_loss: 0.9783 - val_mae: 0.8112 - val_acc: 0.3545 - 38ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 1.0507 - mae: 0.8303 - acc: 0.3477 - val_loss: 0.9778 - val_mae: 0.8112 - val_acc: 0.3545 - 39ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 1.0500 - mae: 0.8303 - acc: 0.3477 - val_loss: 0.9775 - val_mae: 0.8113 - val_acc: 0.3545 - 36ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 1.0494 - mae: 0.8304 - acc: 0.3477 - val_loss: 0.9772 - val_mae: 0.8114 - val_acc: 0.3545 - 37ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "41/41 - 1s - loss: 0.7654 - mae: 0.6849 - acc: 0.6187 - val_loss: 0.6048 - val_mae: 0.6067 - val_acc: 0.6502 - 1s/epoch - 34ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 0.6066 - mae: 0.6036 - acc: 0.6852 - val_loss: 0.5197 - val_mae: 0.5496 - val_acc: 0.6950 - 110ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.5536 - mae: 0.5742 - acc: 0.6934 - val_loss: 0.5028 - val_mae: 0.5445 - val_acc: 0.6734 - 116ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.5245 - mae: 0.5549 - acc: 0.7073 - val_loss: 0.4930 - val_mae: 0.5415 - val_acc: 0.7028 - 116ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.5166 - mae: 0.5503 - acc: 0.6984 - val_loss: 0.4951 - val_mae: 0.5353 - val_acc: 0.7167 - 118ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "27/27 - 1s - loss: 0.7260 - mae: 0.6695 - acc: 0.6477 - val_loss: 0.5141 - val_mae: 0.5545 - val_acc: 0.6981 - 844ms/epoch - 31ms/step\n", - "Epoch 2/5\n", - "27/27 - 0s - loss: 0.5548 - mae: 0.5695 - acc: 0.6918 - val_loss: 0.5014 - val_mae: 0.5479 - val_acc: 0.7043 - 54ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "27/27 - 0s - loss: 0.5282 - mae: 0.5574 - acc: 0.6945 - val_loss: 0.4813 - val_mae: 0.5312 - val_acc: 0.7167 - 59ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "27/27 - 0s - loss: 0.5158 - mae: 0.5506 - acc: 0.6996 - val_loss: 0.4714 - val_mae: 0.5253 - val_acc: 0.7105 - 62ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "27/27 - 0s - loss: 0.5081 - mae: 0.5461 - acc: 0.7081 - val_loss: 0.4676 - val_mae: 0.5215 - val_acc: 0.7183 - 57ms/epoch - 2ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2011/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2011/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model3955533101136907671/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model3955533101136907671/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 1ms/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model8705533969810469603/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model8705533969810469603/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 831us/step\n", - "Epoch 1/5\n", - "41/41 - 1s - loss: 1.1264 - mae: 0.8606 - acc: 0.3875 - val_loss: 0.9754 - val_mae: 0.8039 - val_acc: 0.5342 - 711ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 0.9901 - mae: 0.7939 - acc: 0.5597 - val_loss: 0.8730 - val_mae: 0.7494 - val_acc: 0.6196 - 70ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.8910 - mae: 0.7453 - acc: 0.6106 - val_loss: 0.7803 - val_mae: 0.7013 - val_acc: 0.6289 - 71ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.8059 - mae: 0.7048 - acc: 0.6292 - val_loss: 0.7109 - val_mae: 0.6655 - val_acc: 0.6429 - 72ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.7498 - mae: 0.6791 - acc: 0.6428 - val_loss: 0.6703 - val_mae: 0.6451 - val_acc: 0.6661 - 72ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9195 - mae: 0.7612 - acc: 0.6024 - val_loss: 0.7314 - val_mae: 0.6769 - val_acc: 0.6165 - 1s/epoch - 145ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7617 - mae: 0.6834 - acc: 0.6358 - val_loss: 0.6661 - val_mae: 0.6387 - val_acc: 0.6289 - 52ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6965 - mae: 0.6509 - acc: 0.6487 - val_loss: 0.6506 - val_mae: 0.6277 - val_acc: 0.6491 - 50ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6734 - mae: 0.6383 - acc: 0.6525 - val_loss: 0.6193 - val_mae: 0.6101 - val_acc: 0.6553 - 53ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6612 - mae: 0.6317 - acc: 0.6549 - val_loss: 0.6160 - val_mae: 0.6094 - val_acc: 0.6460 - 60ms/epoch - 7ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.8746 - mae: 0.7472 - acc: 0.5709 - val_loss: 0.7473 - val_mae: 0.6850 - val_acc: 0.6009 - 956ms/epoch - 80ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.7536 - mae: 0.6842 - acc: 0.6230 - val_loss: 0.7032 - val_mae: 0.6583 - val_acc: 0.6118 - 49ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.7183 - mae: 0.6625 - acc: 0.6312 - val_loss: 0.6818 - val_mae: 0.6464 - val_acc: 0.6149 - 51ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.6974 - mae: 0.6495 - acc: 0.6386 - val_loss: 0.6573 - val_mae: 0.6332 - val_acc: 0.6258 - 50ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.6751 - mae: 0.6379 - acc: 0.6522 - val_loss: 0.6404 - val_mae: 0.6191 - val_acc: 0.6522 - 51ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 1.0950 - mae: 0.8331 - acc: 0.4959 - val_loss: 0.9632 - val_mae: 0.7952 - val_acc: 0.5854 - 732ms/epoch - 81ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.9912 - mae: 0.7939 - acc: 0.5977 - val_loss: 0.8803 - val_mae: 0.7589 - val_acc: 0.6102 - 34ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.9097 - mae: 0.7594 - acc: 0.6094 - val_loss: 0.8149 - val_mae: 0.7269 - val_acc: 0.6102 - 37ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.8457 - mae: 0.7292 - acc: 0.6110 - val_loss: 0.7625 - val_mae: 0.6987 - val_acc: 0.6134 - 37ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.7951 - mae: 0.7032 - acc: 0.6168 - val_loss: 0.7218 - val_mae: 0.6751 - val_acc: 0.6180 - 39ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "17/17 - 1s - loss: 0.9292 - mae: 0.7564 - acc: 0.5709 - val_loss: 0.7659 - val_mae: 0.6940 - val_acc: 0.6071 - 1s/epoch - 70ms/step\n", - "Epoch 2/5\n", - "17/17 - 0s - loss: 0.7988 - mae: 0.7005 - acc: 0.6137 - val_loss: 0.6993 - val_mae: 0.6635 - val_acc: 0.6351 - 63ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "17/17 - 0s - loss: 0.7414 - mae: 0.6733 - acc: 0.6284 - val_loss: 0.6508 - val_mae: 0.6354 - val_acc: 0.6506 - 81ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "17/17 - 0s - loss: 0.7056 - mae: 0.6537 - acc: 0.6424 - val_loss: 0.6279 - val_mae: 0.6210 - val_acc: 0.6568 - 67ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "17/17 - 0s - loss: 0.6804 - mae: 0.6409 - acc: 0.6525 - val_loss: 0.6023 - val_mae: 0.6044 - val_acc: 0.6630 - 68ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "28/28 - 2s - loss: 0.8366 - mae: 0.7226 - acc: 0.5736 - val_loss: 0.6853 - val_mae: 0.6585 - val_acc: 0.6429 - 2s/epoch - 59ms/step\n", - "Epoch 2/5\n", - "28/28 - 0s - loss: 0.7241 - mae: 0.6640 - acc: 0.6619 - val_loss: 0.6271 - val_mae: 0.6198 - val_acc: 0.6646 - 113ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "28/28 - 0s - loss: 0.6800 - mae: 0.6435 - acc: 0.6487 - val_loss: 0.6146 - val_mae: 0.6067 - val_acc: 0.6304 - 115ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "28/28 - 0s - loss: 0.6503 - mae: 0.6275 - acc: 0.6471 - val_loss: 0.6427 - val_mae: 0.6262 - val_acc: 0.6087 - 119ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "28/28 - 0s - loss: 0.6176 - mae: 0.6107 - acc: 0.6630 - val_loss: 0.5373 - val_mae: 0.5651 - val_acc: 0.6770 - 117ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 1.0469 - mae: 0.8221 - acc: 0.4815 - val_loss: 0.9648 - val_mae: 0.7991 - val_acc: 0.5854 - 1s/epoch - 150ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 1.0155 - mae: 0.8046 - acc: 0.6183 - val_loss: 0.9369 - val_mae: 0.7805 - val_acc: 0.6366 - 34ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.9841 - mae: 0.7861 - acc: 0.6327 - val_loss: 0.9035 - val_mae: 0.7588 - val_acc: 0.6242 - 35ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.9547 - mae: 0.7683 - acc: 0.6222 - val_loss: 0.8772 - val_mae: 0.7454 - val_acc: 0.6429 - 38ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.9310 - mae: 0.7574 - acc: 0.6417 - val_loss: 0.8492 - val_mae: 0.7330 - val_acc: 0.6413 - 40ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9884 - mae: 0.8002 - acc: 0.4629 - val_loss: 0.8120 - val_mae: 0.7301 - val_acc: 0.5947 - 930ms/epoch - 103ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7907 - mae: 0.7065 - acc: 0.6055 - val_loss: 0.6636 - val_mae: 0.6500 - val_acc: 0.6491 - 40ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6913 - mae: 0.6572 - acc: 0.6615 - val_loss: 0.6128 - val_mae: 0.6166 - val_acc: 0.6817 - 43ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6474 - mae: 0.6279 - acc: 0.6704 - val_loss: 0.5910 - val_mae: 0.6012 - val_acc: 0.6832 - 42ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6229 - mae: 0.6120 - acc: 0.6805 - val_loss: 0.5685 - val_mae: 0.5893 - val_acc: 0.6925 - 44ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "198/198 - 2s - loss: 0.7485 - mae: 0.6726 - acc: 0.6273 - val_loss: 0.6038 - val_mae: 0.6027 - val_acc: 0.6444 - 2s/epoch - 9ms/step\n", - "Epoch 2/5\n", - "198/198 - 0s - loss: 0.6433 - mae: 0.6227 - acc: 0.6378 - val_loss: 0.5575 - val_mae: 0.5794 - val_acc: 0.6724 - 297ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "198/198 - 0s - loss: 0.5925 - mae: 0.5969 - acc: 0.6568 - val_loss: 0.5327 - val_mae: 0.5640 - val_acc: 0.6661 - 299ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "198/198 - 0s - loss: 0.5803 - mae: 0.5869 - acc: 0.6724 - val_loss: 0.5406 - val_mae: 0.5670 - val_acc: 0.6739 - 315ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "198/198 - 0s - loss: 0.5717 - mae: 0.5835 - acc: 0.6763 - val_loss: 0.5181 - val_mae: 0.5531 - val_acc: 0.6863 - 334ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "34/34 - 1s - loss: 0.8557 - mae: 0.7229 - acc: 0.5915 - val_loss: 0.6548 - val_mae: 0.6276 - val_acc: 0.6863 - 895ms/epoch - 26ms/step\n", - "Epoch 2/5\n", - "34/34 - 0s - loss: 0.6356 - mae: 0.6200 - acc: 0.6798 - val_loss: 0.5743 - val_mae: 0.5830 - val_acc: 0.6894 - 69ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "34/34 - 0s - loss: 0.5850 - mae: 0.5929 - acc: 0.6902 - val_loss: 0.5444 - val_mae: 0.5719 - val_acc: 0.7065 - 69ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "34/34 - 0s - loss: 0.5653 - mae: 0.5828 - acc: 0.6988 - val_loss: 0.5382 - val_mae: 0.5669 - val_acc: 0.6910 - 67ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "34/34 - 0s - loss: 0.5542 - mae: 0.5781 - acc: 0.7007 - val_loss: 0.5174 - val_mae: 0.5551 - val_acc: 0.7019 - 67ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "25/25 - 2s - loss: 0.7846 - mae: 0.6980 - acc: 0.6001 - val_loss: 0.6525 - val_mae: 0.6362 - val_acc: 0.6211 - 2s/epoch - 67ms/step\n", - "Epoch 2/5\n", - "25/25 - 0s - loss: 0.6758 - mae: 0.6365 - acc: 0.6172 - val_loss: 0.6067 - val_mae: 0.6007 - val_acc: 0.6413 - 109ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "25/25 - 0s - loss: 0.6201 - mae: 0.6080 - acc: 0.6572 - val_loss: 0.5779 - val_mae: 0.5777 - val_acc: 0.6630 - 143ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "25/25 - 0s - loss: 0.6033 - mae: 0.5985 - acc: 0.6790 - val_loss: 0.5585 - val_mae: 0.5731 - val_acc: 0.6708 - 129ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "25/25 - 0s - loss: 0.5938 - mae: 0.5962 - acc: 0.6770 - val_loss: 0.5394 - val_mae: 0.5590 - val_acc: 0.6755 - 122ms/epoch - 5ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2010/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2010/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model7663426794362062430/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model7663426794362062430/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 977us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model1950910894687177645/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model1950910894687177645/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 792us/step\n", - "Epoch 1/5\n", - "41/41 - 1s - loss: 1.1511 - mae: 0.8565 - acc: 0.4002 - val_loss: 0.9073 - val_mae: 0.7763 - val_acc: 0.4496 - 718ms/epoch - 18ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 0.8812 - mae: 0.7592 - acc: 0.4837 - val_loss: 0.7788 - val_mae: 0.7150 - val_acc: 0.5380 - 69ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.7798 - mae: 0.7107 - acc: 0.5718 - val_loss: 0.7083 - val_mae: 0.6762 - val_acc: 0.6202 - 72ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.7225 - mae: 0.6780 - acc: 0.6522 - val_loss: 0.6594 - val_mae: 0.6447 - val_acc: 0.6667 - 77ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.6883 - mae: 0.6557 - acc: 0.6630 - val_loss: 0.6320 - val_mae: 0.6286 - val_acc: 0.6667 - 71ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "12/12 - 2s - loss: 1.0399 - mae: 0.8218 - acc: 0.5707 - val_loss: 0.9149 - val_mae: 0.7710 - val_acc: 0.6357 - 2s/epoch - 147ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.9403 - mae: 0.7601 - acc: 0.6363 - val_loss: 0.8310 - val_mae: 0.7228 - val_acc: 0.6512 - 68ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.8534 - mae: 0.7183 - acc: 0.6491 - val_loss: 0.7226 - val_mae: 0.6710 - val_acc: 0.6558 - 70ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.7414 - mae: 0.6685 - acc: 0.6580 - val_loss: 0.6751 - val_mae: 0.6364 - val_acc: 0.6589 - 81ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.7171 - mae: 0.6582 - acc: 0.6588 - val_loss: 0.6522 - val_mae: 0.6264 - val_acc: 0.6636 - 77ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "28/28 - 1s - loss: 0.9699 - mae: 0.7800 - acc: 0.5730 - val_loss: 0.8325 - val_mae: 0.7271 - val_acc: 0.6357 - 1s/epoch - 38ms/step\n", - "Epoch 2/5\n", - "28/28 - 0s - loss: 0.8699 - mae: 0.7334 - acc: 0.6126 - val_loss: 0.7640 - val_mae: 0.6997 - val_acc: 0.6357 - 62ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "28/28 - 0s - loss: 0.7968 - mae: 0.7047 - acc: 0.6176 - val_loss: 0.6911 - val_mae: 0.6578 - val_acc: 0.6512 - 60ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "28/28 - 0s - loss: 0.7172 - mae: 0.6635 - acc: 0.6300 - val_loss: 0.6517 - val_mae: 0.6319 - val_acc: 0.6465 - 59ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "28/28 - 0s - loss: 0.6957 - mae: 0.6518 - acc: 0.6363 - val_loss: 0.6432 - val_mae: 0.6279 - val_acc: 0.6527 - 61ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "9/9 - 2s - loss: 1.0295 - mae: 0.8221 - acc: 0.3269 - val_loss: 0.9368 - val_mae: 0.7911 - val_acc: 0.3659 - 2s/epoch - 187ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.9063 - mae: 0.7635 - acc: 0.5214 - val_loss: 0.7922 - val_mae: 0.7163 - val_acc: 0.6558 - 39ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.8005 - mae: 0.7129 - acc: 0.6351 - val_loss: 0.7344 - val_mae: 0.6927 - val_acc: 0.6620 - 41ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.7518 - mae: 0.6955 - acc: 0.6557 - val_loss: 0.7169 - val_mae: 0.6857 - val_acc: 0.6558 - 42ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.7280 - mae: 0.6824 - acc: 0.6599 - val_loss: 0.6814 - val_mae: 0.6626 - val_acc: 0.6605 - 41ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "19/19 - 2s - loss: 0.7701 - mae: 0.6898 - acc: 0.5613 - val_loss: 0.6100 - val_mae: 0.6118 - val_acc: 0.6543 - 2s/epoch - 93ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.6185 - mae: 0.6090 - acc: 0.6561 - val_loss: 0.5596 - val_mae: 0.5773 - val_acc: 0.6822 - 52ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.5751 - mae: 0.5821 - acc: 0.6743 - val_loss: 0.5389 - val_mae: 0.5584 - val_acc: 0.6884 - 50ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.5545 - mae: 0.5712 - acc: 0.6836 - val_loss: 0.5157 - val_mae: 0.5463 - val_acc: 0.7085 - 56ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.5411 - mae: 0.5644 - acc: 0.6840 - val_loss: 0.5168 - val_mae: 0.5476 - val_acc: 0.6822 - 55ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "26/26 - 2s - loss: 1.0629 - mae: 0.8351 - acc: 0.3280 - val_loss: 1.0052 - val_mae: 0.8230 - val_acc: 0.3395 - 2s/epoch - 68ms/step\n", - "Epoch 2/5\n", - "26/26 - 0s - loss: 1.0558 - mae: 0.8335 - acc: 0.3439 - val_loss: 0.9980 - val_mae: 0.8210 - val_acc: 0.3395 - 77ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "26/26 - 0s - loss: 1.0408 - mae: 0.8284 - acc: 0.3439 - val_loss: 0.9788 - val_mae: 0.8136 - val_acc: 0.3395 - 75ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "26/26 - 0s - loss: 1.0076 - mae: 0.8158 - acc: 0.3439 - val_loss: 0.9356 - val_mae: 0.7956 - val_acc: 0.3395 - 74ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "26/26 - 0s - loss: 0.9395 - mae: 0.7882 - acc: 0.3556 - val_loss: 0.8676 - val_mae: 0.7658 - val_acc: 0.3473 - 78ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "8/8 - 2s - loss: 1.0630 - mae: 0.8345 - acc: 0.3913 - val_loss: 1.0020 - val_mae: 0.8206 - val_acc: 0.3984 - 2s/epoch - 229ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 1.0461 - mae: 0.8237 - acc: 0.4064 - val_loss: 0.9896 - val_mae: 0.8085 - val_acc: 0.4047 - 72ms/epoch - 9ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 1.0364 - mae: 0.8192 - acc: 0.3828 - val_loss: 0.9882 - val_mae: 0.8061 - val_acc: 0.3736 - 72ms/epoch - 9ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 1.0239 - mae: 0.8135 - acc: 0.3909 - val_loss: 0.9833 - val_mae: 0.8078 - val_acc: 0.3659 - 75ms/epoch - 9ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 1.0129 - mae: 0.8088 - acc: 0.3987 - val_loss: 0.9803 - val_mae: 0.8067 - val_acc: 0.3736 - 74ms/epoch - 9ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 1.0631 - mae: 0.8359 - acc: 0.2543 - val_loss: 1.0052 - val_mae: 0.8230 - val_acc: 0.2419 - 1s/epoch - 149ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 1.0549 - mae: 0.8325 - acc: 0.2543 - val_loss: 0.9944 - val_mae: 0.8180 - val_acc: 0.2419 - 37ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 1.0414 - mae: 0.8264 - acc: 0.2543 - val_loss: 0.9765 - val_mae: 0.8101 - val_acc: 0.2419 - 38ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 1.0182 - mae: 0.8171 - acc: 0.2523 - val_loss: 0.9472 - val_mae: 0.7976 - val_acc: 0.2450 - 38ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.9797 - mae: 0.8009 - acc: 0.2900 - val_loss: 0.9015 - val_mae: 0.7765 - val_acc: 0.3411 - 41ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "8/8 - 2s - loss: 0.9553 - mae: 0.7922 - acc: 0.3649 - val_loss: 0.7877 - val_mae: 0.7268 - val_acc: 0.6636 - 2s/epoch - 225ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.7633 - mae: 0.7007 - acc: 0.6304 - val_loss: 0.6746 - val_mae: 0.6480 - val_acc: 0.6403 - 71ms/epoch - 9ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.6790 - mae: 0.6424 - acc: 0.6533 - val_loss: 0.6002 - val_mae: 0.6137 - val_acc: 0.6806 - 91ms/epoch - 11ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.6362 - mae: 0.6226 - acc: 0.6646 - val_loss: 0.5684 - val_mae: 0.5894 - val_acc: 0.6899 - 85ms/epoch - 11ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6109 - mae: 0.6077 - acc: 0.6793 - val_loss: 0.5430 - val_mae: 0.5645 - val_acc: 0.6899 - 83ms/epoch - 10ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.8909 - mae: 0.7494 - acc: 0.6102 - val_loss: 0.6493 - val_mae: 0.6351 - val_acc: 0.6589 - 1s/epoch - 133ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.6698 - mae: 0.6338 - acc: 0.6398 - val_loss: 0.5982 - val_mae: 0.5972 - val_acc: 0.6667 - 56ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.6218 - mae: 0.6040 - acc: 0.6530 - val_loss: 0.5659 - val_mae: 0.5752 - val_acc: 0.6806 - 58ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6032 - mae: 0.5936 - acc: 0.6712 - val_loss: 0.5461 - val_mae: 0.5660 - val_acc: 0.6961 - 60ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.5796 - mae: 0.5834 - acc: 0.6844 - val_loss: 0.5393 - val_mae: 0.5566 - val_acc: 0.7116 - 63ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.8175 - mae: 0.7168 - acc: 0.5338 - val_loss: 0.6416 - val_mae: 0.6383 - val_acc: 0.6651 - 1s/epoch - 101ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.6290 - mae: 0.6136 - acc: 0.6533 - val_loss: 0.5562 - val_mae: 0.5754 - val_acc: 0.6868 - 53ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.5926 - mae: 0.5923 - acc: 0.6696 - val_loss: 0.5364 - val_mae: 0.5614 - val_acc: 0.6946 - 56ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.5705 - mae: 0.5783 - acc: 0.6801 - val_loss: 0.5300 - val_mae: 0.5580 - val_acc: 0.7101 - 56ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5581 - mae: 0.5739 - acc: 0.6856 - val_loss: 0.5293 - val_mae: 0.5503 - val_acc: 0.7132 - 58ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2008/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2008/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model2161831815154228767/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model2161831815154228767/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 972us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model3839877292386864526/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model3839877292386864526/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 841us/step\n", - "Epoch 1/5\n", - "38/38 - 1s - loss: 0.9993 - mae: 0.8121 - acc: 0.5113 - val_loss: 0.8792 - val_mae: 0.7663 - val_acc: 0.5930 - 718ms/epoch - 19ms/step\n", - "Epoch 2/5\n", - "38/38 - 0s - loss: 0.8783 - mae: 0.7526 - acc: 0.6374 - val_loss: 0.7876 - val_mae: 0.7190 - val_acc: 0.6583 - 66ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "38/38 - 0s - loss: 0.8048 - mae: 0.7130 - acc: 0.6658 - val_loss: 0.7230 - val_mae: 0.6818 - val_acc: 0.6583 - 67ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "38/38 - 0s - loss: 0.7539 - mae: 0.6827 - acc: 0.6729 - val_loss: 0.6771 - val_mae: 0.6527 - val_acc: 0.6633 - 66ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "38/38 - 0s - loss: 0.7142 - mae: 0.6592 - acc: 0.6792 - val_loss: 0.6433 - val_mae: 0.6310 - val_acc: 0.6717 - 67ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "7/7 - 2s - loss: 0.9041 - mae: 0.7677 - acc: 0.4657 - val_loss: 0.7404 - val_mae: 0.6963 - val_acc: 0.6265 - 2s/epoch - 253ms/step\n", - "Epoch 2/5\n", - "7/7 - 0s - loss: 0.7571 - mae: 0.6860 - acc: 0.6198 - val_loss: 0.6697 - val_mae: 0.6429 - val_acc: 0.6248 - 71ms/epoch - 10ms/step\n", - "Epoch 3/5\n", - "7/7 - 0s - loss: 0.7098 - mae: 0.6556 - acc: 0.6290 - val_loss: 0.6405 - val_mae: 0.6265 - val_acc: 0.6382 - 69ms/epoch - 10ms/step\n", - "Epoch 4/5\n", - "7/7 - 0s - loss: 0.6735 - mae: 0.6381 - acc: 0.6327 - val_loss: 0.6162 - val_mae: 0.6139 - val_acc: 0.6332 - 71ms/epoch - 10ms/step\n", - "Epoch 5/5\n", - "7/7 - 0s - loss: 0.6612 - mae: 0.6308 - acc: 0.6327 - val_loss: 0.6085 - val_mae: 0.6050 - val_acc: 0.6600 - 73ms/epoch - 10ms/step\n", - "Epoch 1/5\n", - "16/16 - 1s - loss: 0.9493 - mae: 0.7868 - acc: 0.4950 - val_loss: 0.8299 - val_mae: 0.7380 - val_acc: 0.6164 - 1s/epoch - 71ms/step\n", - "Epoch 2/5\n", - "16/16 - 0s - loss: 0.7934 - mae: 0.7000 - acc: 0.6173 - val_loss: 0.6714 - val_mae: 0.6404 - val_acc: 0.6315 - 47ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "16/16 - 0s - loss: 0.6953 - mae: 0.6460 - acc: 0.6294 - val_loss: 0.6303 - val_mae: 0.6184 - val_acc: 0.6214 - 52ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "16/16 - 0s - loss: 0.6705 - mae: 0.6307 - acc: 0.6332 - val_loss: 0.6201 - val_mae: 0.6119 - val_acc: 0.6315 - 54ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "16/16 - 0s - loss: 0.6594 - mae: 0.6249 - acc: 0.6340 - val_loss: 0.6110 - val_mae: 0.6032 - val_acc: 0.6265 - 51ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "7/7 - 1s - loss: 0.9293 - mae: 0.7810 - acc: 0.4740 - val_loss: 0.7601 - val_mae: 0.7036 - val_acc: 0.6332 - 839ms/epoch - 120ms/step\n", - "Epoch 2/5\n", - "7/7 - 0s - loss: 0.7684 - mae: 0.6925 - acc: 0.6240 - val_loss: 0.7028 - val_mae: 0.6708 - val_acc: 0.6415 - 37ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "7/7 - 0s - loss: 0.7356 - mae: 0.6777 - acc: 0.6374 - val_loss: 0.6738 - val_mae: 0.6526 - val_acc: 0.6566 - 38ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "7/7 - 0s - loss: 0.7006 - mae: 0.6574 - acc: 0.6503 - val_loss: 0.6477 - val_mae: 0.6355 - val_acc: 0.6633 - 38ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "7/7 - 0s - loss: 0.6727 - mae: 0.6425 - acc: 0.6654 - val_loss: 0.6258 - val_mae: 0.6221 - val_acc: 0.6801 - 43ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "21/21 - 1s - loss: 0.9903 - mae: 0.8047 - acc: 0.4556 - val_loss: 0.9090 - val_mae: 0.7783 - val_acc: 0.5360 - 1s/epoch - 57ms/step\n", - "Epoch 2/5\n", - "21/21 - 0s - loss: 0.9053 - mae: 0.7536 - acc: 0.5528 - val_loss: 0.8283 - val_mae: 0.7326 - val_acc: 0.5762 - 71ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "21/21 - 0s - loss: 0.8433 - mae: 0.7227 - acc: 0.5812 - val_loss: 0.7730 - val_mae: 0.7055 - val_acc: 0.5930 - 74ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "21/21 - 0s - loss: 0.8058 - mae: 0.7065 - acc: 0.6051 - val_loss: 0.7410 - val_mae: 0.6876 - val_acc: 0.6013 - 76ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "21/21 - 0s - loss: 0.7863 - mae: 0.6960 - acc: 0.6152 - val_loss: 0.7219 - val_mae: 0.6792 - val_acc: 0.6265 - 76ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "22/22 - 2s - loss: 1.0140 - mae: 0.8177 - acc: 0.3099 - val_loss: 0.9716 - val_mae: 0.8099 - val_acc: 0.3367 - 2s/epoch - 83ms/step\n", - "Epoch 2/5\n", - "22/22 - 0s - loss: 1.0049 - mae: 0.8129 - acc: 0.4250 - val_loss: 0.9612 - val_mae: 0.8052 - val_acc: 0.4489 - 60ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "22/22 - 0s - loss: 0.9902 - mae: 0.8056 - acc: 0.4879 - val_loss: 0.9422 - val_mae: 0.7963 - val_acc: 0.4707 - 63ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "22/22 - 0s - loss: 0.9597 - mae: 0.7888 - acc: 0.5310 - val_loss: 0.8966 - val_mae: 0.7706 - val_acc: 0.5662 - 86ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "22/22 - 0s - loss: 0.9088 - mae: 0.7599 - acc: 0.5850 - val_loss: 0.8490 - val_mae: 0.7398 - val_acc: 0.5930 - 65ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.9575 - mae: 0.7933 - acc: 0.4870 - val_loss: 0.8136 - val_mae: 0.7306 - val_acc: 0.5913 - 1s/epoch - 131ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.7897 - mae: 0.7069 - acc: 0.6085 - val_loss: 0.7399 - val_mae: 0.6861 - val_acc: 0.6013 - 52ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.7498 - mae: 0.6845 - acc: 0.6114 - val_loss: 0.7374 - val_mae: 0.6833 - val_acc: 0.5946 - 51ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.7416 - mae: 0.6781 - acc: 0.6110 - val_loss: 0.6966 - val_mae: 0.6599 - val_acc: 0.6047 - 53ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.7199 - mae: 0.6650 - acc: 0.6185 - val_loss: 0.6830 - val_mae: 0.6521 - val_acc: 0.6114 - 71ms/epoch - 7ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.9481 - mae: 0.7882 - acc: 0.5406 - val_loss: 0.8680 - val_mae: 0.7607 - val_acc: 0.6415 - 1s/epoch - 92ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.8761 - mae: 0.7503 - acc: 0.6298 - val_loss: 0.7887 - val_mae: 0.7178 - val_acc: 0.6549 - 41ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.7965 - mae: 0.7056 - acc: 0.6415 - val_loss: 0.7035 - val_mae: 0.6650 - val_acc: 0.6583 - 44ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.7273 - mae: 0.6631 - acc: 0.6470 - val_loss: 0.6497 - val_mae: 0.6317 - val_acc: 0.6566 - 43ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.6943 - mae: 0.6454 - acc: 0.6608 - val_loss: 0.6307 - val_mae: 0.6210 - val_acc: 0.6633 - 44ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "7/7 - 1s - loss: 0.8697 - mae: 0.7408 - acc: 0.5616 - val_loss: 0.7149 - val_mae: 0.6791 - val_acc: 0.6549 - 827ms/epoch - 118ms/step\n", - "Epoch 2/5\n", - "7/7 - 0s - loss: 0.7365 - mae: 0.6732 - acc: 0.6537 - val_loss: 0.6454 - val_mae: 0.6348 - val_acc: 0.6801 - 39ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "7/7 - 0s - loss: 0.6726 - mae: 0.6406 - acc: 0.6763 - val_loss: 0.5908 - val_mae: 0.6039 - val_acc: 0.6985 - 37ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "7/7 - 0s - loss: 0.6309 - mae: 0.6150 - acc: 0.6855 - val_loss: 0.5650 - val_mae: 0.5905 - val_acc: 0.7085 - 38ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "7/7 - 0s - loss: 0.6027 - mae: 0.5991 - acc: 0.6822 - val_loss: 0.5569 - val_mae: 0.5831 - val_acc: 0.6918 - 38ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "104/104 - 1s - loss: 0.7117 - mae: 0.6590 - acc: 0.5825 - val_loss: 0.5457 - val_mae: 0.5652 - val_acc: 0.6583 - 1s/epoch - 11ms/step\n", - "Epoch 2/5\n", - "104/104 - 0s - loss: 0.5757 - mae: 0.5819 - acc: 0.6696 - val_loss: 0.5052 - val_mae: 0.5371 - val_acc: 0.6650 - 159ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "104/104 - 0s - loss: 0.5404 - mae: 0.5611 - acc: 0.6914 - val_loss: 0.4981 - val_mae: 0.5285 - val_acc: 0.6650 - 168ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "104/104 - 0s - loss: 0.5322 - mae: 0.5572 - acc: 0.6918 - val_loss: 0.4916 - val_mae: 0.5293 - val_acc: 0.6817 - 183ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "104/104 - 0s - loss: 0.5263 - mae: 0.5520 - acc: 0.6989 - val_loss: 0.4810 - val_mae: 0.5240 - val_acc: 0.6901 - 162ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "8/8 - 2s - loss: 1.0058 - mae: 0.8134 - acc: 0.5096 - val_loss: 0.9571 - val_mae: 0.8036 - val_acc: 0.5963 - 2s/epoch - 244ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.9903 - mae: 0.8062 - acc: 0.5976 - val_loss: 0.9436 - val_mae: 0.7976 - val_acc: 0.5896 - 35ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.9763 - mae: 0.7996 - acc: 0.6001 - val_loss: 0.9314 - val_mae: 0.7919 - val_acc: 0.5963 - 40ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.9640 - mae: 0.7936 - acc: 0.6055 - val_loss: 0.9183 - val_mae: 0.7856 - val_acc: 0.5980 - 38ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.9499 - mae: 0.7869 - acc: 0.6085 - val_loss: 0.9036 - val_mae: 0.7787 - val_acc: 0.6030 - 39ms/epoch - 5ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2013/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2013/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model7006446217081522550/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model7006446217081522550/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "16/16 [==============================] - 0s 854us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model9695921445145791635/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model9695921445145791635/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 755us/step\n", - "Epoch 1/5\n", - "37/37 - 1s - loss: 1.1062 - mae: 0.8378 - acc: 0.4370 - val_loss: 0.9761 - val_mae: 0.7955 - val_acc: 0.4610 - 749ms/epoch - 20ms/step\n", - "Epoch 2/5\n", - "37/37 - 0s - loss: 0.9915 - mae: 0.7898 - acc: 0.5252 - val_loss: 0.8845 - val_mae: 0.7530 - val_acc: 0.5593 - 65ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "37/37 - 0s - loss: 0.9040 - mae: 0.7478 - acc: 0.5965 - val_loss: 0.7998 - val_mae: 0.7077 - val_acc: 0.6017 - 67ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "37/37 - 0s - loss: 0.8301 - mae: 0.7116 - acc: 0.6156 - val_loss: 0.7369 - val_mae: 0.6757 - val_acc: 0.6153 - 67ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "37/37 - 0s - loss: 0.7779 - mae: 0.6864 - acc: 0.6237 - val_loss: 0.6953 - val_mae: 0.6545 - val_acc: 0.6203 - 63ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "31/31 - 1s - loss: 0.8525 - mae: 0.7268 - acc: 0.5626 - val_loss: 0.6944 - val_mae: 0.6582 - val_acc: 0.5932 - 1s/epoch - 42ms/step\n", - "Epoch 2/5\n", - "31/31 - 0s - loss: 0.7170 - mae: 0.6595 - acc: 0.6173 - val_loss: 0.6746 - val_mae: 0.6441 - val_acc: 0.6356 - 94ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "31/31 - 0s - loss: 0.6793 - mae: 0.6364 - acc: 0.6377 - val_loss: 0.6120 - val_mae: 0.6133 - val_acc: 0.6576 - 94ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "31/31 - 0s - loss: 0.6321 - mae: 0.6181 - acc: 0.6419 - val_loss: 0.5885 - val_mae: 0.5977 - val_acc: 0.6898 - 94ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "31/31 - 0s - loss: 0.6091 - mae: 0.6054 - acc: 0.6678 - val_loss: 0.5635 - val_mae: 0.5832 - val_acc: 0.6898 - 100ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 1.0818 - mae: 0.8370 - acc: 0.4510 - val_loss: 0.9895 - val_mae: 0.8059 - val_acc: 0.5441 - 1s/epoch - 173ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 1.0313 - mae: 0.8079 - acc: 0.5202 - val_loss: 0.9174 - val_mae: 0.7632 - val_acc: 0.5254 - 45ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.9566 - mae: 0.7603 - acc: 0.5651 - val_loss: 0.8494 - val_mae: 0.7214 - val_acc: 0.6305 - 45ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.9083 - mae: 0.7378 - acc: 0.6483 - val_loss: 0.8074 - val_mae: 0.7031 - val_acc: 0.6508 - 48ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.8526 - mae: 0.7129 - acc: 0.6487 - val_loss: 0.7523 - val_mae: 0.6770 - val_acc: 0.6458 - 50ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "17/17 - 1s - loss: 0.8902 - mae: 0.7507 - acc: 0.5028 - val_loss: 0.6828 - val_mae: 0.6438 - val_acc: 0.6356 - 822ms/epoch - 48ms/step\n", - "Epoch 2/5\n", - "17/17 - 0s - loss: 0.7226 - mae: 0.6634 - acc: 0.6241 - val_loss: 0.6527 - val_mae: 0.6266 - val_acc: 0.6576 - 52ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "17/17 - 0s - loss: 0.6800 - mae: 0.6388 - acc: 0.6504 - val_loss: 0.6268 - val_mae: 0.6110 - val_acc: 0.6475 - 48ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "17/17 - 0s - loss: 0.6593 - mae: 0.6293 - acc: 0.6529 - val_loss: 0.6155 - val_mae: 0.6029 - val_acc: 0.6525 - 50ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "17/17 - 0s - loss: 0.6398 - mae: 0.6176 - acc: 0.6538 - val_loss: 0.6007 - val_mae: 0.5935 - val_acc: 0.6610 - 49ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "15/15 - 1s - loss: 0.9408 - mae: 0.7708 - acc: 0.5405 - val_loss: 0.7905 - val_mae: 0.7117 - val_acc: 0.6305 - 1s/epoch - 97ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.7517 - mae: 0.6761 - acc: 0.6080 - val_loss: 0.7068 - val_mae: 0.6541 - val_acc: 0.6593 - 59ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.7027 - mae: 0.6516 - acc: 0.6377 - val_loss: 0.6758 - val_mae: 0.6399 - val_acc: 0.6068 - 63ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.6567 - mae: 0.6266 - acc: 0.6462 - val_loss: 0.6065 - val_mae: 0.6053 - val_acc: 0.6508 - 62ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.6283 - mae: 0.6138 - acc: 0.6606 - val_loss: 0.6143 - val_mae: 0.6087 - val_acc: 0.6508 - 62ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "7/7 - 1s - loss: 1.0841 - mae: 0.8314 - acc: 0.4845 - val_loss: 0.8608 - val_mae: 0.7476 - val_acc: 0.6339 - 780ms/epoch - 111ms/step\n", - "Epoch 2/5\n", - "7/7 - 0s - loss: 0.8445 - mae: 0.7275 - acc: 0.6288 - val_loss: 0.7116 - val_mae: 0.6677 - val_acc: 0.6492 - 33ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "7/7 - 0s - loss: 0.7199 - mae: 0.6632 - acc: 0.6381 - val_loss: 0.6451 - val_mae: 0.6293 - val_acc: 0.6593 - 33ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "7/7 - 0s - loss: 0.6769 - mae: 0.6398 - acc: 0.6449 - val_loss: 0.6242 - val_mae: 0.6167 - val_acc: 0.6661 - 34ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "7/7 - 0s - loss: 0.6576 - mae: 0.6290 - acc: 0.6491 - val_loss: 0.6099 - val_mae: 0.6039 - val_acc: 0.6576 - 35ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "19/19 - 1s - loss: 0.8443 - mae: 0.7298 - acc: 0.4955 - val_loss: 0.6824 - val_mae: 0.6510 - val_acc: 0.6119 - 727ms/epoch - 38ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.6999 - mae: 0.6501 - acc: 0.6109 - val_loss: 0.6479 - val_mae: 0.6281 - val_acc: 0.6237 - 45ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.6732 - mae: 0.6334 - acc: 0.6199 - val_loss: 0.6241 - val_mae: 0.6138 - val_acc: 0.6424 - 50ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.6567 - mae: 0.6229 - acc: 0.6232 - val_loss: 0.6158 - val_mae: 0.6094 - val_acc: 0.6525 - 49ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.6476 - mae: 0.6181 - acc: 0.6343 - val_loss: 0.6047 - val_mae: 0.6021 - val_acc: 0.6627 - 45ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "20/20 - 1s - loss: 0.9971 - mae: 0.7964 - acc: 0.5664 - val_loss: 0.7488 - val_mae: 0.6896 - val_acc: 0.6576 - 1s/epoch - 74ms/step\n", - "Epoch 2/5\n", - "20/20 - 0s - loss: 0.7341 - mae: 0.6687 - acc: 0.6483 - val_loss: 0.6576 - val_mae: 0.6304 - val_acc: 0.6610 - 63ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "20/20 - 0s - loss: 0.6821 - mae: 0.6407 - acc: 0.6636 - val_loss: 0.6311 - val_mae: 0.6124 - val_acc: 0.6593 - 70ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "20/20 - 0s - loss: 0.6536 - mae: 0.6264 - acc: 0.6737 - val_loss: 0.6185 - val_mae: 0.6050 - val_acc: 0.6593 - 65ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "20/20 - 0s - loss: 0.6389 - mae: 0.6172 - acc: 0.6678 - val_loss: 0.6207 - val_mae: 0.6066 - val_acc: 0.6559 - 70ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "7/7 - 1s - loss: 0.9087 - mae: 0.7631 - acc: 0.4535 - val_loss: 0.6464 - val_mae: 0.6245 - val_acc: 0.6458 - 1s/epoch - 205ms/step\n", - "Epoch 2/5\n", - "7/7 - 0s - loss: 0.7025 - mae: 0.6484 - acc: 0.6351 - val_loss: 0.6467 - val_mae: 0.6326 - val_acc: 0.6644 - 50ms/epoch - 7ms/step\n", - "Epoch 3/5\n", - "7/7 - 0s - loss: 0.6250 - mae: 0.6087 - acc: 0.6669 - val_loss: 0.6076 - val_mae: 0.5978 - val_acc: 0.6746 - 53ms/epoch - 8ms/step\n", - "Epoch 4/5\n", - "7/7 - 0s - loss: 0.5964 - mae: 0.5974 - acc: 0.6716 - val_loss: 0.5750 - val_mae: 0.5818 - val_acc: 0.6831 - 51ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "7/7 - 0s - loss: 0.5868 - mae: 0.5894 - acc: 0.6737 - val_loss: 0.5689 - val_mae: 0.5760 - val_acc: 0.6915 - 56ms/epoch - 8ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 1.0818 - mae: 0.8423 - acc: 0.4064 - val_loss: 0.9889 - val_mae: 0.8128 - val_acc: 0.3966 - 2s/epoch - 175ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.9846 - mae: 0.8009 - acc: 0.4158 - val_loss: 0.8370 - val_mae: 0.7361 - val_acc: 0.4000 - 44ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.8411 - mae: 0.7307 - acc: 0.5469 - val_loss: 0.7432 - val_mae: 0.6884 - val_acc: 0.6119 - 45ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.7619 - mae: 0.6912 - acc: 0.6177 - val_loss: 0.7010 - val_mae: 0.6616 - val_acc: 0.6136 - 47ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.7272 - mae: 0.6656 - acc: 0.6156 - val_loss: 0.6826 - val_mae: 0.6446 - val_acc: 0.6102 - 44ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "11/11 - 2s - loss: 1.0789 - mae: 0.8373 - acc: 0.3496 - val_loss: 0.9939 - val_mae: 0.8120 - val_acc: 0.5136 - 2s/epoch - 160ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 1.0368 - mae: 0.8201 - acc: 0.5197 - val_loss: 0.9292 - val_mae: 0.7838 - val_acc: 0.5305 - 44ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.9509 - mae: 0.7817 - acc: 0.5388 - val_loss: 0.8227 - val_mae: 0.7348 - val_acc: 0.5627 - 46ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.8548 - mae: 0.7345 - acc: 0.5740 - val_loss: 0.7476 - val_mae: 0.6935 - val_acc: 0.5983 - 48ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.7915 - mae: 0.7017 - acc: 0.6063 - val_loss: 0.7072 - val_mae: 0.6679 - val_acc: 0.6102 - 48ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2016/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2016/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model11270816114413390162/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model11270816114413390162/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "17/17 [==============================] - 0s 959us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model16212558717086747948/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model16212558717086747948/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 824us/step\n", - "Epoch 1/5\n", - "41/41 - 1s - loss: 1.2214 - mae: 0.9134 - acc: 0.3438 - val_loss: 1.0401 - val_mae: 0.8450 - val_acc: 0.3488 - 688ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 1.0383 - mae: 0.8347 - acc: 0.4318 - val_loss: 0.9157 - val_mae: 0.7864 - val_acc: 0.5535 - 89ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.9281 - mae: 0.7822 - acc: 0.5647 - val_loss: 0.8213 - val_mae: 0.7381 - val_acc: 0.6109 - 71ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.8400 - mae: 0.7370 - acc: 0.5969 - val_loss: 0.7433 - val_mae: 0.6955 - val_acc: 0.6264 - 66ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.7698 - mae: 0.6987 - acc: 0.6093 - val_loss: 0.6824 - val_mae: 0.6588 - val_acc: 0.6434 - 67ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.7949 - mae: 0.7103 - acc: 0.5767 - val_loss: 0.6760 - val_mae: 0.6469 - val_acc: 0.6388 - 826ms/epoch - 59ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.6856 - mae: 0.6443 - acc: 0.6380 - val_loss: 0.6284 - val_mae: 0.6169 - val_acc: 0.6326 - 43ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.6607 - mae: 0.6307 - acc: 0.6399 - val_loss: 0.6162 - val_mae: 0.6099 - val_acc: 0.6527 - 44ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.6515 - mae: 0.6242 - acc: 0.6438 - val_loss: 0.6082 - val_mae: 0.6058 - val_acc: 0.6558 - 43ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.6497 - mae: 0.6225 - acc: 0.6399 - val_loss: 0.5935 - val_mae: 0.5994 - val_acc: 0.6605 - 46ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "26/26 - 2s - loss: 1.0261 - mae: 0.8078 - acc: 0.3965 - val_loss: 0.9337 - val_mae: 0.7755 - val_acc: 0.4791 - 2s/epoch - 60ms/step\n", - "Epoch 2/5\n", - "26/26 - 0s - loss: 0.9617 - mae: 0.7750 - acc: 0.4857 - val_loss: 0.8739 - val_mae: 0.7465 - val_acc: 0.5070 - 99ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "26/26 - 0s - loss: 0.9195 - mae: 0.7584 - acc: 0.5093 - val_loss: 0.8553 - val_mae: 0.7380 - val_acc: 0.5271 - 103ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "26/26 - 0s - loss: 0.8979 - mae: 0.7472 - acc: 0.5271 - val_loss: 0.8241 - val_mae: 0.7226 - val_acc: 0.5519 - 115ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "26/26 - 0s - loss: 0.8764 - mae: 0.7375 - acc: 0.5442 - val_loss: 0.8118 - val_mae: 0.7166 - val_acc: 0.5674 - 107ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "9/9 - 2s - loss: 1.0685 - mae: 0.8370 - acc: 0.3907 - val_loss: 1.0020 - val_mae: 0.8209 - val_acc: 0.4202 - 2s/epoch - 169ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 1.0452 - mae: 0.8276 - acc: 0.4764 - val_loss: 0.9696 - val_mae: 0.8067 - val_acc: 0.5504 - 36ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 1.0056 - mae: 0.8114 - acc: 0.5407 - val_loss: 0.9355 - val_mae: 0.7909 - val_acc: 0.4930 - 36ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.9645 - mae: 0.7925 - acc: 0.4996 - val_loss: 0.8960 - val_mae: 0.7746 - val_acc: 0.4992 - 38ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.9159 - mae: 0.7730 - acc: 0.5105 - val_loss: 0.8543 - val_mae: 0.7538 - val_acc: 0.5395 - 46ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "17/17 - 1s - loss: 0.7565 - mae: 0.6792 - acc: 0.6209 - val_loss: 0.6002 - val_mae: 0.6075 - val_acc: 0.6713 - 1s/epoch - 69ms/step\n", - "Epoch 2/5\n", - "17/17 - 0s - loss: 0.6100 - mae: 0.6036 - acc: 0.6651 - val_loss: 0.5404 - val_mae: 0.5639 - val_acc: 0.6930 - 63ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "17/17 - 0s - loss: 0.5769 - mae: 0.5854 - acc: 0.6764 - val_loss: 0.5346 - val_mae: 0.5616 - val_acc: 0.6853 - 67ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "17/17 - 0s - loss: 0.5558 - mae: 0.5747 - acc: 0.6779 - val_loss: 0.5380 - val_mae: 0.5527 - val_acc: 0.6837 - 70ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "17/17 - 0s - loss: 0.5457 - mae: 0.5703 - acc: 0.6880 - val_loss: 0.4999 - val_mae: 0.5385 - val_acc: 0.6977 - 70ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "21/21 - 1s - loss: 0.9146 - mae: 0.7526 - acc: 0.5574 - val_loss: 0.7479 - val_mae: 0.6769 - val_acc: 0.6217 - 1s/epoch - 51ms/step\n", - "Epoch 2/5\n", - "21/21 - 0s - loss: 0.7627 - mae: 0.6845 - acc: 0.6326 - val_loss: 0.6801 - val_mae: 0.6372 - val_acc: 0.6558 - 55ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "21/21 - 0s - loss: 0.7070 - mae: 0.6535 - acc: 0.6581 - val_loss: 0.6567 - val_mae: 0.6333 - val_acc: 0.6651 - 57ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "21/21 - 0s - loss: 0.6787 - mae: 0.6387 - acc: 0.6709 - val_loss: 0.6192 - val_mae: 0.6112 - val_acc: 0.6822 - 59ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "21/21 - 0s - loss: 0.6421 - mae: 0.6173 - acc: 0.6880 - val_loss: 0.5910 - val_mae: 0.5910 - val_acc: 0.6977 - 63ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "16/16 - 1s - loss: 1.1759 - mae: 0.8450 - acc: 0.3884 - val_loss: 1.0507 - val_mae: 0.8095 - val_acc: 0.4000 - 804ms/epoch - 50ms/step\n", - "Epoch 2/5\n", - "16/16 - 0s - loss: 1.0929 - mae: 0.8141 - acc: 0.3919 - val_loss: 0.9824 - val_mae: 0.7819 - val_acc: 0.4124 - 41ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "16/16 - 0s - loss: 1.0269 - mae: 0.7885 - acc: 0.4438 - val_loss: 0.9246 - val_mae: 0.7576 - val_acc: 0.4651 - 42ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "16/16 - 0s - loss: 0.9703 - mae: 0.7657 - acc: 0.4860 - val_loss: 0.8761 - val_mae: 0.7366 - val_acc: 0.4961 - 41ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "16/16 - 0s - loss: 0.9210 - mae: 0.7454 - acc: 0.5279 - val_loss: 0.8330 - val_mae: 0.7173 - val_acc: 0.5442 - 65ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.8681 - mae: 0.7401 - acc: 0.5550 - val_loss: 0.7372 - val_mae: 0.6772 - val_acc: 0.6186 - 812ms/epoch - 90ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7822 - mae: 0.6994 - acc: 0.5946 - val_loss: 0.7115 - val_mae: 0.6628 - val_acc: 0.6155 - 42ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.7522 - mae: 0.6805 - acc: 0.6035 - val_loss: 0.6939 - val_mae: 0.6508 - val_acc: 0.6233 - 45ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.7363 - mae: 0.6730 - acc: 0.6155 - val_loss: 0.6850 - val_mae: 0.6445 - val_acc: 0.6341 - 41ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.7272 - mae: 0.6660 - acc: 0.6182 - val_loss: 0.6808 - val_mae: 0.6428 - val_acc: 0.6403 - 41ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "152/152 - 2s - loss: 0.8824 - mae: 0.7424 - acc: 0.6027 - val_loss: 0.6744 - val_mae: 0.6391 - val_acc: 0.6543 - 2s/epoch - 12ms/step\n", - "Epoch 2/5\n", - "152/152 - 0s - loss: 0.7073 - mae: 0.6531 - acc: 0.6488 - val_loss: 0.6453 - val_mae: 0.6216 - val_acc: 0.6372 - 254ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "152/152 - 0s - loss: 0.6773 - mae: 0.6377 - acc: 0.6636 - val_loss: 0.6262 - val_mae: 0.6059 - val_acc: 0.6574 - 267ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "152/152 - 0s - loss: 0.6572 - mae: 0.6277 - acc: 0.6705 - val_loss: 0.6130 - val_mae: 0.6024 - val_acc: 0.6744 - 256ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "152/152 - 0s - loss: 0.6387 - mae: 0.6189 - acc: 0.6783 - val_loss: 0.6008 - val_mae: 0.5935 - val_acc: 0.6744 - 269ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "70/70 - 2s - loss: 1.0014 - mae: 0.8024 - acc: 0.4194 - val_loss: 0.8263 - val_mae: 0.7153 - val_acc: 0.5736 - 2s/epoch - 25ms/step\n", - "Epoch 2/5\n", - "70/70 - 0s - loss: 0.7638 - mae: 0.6800 - acc: 0.6019 - val_loss: 0.6864 - val_mae: 0.6455 - val_acc: 0.6171 - 121ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "70/70 - 0s - loss: 0.7081 - mae: 0.6540 - acc: 0.6147 - val_loss: 0.6530 - val_mae: 0.6252 - val_acc: 0.6233 - 130ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "70/70 - 0s - loss: 0.6824 - mae: 0.6405 - acc: 0.6217 - val_loss: 0.6394 - val_mae: 0.6195 - val_acc: 0.6217 - 126ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "70/70 - 0s - loss: 0.6690 - mae: 0.6324 - acc: 0.6225 - val_loss: 0.6234 - val_mae: 0.6086 - val_acc: 0.6248 - 130ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "12/12 - 2s - loss: 0.9567 - mae: 0.7848 - acc: 0.5283 - val_loss: 0.7777 - val_mae: 0.7087 - val_acc: 0.6155 - 2s/epoch - 139ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.8163 - mae: 0.7093 - acc: 0.6174 - val_loss: 0.7077 - val_mae: 0.6687 - val_acc: 0.6434 - 41ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.7454 - mae: 0.6728 - acc: 0.6221 - val_loss: 0.6490 - val_mae: 0.6300 - val_acc: 0.6372 - 40ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.6915 - mae: 0.6447 - acc: 0.6275 - val_loss: 0.6280 - val_mae: 0.6141 - val_acc: 0.6450 - 43ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.6773 - mae: 0.6354 - acc: 0.6391 - val_loss: 0.6118 - val_mae: 0.6086 - val_acc: 0.6574 - 45ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2009/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2009/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model15419356375336798308/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model15419356375336798308/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 953us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model1077771545059189103/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model1077771545059189103/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 826us/step\n", - "Epoch 1/5\n", - "41/41 - 1s - loss: 1.0633 - mae: 0.8212 - acc: 0.5278 - val_loss: 0.9480 - val_mae: 0.7848 - val_acc: 0.5932 - 698ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 0.9725 - mae: 0.7794 - acc: 0.5926 - val_loss: 0.8725 - val_mae: 0.7463 - val_acc: 0.6210 - 70ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.9006 - mae: 0.7445 - acc: 0.6157 - val_loss: 0.8041 - val_mae: 0.7118 - val_acc: 0.6333 - 66ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.8208 - mae: 0.7083 - acc: 0.6292 - val_loss: 0.7248 - val_mae: 0.6733 - val_acc: 0.6364 - 64ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.7435 - mae: 0.6726 - acc: 0.6323 - val_loss: 0.6660 - val_mae: 0.6414 - val_acc: 0.6441 - 65ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 1.1031 - mae: 0.8370 - acc: 0.3870 - val_loss: 0.8771 - val_mae: 0.7527 - val_acc: 0.5085 - 789ms/epoch - 56ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.8636 - mae: 0.7277 - acc: 0.6130 - val_loss: 0.7172 - val_mae: 0.6707 - val_acc: 0.6333 - 38ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.7215 - mae: 0.6584 - acc: 0.6408 - val_loss: 0.6239 - val_mae: 0.6148 - val_acc: 0.6595 - 39ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.6678 - mae: 0.6265 - acc: 0.6624 - val_loss: 0.5827 - val_mae: 0.5934 - val_acc: 0.6764 - 38ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.6199 - mae: 0.6051 - acc: 0.6771 - val_loss: 0.5551 - val_mae: 0.5733 - val_acc: 0.6810 - 40ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "15/15 - 1s - loss: 0.8198 - mae: 0.7124 - acc: 0.5340 - val_loss: 0.6238 - val_mae: 0.6199 - val_acc: 0.6564 - 673ms/epoch - 45ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.6512 - mae: 0.6261 - acc: 0.6466 - val_loss: 0.5793 - val_mae: 0.5932 - val_acc: 0.6626 - 40ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.6121 - mae: 0.6024 - acc: 0.6586 - val_loss: 0.5466 - val_mae: 0.5722 - val_acc: 0.6764 - 41ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.5882 - mae: 0.5904 - acc: 0.6732 - val_loss: 0.5359 - val_mae: 0.5660 - val_acc: 0.6857 - 47ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.5725 - mae: 0.5817 - acc: 0.6825 - val_loss: 0.5246 - val_mae: 0.5580 - val_acc: 0.6918 - 48ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "16/16 - 1s - loss: 0.7659 - mae: 0.6839 - acc: 0.5772 - val_loss: 0.6248 - val_mae: 0.6079 - val_acc: 0.6302 - 1s/epoch - 81ms/step\n", - "Epoch 2/5\n", - "16/16 - 0s - loss: 0.6159 - mae: 0.6005 - acc: 0.6566 - val_loss: 0.5500 - val_mae: 0.5746 - val_acc: 0.6810 - 58ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "16/16 - 0s - loss: 0.5844 - mae: 0.5863 - acc: 0.6717 - val_loss: 0.5257 - val_mae: 0.5525 - val_acc: 0.6810 - 61ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "16/16 - 0s - loss: 0.5608 - mae: 0.5709 - acc: 0.6732 - val_loss: 0.5095 - val_mae: 0.5441 - val_acc: 0.6857 - 61ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "16/16 - 0s - loss: 0.5456 - mae: 0.5649 - acc: 0.6917 - val_loss: 0.5064 - val_mae: 0.5447 - val_acc: 0.6980 - 60ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 1.0685 - mae: 0.8339 - acc: 0.2261 - val_loss: 0.9681 - val_mae: 0.8044 - val_acc: 0.3359 - 810ms/epoch - 101ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.9866 - mae: 0.7955 - acc: 0.4576 - val_loss: 0.9154 - val_mae: 0.7780 - val_acc: 0.4715 - 31ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.9432 - mae: 0.7714 - acc: 0.5093 - val_loss: 0.8642 - val_mae: 0.7487 - val_acc: 0.5763 - 33ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.8966 - mae: 0.7450 - acc: 0.5802 - val_loss: 0.8116 - val_mae: 0.7209 - val_acc: 0.6025 - 36ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.8548 - mae: 0.7242 - acc: 0.5976 - val_loss: 0.7654 - val_mae: 0.7006 - val_acc: 0.6148 - 35ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "173/173 - 2s - loss: 0.6818 - mae: 0.6404 - acc: 0.6312 - val_loss: 0.6143 - val_mae: 0.6047 - val_acc: 0.5809 - 2s/epoch - 11ms/step\n", - "Epoch 2/5\n", - "173/173 - 0s - loss: 0.6265 - mae: 0.6117 - acc: 0.6478 - val_loss: 0.5733 - val_mae: 0.5839 - val_acc: 0.6549 - 317ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "173/173 - 0s - loss: 0.5980 - mae: 0.5962 - acc: 0.6609 - val_loss: 0.5600 - val_mae: 0.5804 - val_acc: 0.6456 - 339ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "173/173 - 0s - loss: 0.5866 - mae: 0.5939 - acc: 0.6632 - val_loss: 0.5338 - val_mae: 0.5549 - val_acc: 0.6888 - 329ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "173/173 - 0s - loss: 0.5787 - mae: 0.5853 - acc: 0.6732 - val_loss: 0.5156 - val_mae: 0.5470 - val_acc: 0.6826 - 337ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "8/8 - 2s - loss: 1.0387 - mae: 0.8218 - acc: 0.5799 - val_loss: 0.9604 - val_mae: 0.8013 - val_acc: 0.6379 - 2s/epoch - 239ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.9846 - mae: 0.7938 - acc: 0.6362 - val_loss: 0.8820 - val_mae: 0.7578 - val_acc: 0.6456 - 45ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.8926 - mae: 0.7407 - acc: 0.6393 - val_loss: 0.7728 - val_mae: 0.6947 - val_acc: 0.6456 - 47ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.7994 - mae: 0.6956 - acc: 0.6377 - val_loss: 0.6865 - val_mae: 0.6548 - val_acc: 0.6410 - 47ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.7397 - mae: 0.6684 - acc: 0.6408 - val_loss: 0.6636 - val_mae: 0.6398 - val_acc: 0.6456 - 50ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "13/13 - 2s - loss: 0.8358 - mae: 0.7227 - acc: 0.5459 - val_loss: 0.6565 - val_mae: 0.6363 - val_acc: 0.6394 - 2s/epoch - 125ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.6633 - mae: 0.6271 - acc: 0.6377 - val_loss: 0.5959 - val_mae: 0.5974 - val_acc: 0.6487 - 76ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.6124 - mae: 0.6006 - acc: 0.6651 - val_loss: 0.5716 - val_mae: 0.5882 - val_acc: 0.6718 - 79ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.5798 - mae: 0.5865 - acc: 0.6836 - val_loss: 0.5316 - val_mae: 0.5580 - val_acc: 0.7026 - 82ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5814 - mae: 0.5880 - acc: 0.6755 - val_loss: 0.5319 - val_mae: 0.5647 - val_acc: 0.7072 - 89ms/epoch - 7ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9991 - mae: 0.8060 - acc: 0.3823 - val_loss: 0.8915 - val_mae: 0.7674 - val_acc: 0.4884 - 949ms/epoch - 105ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.8979 - mae: 0.7550 - acc: 0.5856 - val_loss: 0.8088 - val_mae: 0.7222 - val_acc: 0.6225 - 38ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.8271 - mae: 0.7176 - acc: 0.6134 - val_loss: 0.7584 - val_mae: 0.6920 - val_acc: 0.6240 - 36ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.7933 - mae: 0.7015 - acc: 0.6181 - val_loss: 0.7371 - val_mae: 0.6812 - val_acc: 0.6271 - 37ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.7802 - mae: 0.6948 - acc: 0.6227 - val_loss: 0.7264 - val_mae: 0.6745 - val_acc: 0.6302 - 38ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "15/15 - 1s - loss: 0.9558 - mae: 0.7746 - acc: 0.5714 - val_loss: 0.7746 - val_mae: 0.7085 - val_acc: 0.6579 - 1s/epoch - 95ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.7556 - mae: 0.6804 - acc: 0.6628 - val_loss: 0.6732 - val_mae: 0.6508 - val_acc: 0.6764 - 69ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.6986 - mae: 0.6474 - acc: 0.6698 - val_loss: 0.6531 - val_mae: 0.6378 - val_acc: 0.6841 - 76ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.6703 - mae: 0.6342 - acc: 0.6728 - val_loss: 0.6056 - val_mae: 0.6090 - val_acc: 0.6903 - 82ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.6418 - mae: 0.6164 - acc: 0.6890 - val_loss: 0.5938 - val_mae: 0.6009 - val_acc: 0.6980 - 76ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "36/36 - 1s - loss: 1.0033 - mae: 0.8033 - acc: 0.3646 - val_loss: 0.9093 - val_mae: 0.7671 - val_acc: 0.4052 - 1s/epoch - 35ms/step\n", - "Epoch 2/5\n", - "36/36 - 0s - loss: 0.9372 - mae: 0.7647 - acc: 0.4248 - val_loss: 0.8837 - val_mae: 0.7517 - val_acc: 0.4499 - 98ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "36/36 - 0s - loss: 0.9165 - mae: 0.7552 - acc: 0.4537 - val_loss: 0.9025 - val_mae: 0.7572 - val_acc: 0.4407 - 106ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "36/36 - 0s - loss: 0.9030 - mae: 0.7499 - acc: 0.4576 - val_loss: 0.8460 - val_mae: 0.7319 - val_acc: 0.4607 - 108ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "36/36 - 0s - loss: 0.8851 - mae: 0.7417 - acc: 0.4815 - val_loss: 0.8250 - val_mae: 0.7217 - val_acc: 0.4761 - 109ms/epoch - 3ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2007/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2007/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model344225767347181905/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model344225767347181905/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 931us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model6495096863580634438/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model6495096863580634438/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 739us/step\n", - "Epoch 1/5\n", - "41/41 - 1s - loss: 1.0722 - mae: 0.8184 - acc: 0.4436 - val_loss: 0.9332 - val_mae: 0.7693 - val_acc: 0.5226 - 668ms/epoch - 16ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 0.9159 - mae: 0.7522 - acc: 0.5884 - val_loss: 0.8156 - val_mae: 0.7126 - val_acc: 0.6349 - 60ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.8094 - mae: 0.7023 - acc: 0.6341 - val_loss: 0.7317 - val_mae: 0.6717 - val_acc: 0.6521 - 67ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.7344 - mae: 0.6694 - acc: 0.6521 - val_loss: 0.6762 - val_mae: 0.6443 - val_acc: 0.6693 - 68ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.6890 - mae: 0.6478 - acc: 0.6591 - val_loss: 0.6422 - val_mae: 0.6263 - val_acc: 0.6817 - 68ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 0.9903 - mae: 0.8029 - acc: 0.5521 - val_loss: 0.8598 - val_mae: 0.7451 - val_acc: 0.5663 - 2s/epoch - 151ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.8582 - mae: 0.7436 - acc: 0.5732 - val_loss: 0.8076 - val_mae: 0.7294 - val_acc: 0.5850 - 54ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.8085 - mae: 0.7179 - acc: 0.5939 - val_loss: 0.7663 - val_mae: 0.6972 - val_acc: 0.5975 - 55ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.7749 - mae: 0.7009 - acc: 0.6142 - val_loss: 0.7315 - val_mae: 0.6802 - val_acc: 0.6178 - 79ms/epoch - 8ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.7538 - mae: 0.6893 - acc: 0.6255 - val_loss: 0.7194 - val_mae: 0.6704 - val_acc: 0.6178 - 61ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.7784 - mae: 0.7128 - acc: 0.5537 - val_loss: 0.7051 - val_mae: 0.6698 - val_acc: 0.6115 - 850ms/epoch - 106ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.6982 - mae: 0.6593 - acc: 0.6357 - val_loss: 0.6416 - val_mae: 0.6323 - val_acc: 0.6225 - 34ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.6552 - mae: 0.6335 - acc: 0.6427 - val_loss: 0.6264 - val_mae: 0.6222 - val_acc: 0.6412 - 35ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.6420 - mae: 0.6271 - acc: 0.6521 - val_loss: 0.6155 - val_mae: 0.6127 - val_acc: 0.6459 - 37ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6320 - mae: 0.6178 - acc: 0.6552 - val_loss: 0.6042 - val_mae: 0.6074 - val_acc: 0.6474 - 36ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "25/25 - 1s - loss: 0.9878 - mae: 0.8075 - acc: 0.5619 - val_loss: 0.8832 - val_mae: 0.7700 - val_acc: 0.5616 - 872ms/epoch - 35ms/step\n", - "Epoch 2/5\n", - "25/25 - 0s - loss: 0.8653 - mae: 0.7548 - acc: 0.5826 - val_loss: 0.7852 - val_mae: 0.7204 - val_acc: 0.5819 - 66ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "25/25 - 0s - loss: 0.7804 - mae: 0.7118 - acc: 0.5927 - val_loss: 0.7433 - val_mae: 0.6977 - val_acc: 0.5944 - 97ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "25/25 - 0s - loss: 0.7498 - mae: 0.6950 - acc: 0.6037 - val_loss: 0.7216 - val_mae: 0.6856 - val_acc: 0.6100 - 68ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "25/25 - 0s - loss: 0.7336 - mae: 0.6854 - acc: 0.6123 - val_loss: 0.7087 - val_mae: 0.6789 - val_acc: 0.6115 - 65ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "15/15 - 1s - loss: 0.9828 - mae: 0.8030 - acc: 0.3995 - val_loss: 0.8677 - val_mae: 0.7605 - val_acc: 0.6022 - 1s/epoch - 75ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.8386 - mae: 0.7390 - acc: 0.6306 - val_loss: 0.7283 - val_mae: 0.6871 - val_acc: 0.6459 - 49ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.7074 - mae: 0.6723 - acc: 0.6634 - val_loss: 0.6366 - val_mae: 0.6302 - val_acc: 0.6661 - 53ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.6497 - mae: 0.6348 - acc: 0.6626 - val_loss: 0.5959 - val_mae: 0.6032 - val_acc: 0.6661 - 51ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.6121 - mae: 0.6146 - acc: 0.6720 - val_loss: 0.5684 - val_mae: 0.5887 - val_acc: 0.6864 - 52ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 1.0557 - mae: 0.8424 - acc: 0.3514 - val_loss: 0.9897 - val_mae: 0.8192 - val_acc: 0.3448 - 1s/epoch - 104ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 1.0206 - mae: 0.8266 - acc: 0.3444 - val_loss: 0.9588 - val_mae: 0.8051 - val_acc: 0.3448 - 35ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.9882 - mae: 0.8126 - acc: 0.3549 - val_loss: 0.9270 - val_mae: 0.7905 - val_acc: 0.3744 - 57ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.9519 - mae: 0.7974 - acc: 0.3831 - val_loss: 0.8899 - val_mae: 0.7746 - val_acc: 0.3822 - 47ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.9072 - mae: 0.7788 - acc: 0.3834 - val_loss: 0.8474 - val_mae: 0.7552 - val_acc: 0.3838 - 41ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "38/38 - 1s - loss: 1.0304 - mae: 0.8213 - acc: 0.3495 - val_loss: 0.9151 - val_mae: 0.7745 - val_acc: 0.4119 - 1s/epoch - 28ms/step\n", - "Epoch 2/5\n", - "38/38 - 0s - loss: 0.9160 - mae: 0.7619 - acc: 0.4795 - val_loss: 0.8165 - val_mae: 0.7217 - val_acc: 0.6412 - 70ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "38/38 - 0s - loss: 0.8269 - mae: 0.7155 - acc: 0.6337 - val_loss: 0.7459 - val_mae: 0.6831 - val_acc: 0.6381 - 72ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "38/38 - 0s - loss: 0.7753 - mae: 0.6920 - acc: 0.6353 - val_loss: 0.7153 - val_mae: 0.6676 - val_acc: 0.6459 - 69ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "38/38 - 0s - loss: 0.7477 - mae: 0.6792 - acc: 0.6380 - val_loss: 0.7026 - val_mae: 0.6618 - val_acc: 0.6427 - 74ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.9575 - mae: 0.7971 - acc: 0.4143 - val_loss: 0.7847 - val_mae: 0.7253 - val_acc: 0.5538 - 1s/epoch - 167ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.7536 - mae: 0.6962 - acc: 0.5888 - val_loss: 0.6934 - val_mae: 0.6605 - val_acc: 0.6115 - 51ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.6764 - mae: 0.6447 - acc: 0.6212 - val_loss: 0.6482 - val_mae: 0.6354 - val_acc: 0.6318 - 50ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.6474 - mae: 0.6285 - acc: 0.6248 - val_loss: 0.6155 - val_mae: 0.6165 - val_acc: 0.6303 - 54ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6218 - mae: 0.6093 - acc: 0.6365 - val_loss: 0.6063 - val_mae: 0.6127 - val_acc: 0.6349 - 55ms/epoch - 7ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 1.0310 - mae: 0.8263 - acc: 0.3483 - val_loss: 0.9624 - val_mae: 0.8054 - val_acc: 0.3448 - 1s/epoch - 126ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.9807 - mae: 0.8082 - acc: 0.3487 - val_loss: 0.8896 - val_mae: 0.7758 - val_acc: 0.3775 - 40ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.8877 - mae: 0.7705 - acc: 0.3955 - val_loss: 0.8021 - val_mae: 0.7309 - val_acc: 0.3963 - 43ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.8078 - mae: 0.7267 - acc: 0.5053 - val_loss: 0.7418 - val_mae: 0.6957 - val_acc: 0.6147 - 42ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.7500 - mae: 0.6922 - acc: 0.5959 - val_loss: 0.6824 - val_mae: 0.6532 - val_acc: 0.6287 - 45ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 1.0504 - mae: 0.8256 - acc: 0.4690 - val_loss: 0.8288 - val_mae: 0.7359 - val_acc: 0.6256 - 1s/epoch - 165ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.7705 - mae: 0.6949 - acc: 0.6353 - val_loss: 0.6755 - val_mae: 0.6507 - val_acc: 0.6271 - 39ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.6580 - mae: 0.6334 - acc: 0.6458 - val_loss: 0.6079 - val_mae: 0.6103 - val_acc: 0.6381 - 40ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.6147 - mae: 0.6067 - acc: 0.6408 - val_loss: 0.5783 - val_mae: 0.5876 - val_acc: 0.6412 - 41ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.5862 - mae: 0.5931 - acc: 0.6685 - val_loss: 0.5723 - val_mae: 0.5880 - val_acc: 0.6474 - 46ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "18/18 - 1s - loss: 0.7908 - mae: 0.7045 - acc: 0.5845 - val_loss: 0.6570 - val_mae: 0.6427 - val_acc: 0.6396 - 969ms/epoch - 54ms/step\n", - "Epoch 2/5\n", - "18/18 - 0s - loss: 0.6738 - mae: 0.6416 - acc: 0.6369 - val_loss: 0.6157 - val_mae: 0.6123 - val_acc: 0.6474 - 62ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "18/18 - 0s - loss: 0.6350 - mae: 0.6177 - acc: 0.6591 - val_loss: 0.6003 - val_mae: 0.6015 - val_acc: 0.6615 - 64ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "18/18 - 0s - loss: 0.6151 - mae: 0.6062 - acc: 0.6658 - val_loss: 0.5835 - val_mae: 0.5889 - val_acc: 0.6708 - 70ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "18/18 - 0s - loss: 0.5998 - mae: 0.5987 - acc: 0.6740 - val_loss: 0.5704 - val_mae: 0.5798 - val_acc: 0.6755 - 72ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2012/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2012/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model9462341100123940014/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model9462341100123940014/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "9/9 [==============================] - 0s 951us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model1868892643265657863/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model1868892643265657863/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 919us/step\n", - "Epoch 1/5\n", - "38/38 - 1s - loss: 1.1299 - mae: 0.8501 - acc: 0.4996 - val_loss: 0.9584 - val_mae: 0.7875 - val_acc: 0.5042 - 733ms/epoch - 19ms/step\n", - "Epoch 2/5\n", - "38/38 - 0s - loss: 0.9864 - mae: 0.7816 - acc: 0.5349 - val_loss: 0.8867 - val_mae: 0.7517 - val_acc: 0.5294 - 63ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "38/38 - 0s - loss: 0.9304 - mae: 0.7545 - acc: 0.5412 - val_loss: 0.8457 - val_mae: 0.7303 - val_acc: 0.5193 - 67ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "38/38 - 0s - loss: 0.8934 - mae: 0.7369 - acc: 0.5563 - val_loss: 0.8145 - val_mae: 0.7145 - val_acc: 0.5294 - 71ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "38/38 - 0s - loss: 0.8628 - mae: 0.7231 - acc: 0.5631 - val_loss: 0.7860 - val_mae: 0.6998 - val_acc: 0.5479 - 68ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.9812 - mae: 0.7867 - acc: 0.5000 - val_loss: 0.8271 - val_mae: 0.7213 - val_acc: 0.5748 - 1s/epoch - 106ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.8476 - mae: 0.7167 - acc: 0.5807 - val_loss: 0.7066 - val_mae: 0.6596 - val_acc: 0.6387 - 40ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.7629 - mae: 0.6793 - acc: 0.6161 - val_loss: 0.6419 - val_mae: 0.6222 - val_acc: 0.6622 - 40ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.7016 - mae: 0.6480 - acc: 0.6514 - val_loss: 0.6097 - val_mae: 0.6060 - val_acc: 0.6756 - 41ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6687 - mae: 0.6320 - acc: 0.6665 - val_loss: 0.5906 - val_mae: 0.5979 - val_acc: 0.6807 - 43ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "7/7 - 1s - loss: 1.0457 - mae: 0.8204 - acc: 0.3595 - val_loss: 0.9065 - val_mae: 0.7746 - val_acc: 0.4185 - 713ms/epoch - 102ms/step\n", - "Epoch 2/5\n", - "7/7 - 0s - loss: 0.9209 - mae: 0.7609 - acc: 0.4891 - val_loss: 0.8147 - val_mae: 0.7281 - val_acc: 0.5513 - 35ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "7/7 - 0s - loss: 0.8292 - mae: 0.7149 - acc: 0.5656 - val_loss: 0.7352 - val_mae: 0.6849 - val_acc: 0.5832 - 36ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "7/7 - 0s - loss: 0.7557 - mae: 0.6810 - acc: 0.5963 - val_loss: 0.6950 - val_mae: 0.6626 - val_acc: 0.6050 - 33ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "7/7 - 0s - loss: 0.7203 - mae: 0.6641 - acc: 0.6135 - val_loss: 0.6697 - val_mae: 0.6475 - val_acc: 0.6202 - 35ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 1.0126 - mae: 0.7991 - acc: 0.5071 - val_loss: 0.9081 - val_mae: 0.7629 - val_acc: 0.6252 - 971ms/epoch - 97ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.9741 - mae: 0.7744 - acc: 0.6034 - val_loss: 0.8983 - val_mae: 0.7576 - val_acc: 0.6118 - 45ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.9618 - mae: 0.7689 - acc: 0.5992 - val_loss: 0.8849 - val_mae: 0.7530 - val_acc: 0.6101 - 49ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.9439 - mae: 0.7616 - acc: 0.6009 - val_loss: 0.8667 - val_mae: 0.7449 - val_acc: 0.6067 - 59ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.9224 - mae: 0.7536 - acc: 0.5967 - val_loss: 0.8433 - val_mae: 0.7357 - val_acc: 0.5966 - 51ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.8610 - mae: 0.7323 - acc: 0.5715 - val_loss: 0.6759 - val_mae: 0.6494 - val_acc: 0.6588 - 1s/epoch - 135ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.7257 - mae: 0.6626 - acc: 0.6396 - val_loss: 0.6313 - val_mae: 0.6162 - val_acc: 0.6588 - 54ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.6695 - mae: 0.6265 - acc: 0.6539 - val_loss: 0.6190 - val_mae: 0.6119 - val_acc: 0.6807 - 57ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.6461 - mae: 0.6165 - acc: 0.6661 - val_loss: 0.5701 - val_mae: 0.5806 - val_acc: 0.6840 - 57ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6232 - mae: 0.6089 - acc: 0.6665 - val_loss: 0.5728 - val_mae: 0.5847 - val_acc: 0.6891 - 57ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "18/18 - 2s - loss: 0.9085 - mae: 0.7603 - acc: 0.4756 - val_loss: 0.7083 - val_mae: 0.6723 - val_acc: 0.6050 - 2s/epoch - 86ms/step\n", - "Epoch 2/5\n", - "18/18 - 0s - loss: 0.7526 - mae: 0.6763 - acc: 0.5988 - val_loss: 0.6327 - val_mae: 0.6306 - val_acc: 0.6202 - 66ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "18/18 - 0s - loss: 0.6932 - mae: 0.6458 - acc: 0.6304 - val_loss: 0.5969 - val_mae: 0.6098 - val_acc: 0.6471 - 68ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "18/18 - 0s - loss: 0.6601 - mae: 0.6298 - acc: 0.6413 - val_loss: 0.5809 - val_mae: 0.5993 - val_acc: 0.6538 - 69ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "18/18 - 0s - loss: 0.6378 - mae: 0.6192 - acc: 0.6400 - val_loss: 0.5731 - val_mae: 0.5968 - val_acc: 0.6706 - 69ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "39/39 - 1s - loss: 0.6719 - mae: 0.6390 - acc: 0.6316 - val_loss: 0.5432 - val_mae: 0.5759 - val_acc: 0.6924 - 1s/epoch - 26ms/step\n", - "Epoch 2/5\n", - "39/39 - 0s - loss: 0.5666 - mae: 0.5826 - acc: 0.6888 - val_loss: 0.5090 - val_mae: 0.5473 - val_acc: 0.7193 - 78ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "39/39 - 0s - loss: 0.5512 - mae: 0.5720 - acc: 0.6976 - val_loss: 0.5243 - val_mae: 0.5558 - val_acc: 0.6908 - 79ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "39/39 - 0s - loss: 0.5498 - mae: 0.5739 - acc: 0.6951 - val_loss: 0.5025 - val_mae: 0.5475 - val_acc: 0.7076 - 76ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "39/39 - 0s - loss: 0.5496 - mae: 0.5718 - acc: 0.6951 - val_loss: 0.5019 - val_mae: 0.5498 - val_acc: 0.6992 - 78ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 1.0579 - mae: 0.8318 - acc: 0.2822 - val_loss: 0.9724 - val_mae: 0.8130 - val_acc: 0.3714 - 1s/epoch - 103ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 1.0042 - mae: 0.8107 - acc: 0.3814 - val_loss: 0.8839 - val_mae: 0.7732 - val_acc: 0.5664 - 46ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.8965 - mae: 0.7669 - acc: 0.5622 - val_loss: 0.8117 - val_mae: 0.7371 - val_acc: 0.5916 - 50ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.8365 - mae: 0.7298 - acc: 0.5702 - val_loss: 0.7479 - val_mae: 0.6986 - val_acc: 0.5966 - 48ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.7991 - mae: 0.7087 - acc: 0.5837 - val_loss: 0.7262 - val_mae: 0.6833 - val_acc: 0.6101 - 50ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.9194 - mae: 0.7468 - acc: 0.5639 - val_loss: 0.7315 - val_mae: 0.6733 - val_acc: 0.6303 - 1s/epoch - 130ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.7583 - mae: 0.6776 - acc: 0.6123 - val_loss: 0.6503 - val_mae: 0.6308 - val_acc: 0.6487 - 47ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.6828 - mae: 0.6387 - acc: 0.6337 - val_loss: 0.6024 - val_mae: 0.6052 - val_acc: 0.6571 - 43ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.6315 - mae: 0.6087 - acc: 0.6451 - val_loss: 0.5787 - val_mae: 0.5889 - val_acc: 0.6555 - 43ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6107 - mae: 0.6000 - acc: 0.6548 - val_loss: 0.5632 - val_mae: 0.5826 - val_acc: 0.6773 - 45ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "7/7 - 1s - loss: 1.0553 - mae: 0.8241 - acc: 0.4958 - val_loss: 0.8714 - val_mae: 0.7566 - val_acc: 0.6336 - 1s/epoch - 210ms/step\n", - "Epoch 2/5\n", - "7/7 - 0s - loss: 0.8638 - mae: 0.7309 - acc: 0.6405 - val_loss: 0.7193 - val_mae: 0.6714 - val_acc: 0.6790 - 36ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "7/7 - 0s - loss: 0.7364 - mae: 0.6646 - acc: 0.6569 - val_loss: 0.6322 - val_mae: 0.6182 - val_acc: 0.6739 - 53ms/epoch - 8ms/step\n", - "Epoch 4/5\n", - "7/7 - 0s - loss: 0.6812 - mae: 0.6393 - acc: 0.6569 - val_loss: 0.6002 - val_mae: 0.6024 - val_acc: 0.6773 - 38ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "7/7 - 0s - loss: 0.6527 - mae: 0.6260 - acc: 0.6648 - val_loss: 0.5796 - val_mae: 0.5873 - val_acc: 0.6874 - 39ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 1.0098 - mae: 0.7838 - acc: 0.5080 - val_loss: 0.7765 - val_mae: 0.6973 - val_acc: 0.6588 - 744ms/epoch - 53ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.7778 - mae: 0.6842 - acc: 0.6430 - val_loss: 0.6479 - val_mae: 0.6272 - val_acc: 0.6689 - 43ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.6778 - mae: 0.6344 - acc: 0.6526 - val_loss: 0.6010 - val_mae: 0.6006 - val_acc: 0.6756 - 40ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.6401 - mae: 0.6112 - acc: 0.6724 - val_loss: 0.5724 - val_mae: 0.5835 - val_acc: 0.6874 - 39ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.6250 - mae: 0.6064 - acc: 0.6754 - val_loss: 0.5591 - val_mae: 0.5764 - val_acc: 0.6924 - 43ms/epoch - 3ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2015/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/all_years/optimized_model_2015/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model13358096588550450170/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model13358096588550450170/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "16/16 [==============================] - 0s 816us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model4105115006160258516/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model4105115006160258516/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 762us/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/best_optimized_model_2015/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi2/best_optimized_model_2015/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "=========================================\n", - " GPI 2 done\n", - " aprior performance(RMSE): \n", - "[[0.3231 ]\n", - " [0.04972]\n", - " [0.23159]]\n", - "=========================================\n", - " post performance(RMSE): \n", - "[[0.74288]\n", - " [0.11502]\n", - " [0.14445]]\n", - "=========================================\n", - "Epoch 1/5\n", - "40/40 - 1s - loss: 1.3387 - mae: 0.9063 - acc: 0.3725 - val_loss: 1.0986 - val_mae: 0.8366 - val_acc: 0.3817 - 833ms/epoch - 21ms/step\n", - "Epoch 2/5\n", - "40/40 - 0s - loss: 1.0115 - mae: 0.8055 - acc: 0.4061 - val_loss: 0.9085 - val_mae: 0.7637 - val_acc: 0.5426 - 72ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "40/40 - 0s - loss: 0.8667 - mae: 0.7484 - acc: 0.6144 - val_loss: 0.8109 - val_mae: 0.7197 - val_acc: 0.6341 - 67ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "40/40 - 0s - loss: 0.7839 - mae: 0.7103 - acc: 0.6480 - val_loss: 0.7451 - val_mae: 0.6887 - val_acc: 0.6404 - 73ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "40/40 - 0s - loss: 0.7264 - mae: 0.6815 - acc: 0.6555 - val_loss: 0.6959 - val_mae: 0.6641 - val_acc: 0.6577 - 67ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.7154 - mae: 0.6678 - acc: 0.6085 - val_loss: 0.6080 - val_mae: 0.6051 - val_acc: 0.6909 - 1s/epoch - 92ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.5867 - mae: 0.5959 - acc: 0.6918 - val_loss: 0.5625 - val_mae: 0.5817 - val_acc: 0.7129 - 51ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.5535 - mae: 0.5769 - acc: 0.7064 - val_loss: 0.5423 - val_mae: 0.5684 - val_acc: 0.7066 - 52ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.5369 - mae: 0.5666 - acc: 0.7143 - val_loss: 0.5341 - val_mae: 0.5612 - val_acc: 0.7145 - 54ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.5281 - mae: 0.5613 - acc: 0.7182 - val_loss: 0.5244 - val_mae: 0.5543 - val_acc: 0.7161 - 54ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "35/35 - 1s - loss: 0.6203 - mae: 0.6096 - acc: 0.6756 - val_loss: 0.5520 - val_mae: 0.5715 - val_acc: 0.7208 - 1s/epoch - 29ms/step\n", - "Epoch 2/5\n", - "35/35 - 0s - loss: 0.5450 - mae: 0.5655 - acc: 0.7099 - val_loss: 0.4926 - val_mae: 0.5348 - val_acc: 0.7287 - 78ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "35/35 - 0s - loss: 0.4954 - mae: 0.5381 - acc: 0.7399 - val_loss: 0.4650 - val_mae: 0.5245 - val_acc: 0.7382 - 86ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "35/35 - 0s - loss: 0.4585 - mae: 0.5147 - acc: 0.7498 - val_loss: 0.4396 - val_mae: 0.5035 - val_acc: 0.7808 - 83ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "35/35 - 0s - loss: 0.4569 - mae: 0.5130 - acc: 0.7541 - val_loss: 0.4378 - val_mae: 0.5038 - val_acc: 0.7666 - 84ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "69/69 - 1s - loss: 0.8729 - mae: 0.7557 - acc: 0.4984 - val_loss: 0.7041 - val_mae: 0.6665 - val_acc: 0.6388 - 927ms/epoch - 13ms/step\n", - "Epoch 2/5\n", - "69/69 - 0s - loss: 0.6798 - mae: 0.6518 - acc: 0.6350 - val_loss: 0.6630 - val_mae: 0.6411 - val_acc: 0.6467 - 103ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "69/69 - 0s - loss: 0.6569 - mae: 0.6392 - acc: 0.6452 - val_loss: 0.6504 - val_mae: 0.6355 - val_acc: 0.6625 - 104ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "69/69 - 0s - loss: 0.6432 - mae: 0.6312 - acc: 0.6523 - val_loss: 0.6321 - val_mae: 0.6253 - val_acc: 0.6640 - 108ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "69/69 - 0s - loss: 0.6289 - mae: 0.6241 - acc: 0.6523 - val_loss: 0.6240 - val_mae: 0.6210 - val_acc: 0.6830 - 111ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "15/15 - 1s - loss: 0.7869 - mae: 0.7117 - acc: 0.5730 - val_loss: 0.7051 - val_mae: 0.6588 - val_acc: 0.6688 - 926ms/epoch - 62ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.6729 - mae: 0.6518 - acc: 0.6500 - val_loss: 0.6491 - val_mae: 0.6297 - val_acc: 0.6751 - 47ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.6477 - mae: 0.6335 - acc: 0.6547 - val_loss: 0.6260 - val_mae: 0.6122 - val_acc: 0.6845 - 51ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.6303 - mae: 0.6230 - acc: 0.6630 - val_loss: 0.6150 - val_mae: 0.6087 - val_acc: 0.6830 - 48ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.6200 - mae: 0.6160 - acc: 0.6650 - val_loss: 0.6074 - val_mae: 0.6023 - val_acc: 0.6845 - 71ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "37/37 - 1s - loss: 0.8904 - mae: 0.7724 - acc: 0.5620 - val_loss: 0.7798 - val_mae: 0.7129 - val_acc: 0.6073 - 1s/epoch - 32ms/step\n", - "Epoch 2/5\n", - "37/37 - 0s - loss: 0.7353 - mae: 0.6871 - acc: 0.6140 - val_loss: 0.6892 - val_mae: 0.6574 - val_acc: 0.6356 - 68ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "37/37 - 0s - loss: 0.6775 - mae: 0.6487 - acc: 0.6275 - val_loss: 0.6707 - val_mae: 0.6427 - val_acc: 0.6435 - 70ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "37/37 - 0s - loss: 0.6573 - mae: 0.6339 - acc: 0.6350 - val_loss: 0.6532 - val_mae: 0.6317 - val_acc: 0.6483 - 77ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "37/37 - 0s - loss: 0.6429 - mae: 0.6255 - acc: 0.6460 - val_loss: 0.6367 - val_mae: 0.6200 - val_acc: 0.6514 - 72ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "16/16 - 1s - loss: 1.1940 - mae: 0.9016 - acc: 0.2245 - val_loss: 1.0845 - val_mae: 0.8534 - val_acc: 0.2192 - 1s/epoch - 83ms/step\n", - "Epoch 2/5\n", - "16/16 - 0s - loss: 1.0699 - mae: 0.8526 - acc: 0.2238 - val_loss: 0.9976 - val_mae: 0.8160 - val_acc: 0.2208 - 36ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "16/16 - 0s - loss: 0.9932 - mae: 0.8191 - acc: 0.2218 - val_loss: 0.9510 - val_mae: 0.7944 - val_acc: 0.2177 - 36ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "16/16 - 0s - loss: 0.9501 - mae: 0.7986 - acc: 0.2194 - val_loss: 0.9188 - val_mae: 0.7788 - val_acc: 0.2177 - 37ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "16/16 - 0s - loss: 0.9176 - mae: 0.7819 - acc: 0.2210 - val_loss: 0.8931 - val_mae: 0.7660 - val_acc: 0.2161 - 36ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "34/34 - 1s - loss: 0.9032 - mae: 0.7789 - acc: 0.6287 - val_loss: 0.7404 - val_mae: 0.6902 - val_acc: 0.6498 - 1s/epoch - 44ms/step\n", - "Epoch 2/5\n", - "34/34 - 0s - loss: 0.6514 - mae: 0.6351 - acc: 0.6401 - val_loss: 0.6158 - val_mae: 0.6161 - val_acc: 0.6514 - 78ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "34/34 - 0s - loss: 0.6092 - mae: 0.6106 - acc: 0.6610 - val_loss: 0.5976 - val_mae: 0.6040 - val_acc: 0.6735 - 83ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "34/34 - 0s - loss: 0.5965 - mae: 0.6017 - acc: 0.6772 - val_loss: 0.5922 - val_mae: 0.6007 - val_acc: 0.6767 - 80ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "34/34 - 0s - loss: 0.5894 - mae: 0.5972 - acc: 0.6839 - val_loss: 0.5842 - val_mae: 0.5948 - val_acc: 0.6798 - 80ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "8/8 - 2s - loss: 0.9532 - mae: 0.8044 - acc: 0.3465 - val_loss: 0.9021 - val_mae: 0.7784 - val_acc: 0.3360 - 2s/epoch - 248ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.8446 - mae: 0.7449 - acc: 0.5166 - val_loss: 0.7836 - val_mae: 0.7068 - val_acc: 0.6356 - 55ms/epoch - 7ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.7351 - mae: 0.6821 - acc: 0.6358 - val_loss: 0.6867 - val_mae: 0.6592 - val_acc: 0.6404 - 61ms/epoch - 8ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.6456 - mae: 0.6360 - acc: 0.6373 - val_loss: 0.6226 - val_mae: 0.6178 - val_acc: 0.6514 - 62ms/epoch - 8ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6111 - mae: 0.6116 - acc: 0.6480 - val_loss: 0.6073 - val_mae: 0.6052 - val_acc: 0.6672 - 63ms/epoch - 8ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.9451 - mae: 0.7978 - acc: 0.4254 - val_loss: 0.8638 - val_mae: 0.7566 - val_acc: 0.5426 - 853ms/epoch - 107ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.8440 - mae: 0.7477 - acc: 0.5841 - val_loss: 0.7817 - val_mae: 0.7137 - val_acc: 0.6215 - 59ms/epoch - 7ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.7691 - mae: 0.7072 - acc: 0.6287 - val_loss: 0.7206 - val_mae: 0.6786 - val_acc: 0.6325 - 37ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.7132 - mae: 0.6749 - acc: 0.6322 - val_loss: 0.6793 - val_mae: 0.6528 - val_acc: 0.6372 - 49ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6749 - mae: 0.6514 - acc: 0.6346 - val_loss: 0.6502 - val_mae: 0.6351 - val_acc: 0.6341 - 38ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "212/212 - 1s - loss: 0.6326 - mae: 0.6169 - acc: 0.6594 - val_loss: 0.5868 - val_mae: 0.5861 - val_acc: 0.6909 - 1s/epoch - 5ms/step\n", - "Epoch 2/5\n", - "212/212 - 0s - loss: 0.5721 - mae: 0.5817 - acc: 0.6961 - val_loss: 0.5441 - val_mae: 0.5635 - val_acc: 0.7114 - 316ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "212/212 - 0s - loss: 0.5359 - mae: 0.5627 - acc: 0.7044 - val_loss: 0.5264 - val_mae: 0.5610 - val_acc: 0.7050 - 291ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "212/212 - 0s - loss: 0.5148 - mae: 0.5504 - acc: 0.7167 - val_loss: 0.5221 - val_mae: 0.5552 - val_acc: 0.7035 - 297ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "212/212 - 0s - loss: 0.5046 - mae: 0.5432 - acc: 0.7147 - val_loss: 0.4951 - val_mae: 0.5364 - val_acc: 0.7350 - 318ms/epoch - 1ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2014/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2014/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model10555055312986646053/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model10555055312986646053/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "17/17 [==============================] - 0s 874us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model5001509716430592898/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model5001509716430592898/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "55/55 [==============================] - 0s 837us/step\n", - "Epoch 1/5\n", - "44/44 - 1s - loss: 1.0076 - mae: 0.8091 - acc: 0.2989 - val_loss: 0.8948 - val_mae: 0.7604 - val_acc: 0.4804 - 784ms/epoch - 18ms/step\n", - "Epoch 2/5\n", - "44/44 - 0s - loss: 0.8429 - mae: 0.7366 - acc: 0.5547 - val_loss: 0.8101 - val_mae: 0.7153 - val_acc: 0.5980 - 79ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "44/44 - 0s - loss: 0.7876 - mae: 0.7075 - acc: 0.6175 - val_loss: 0.7755 - val_mae: 0.6968 - val_acc: 0.6154 - 80ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "44/44 - 0s - loss: 0.7582 - mae: 0.6913 - acc: 0.6328 - val_loss: 0.7496 - val_mae: 0.6836 - val_acc: 0.6255 - 76ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "44/44 - 0s - loss: 0.7336 - mae: 0.6786 - acc: 0.6415 - val_loss: 0.7282 - val_mae: 0.6728 - val_acc: 0.6372 - 79ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.9353 - mae: 0.7892 - acc: 0.4788 - val_loss: 0.8595 - val_mae: 0.7523 - val_acc: 0.5791 - 845ms/epoch - 85ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.8393 - mae: 0.7429 - acc: 0.5841 - val_loss: 0.7720 - val_mae: 0.7093 - val_acc: 0.6081 - 40ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.7586 - mae: 0.7008 - acc: 0.6146 - val_loss: 0.6982 - val_mae: 0.6664 - val_acc: 0.6343 - 39ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.6930 - mae: 0.6626 - acc: 0.6364 - val_loss: 0.6489 - val_mae: 0.6348 - val_acc: 0.6546 - 39ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6497 - mae: 0.6363 - acc: 0.6589 - val_loss: 0.6152 - val_mae: 0.6116 - val_acc: 0.6821 - 37ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "19/19 - 1s - loss: 0.6980 - mae: 0.6602 - acc: 0.6397 - val_loss: 0.6059 - val_mae: 0.5962 - val_acc: 0.6821 - 1s/epoch - 69ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.5859 - mae: 0.5921 - acc: 0.6803 - val_loss: 0.5626 - val_mae: 0.5737 - val_acc: 0.7039 - 68ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.5587 - mae: 0.5752 - acc: 0.6923 - val_loss: 0.5419 - val_mae: 0.5615 - val_acc: 0.7039 - 70ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.5474 - mae: 0.5673 - acc: 0.6945 - val_loss: 0.5332 - val_mae: 0.5553 - val_acc: 0.7112 - 70ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.5346 - mae: 0.5611 - acc: 0.6974 - val_loss: 0.5298 - val_mae: 0.5540 - val_acc: 0.7097 - 70ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "197/197 - 2s - loss: 0.7350 - mae: 0.6789 - acc: 0.6062 - val_loss: 0.6463 - val_mae: 0.6285 - val_acc: 0.6647 - 2s/epoch - 10ms/step\n", - "Epoch 2/5\n", - "197/197 - 0s - loss: 0.6350 - mae: 0.6220 - acc: 0.6738 - val_loss: 0.6159 - val_mae: 0.6109 - val_acc: 0.6865 - 297ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "197/197 - 0s - loss: 0.6148 - mae: 0.6072 - acc: 0.6876 - val_loss: 0.5915 - val_mae: 0.5917 - val_acc: 0.7097 - 297ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "197/197 - 0s - loss: 0.6002 - mae: 0.5975 - acc: 0.6956 - val_loss: 0.5786 - val_mae: 0.5864 - val_acc: 0.7155 - 306ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "197/197 - 0s - loss: 0.5922 - mae: 0.5914 - acc: 0.7050 - val_loss: 0.5662 - val_mae: 0.5782 - val_acc: 0.7170 - 313ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "34/34 - 2s - loss: 0.7846 - mae: 0.7103 - acc: 0.5957 - val_loss: 0.7241 - val_mae: 0.6758 - val_acc: 0.6212 - 2s/epoch - 49ms/step\n", - "Epoch 2/5\n", - "34/34 - 0s - loss: 0.7001 - mae: 0.6617 - acc: 0.6346 - val_loss: 0.6779 - val_mae: 0.6477 - val_acc: 0.6430 - 118ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "34/34 - 0s - loss: 0.6732 - mae: 0.6466 - acc: 0.6386 - val_loss: 0.6541 - val_mae: 0.6326 - val_acc: 0.6473 - 130ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "34/34 - 0s - loss: 0.6584 - mae: 0.6364 - acc: 0.6411 - val_loss: 0.6387 - val_mae: 0.6211 - val_acc: 0.6459 - 127ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "34/34 - 0s - loss: 0.6431 - mae: 0.6274 - acc: 0.6517 - val_loss: 0.6285 - val_mae: 0.6143 - val_acc: 0.6430 - 155ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "49/49 - 1s - loss: 0.6803 - mae: 0.6534 - acc: 0.6422 - val_loss: 0.6506 - val_mae: 0.6249 - val_acc: 0.6502 - 1s/epoch - 27ms/step\n", - "Epoch 2/5\n", - "49/49 - 0s - loss: 0.6052 - mae: 0.6074 - acc: 0.6538 - val_loss: 0.5931 - val_mae: 0.5938 - val_acc: 0.6691 - 104ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "49/49 - 0s - loss: 0.5871 - mae: 0.5947 - acc: 0.6640 - val_loss: 0.5888 - val_mae: 0.5919 - val_acc: 0.6662 - 106ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "49/49 - 0s - loss: 0.5756 - mae: 0.5860 - acc: 0.6673 - val_loss: 0.5849 - val_mae: 0.5902 - val_acc: 0.6676 - 103ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "49/49 - 0s - loss: 0.5699 - mae: 0.5812 - acc: 0.6695 - val_loss: 0.5610 - val_mae: 0.5708 - val_acc: 0.6821 - 104ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "35/35 - 1s - loss: 0.6878 - mae: 0.6584 - acc: 0.6142 - val_loss: 0.6130 - val_mae: 0.6080 - val_acc: 0.6531 - 1s/epoch - 40ms/step\n", - "Epoch 2/5\n", - "35/35 - 0s - loss: 0.6012 - mae: 0.6051 - acc: 0.6578 - val_loss: 0.5873 - val_mae: 0.5908 - val_acc: 0.6691 - 80ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "35/35 - 0s - loss: 0.5718 - mae: 0.5863 - acc: 0.6716 - val_loss: 0.5639 - val_mae: 0.5743 - val_acc: 0.7054 - 76ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "35/35 - 0s - loss: 0.5462 - mae: 0.5707 - acc: 0.6974 - val_loss: 0.5456 - val_mae: 0.5634 - val_acc: 0.7300 - 75ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "35/35 - 0s - loss: 0.5278 - mae: 0.5605 - acc: 0.7076 - val_loss: 0.5250 - val_mae: 0.5527 - val_acc: 0.7213 - 73ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.7401 - mae: 0.6821 - acc: 0.5830 - val_loss: 0.6248 - val_mae: 0.6222 - val_acc: 0.6880 - 1s/epoch - 79ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.5787 - mae: 0.5936 - acc: 0.6942 - val_loss: 0.5500 - val_mae: 0.5727 - val_acc: 0.7271 - 52ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.5413 - mae: 0.5699 - acc: 0.7105 - val_loss: 0.5236 - val_mae: 0.5556 - val_acc: 0.7286 - 52ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.5235 - mae: 0.5592 - acc: 0.7178 - val_loss: 0.5163 - val_mae: 0.5513 - val_acc: 0.7373 - 52ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5090 - mae: 0.5509 - acc: 0.7232 - val_loss: 0.5106 - val_mae: 0.5468 - val_acc: 0.7417 - 56ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "27/27 - 1s - loss: 0.9821 - mae: 0.8065 - acc: 0.5321 - val_loss: 0.8288 - val_mae: 0.7356 - val_acc: 0.6343 - 904ms/epoch - 33ms/step\n", - "Epoch 2/5\n", - "27/27 - 0s - loss: 0.7424 - mae: 0.6889 - acc: 0.6564 - val_loss: 0.6296 - val_mae: 0.6249 - val_acc: 0.6909 - 51ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "27/27 - 0s - loss: 0.5844 - mae: 0.5972 - acc: 0.6774 - val_loss: 0.5559 - val_mae: 0.5724 - val_acc: 0.6996 - 52ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "27/27 - 0s - loss: 0.5418 - mae: 0.5672 - acc: 0.6945 - val_loss: 0.5305 - val_mae: 0.5573 - val_acc: 0.7257 - 67ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "27/27 - 0s - loss: 0.5250 - mae: 0.5564 - acc: 0.7058 - val_loss: 0.5144 - val_mae: 0.5478 - val_acc: 0.7402 - 53ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "197/197 - 2s - loss: 0.8595 - mae: 0.7510 - acc: 0.5016 - val_loss: 0.6751 - val_mae: 0.6466 - val_acc: 0.6430 - 2s/epoch - 9ms/step\n", - "Epoch 2/5\n", - "197/197 - 0s - loss: 0.6110 - mae: 0.6092 - acc: 0.6517 - val_loss: 0.5840 - val_mae: 0.5887 - val_acc: 0.6618 - 292ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "197/197 - 0s - loss: 0.5724 - mae: 0.5829 - acc: 0.6691 - val_loss: 0.5702 - val_mae: 0.5798 - val_acc: 0.6821 - 304ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "197/197 - 0s - loss: 0.5592 - mae: 0.5758 - acc: 0.6945 - val_loss: 0.5560 - val_mae: 0.5690 - val_acc: 0.6880 - 300ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "197/197 - 0s - loss: 0.5486 - mae: 0.5682 - acc: 0.6992 - val_loss: 0.5451 - val_mae: 0.5618 - val_acc: 0.7083 - 300ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "19/19 - 1s - loss: 0.9306 - mae: 0.7862 - acc: 0.4373 - val_loss: 0.8081 - val_mae: 0.7144 - val_acc: 0.5486 - 1s/epoch - 78ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.7487 - mae: 0.6897 - acc: 0.5845 - val_loss: 0.7233 - val_mae: 0.6756 - val_acc: 0.6226 - 82ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.6771 - mae: 0.6496 - acc: 0.6349 - val_loss: 0.6426 - val_mae: 0.6240 - val_acc: 0.6401 - 85ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.6328 - mae: 0.6205 - acc: 0.6633 - val_loss: 0.6255 - val_mae: 0.6184 - val_acc: 0.6720 - 94ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.6175 - mae: 0.6134 - acc: 0.6687 - val_loss: 0.6117 - val_mae: 0.6067 - val_acc: 0.6720 - 92ms/epoch - 5ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2011/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2011/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model9781188026247316514/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model9781188026247316514/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 996us/step\n", - "Epoch 1/5\n", - "43/43 - 1s - loss: 0.9397 - mae: 0.7854 - acc: 0.4074 - val_loss: 0.8679 - val_mae: 0.7536 - val_acc: 0.5175 - 599ms/epoch - 14ms/step\n", - "Epoch 2/5\n", - "43/43 - 0s - loss: 0.8148 - mae: 0.7247 - acc: 0.6199 - val_loss: 0.7522 - val_mae: 0.6915 - val_acc: 0.6283 - 59ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "43/43 - 0s - loss: 0.7024 - mae: 0.6615 - acc: 0.6520 - val_loss: 0.6536 - val_mae: 0.6325 - val_acc: 0.6356 - 61ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "43/43 - 0s - loss: 0.6263 - mae: 0.6161 - acc: 0.6589 - val_loss: 0.6042 - val_mae: 0.6035 - val_acc: 0.6443 - 62ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "43/43 - 0s - loss: 0.5912 - mae: 0.5968 - acc: 0.6644 - val_loss: 0.5803 - val_mae: 0.5904 - val_acc: 0.6487 - 65ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "16/16 - 1s - loss: 0.9708 - mae: 0.8084 - acc: 0.3564 - val_loss: 0.9353 - val_mae: 0.7933 - val_acc: 0.3586 - 1s/epoch - 77ms/step\n", - "Epoch 2/5\n", - "16/16 - 0s - loss: 0.9113 - mae: 0.7806 - acc: 0.4934 - val_loss: 0.8651 - val_mae: 0.7571 - val_acc: 0.5073 - 48ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "16/16 - 0s - loss: 0.8144 - mae: 0.7301 - acc: 0.5696 - val_loss: 0.7639 - val_mae: 0.7025 - val_acc: 0.5700 - 46ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "16/16 - 0s - loss: 0.7247 - mae: 0.6830 - acc: 0.5980 - val_loss: 0.7085 - val_mae: 0.6692 - val_acc: 0.5948 - 46ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "16/16 - 0s - loss: 0.6820 - mae: 0.6570 - acc: 0.6173 - val_loss: 0.6739 - val_mae: 0.6492 - val_acc: 0.6020 - 47ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.9494 - mae: 0.7954 - acc: 0.4082 - val_loss: 0.8775 - val_mae: 0.7574 - val_acc: 0.5525 - 1s/epoch - 94ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.8766 - mae: 0.7540 - acc: 0.5871 - val_loss: 0.8368 - val_mae: 0.7360 - val_acc: 0.6152 - 51ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.8259 - mae: 0.7284 - acc: 0.6115 - val_loss: 0.7784 - val_mae: 0.7065 - val_acc: 0.6341 - 52ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.7475 - mae: 0.6870 - acc: 0.6345 - val_loss: 0.7181 - val_mae: 0.6707 - val_acc: 0.6429 - 55ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.7004 - mae: 0.6591 - acc: 0.6432 - val_loss: 0.6914 - val_mae: 0.6579 - val_acc: 0.6472 - 54ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "27/27 - 1s - loss: 0.7781 - mae: 0.7002 - acc: 0.5390 - val_loss: 0.6101 - val_mae: 0.6093 - val_acc: 0.6341 - 711ms/epoch - 26ms/step\n", - "Epoch 2/5\n", - "27/27 - 0s - loss: 0.5909 - mae: 0.6009 - acc: 0.6574 - val_loss: 0.5741 - val_mae: 0.5888 - val_acc: 0.6706 - 51ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "27/27 - 0s - loss: 0.5575 - mae: 0.5788 - acc: 0.6764 - val_loss: 0.5429 - val_mae: 0.5665 - val_acc: 0.6851 - 50ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "27/27 - 0s - loss: 0.5369 - mae: 0.5636 - acc: 0.7026 - val_loss: 0.5277 - val_mae: 0.5592 - val_acc: 0.7157 - 56ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "27/27 - 0s - loss: 0.5265 - mae: 0.5575 - acc: 0.7172 - val_loss: 0.5170 - val_mae: 0.5521 - val_acc: 0.7201 - 52ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "15/15 - 1s - loss: 0.6752 - mae: 0.6462 - acc: 0.6279 - val_loss: 0.6044 - val_mae: 0.6086 - val_acc: 0.6720 - 895ms/epoch - 60ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.5707 - mae: 0.5860 - acc: 0.6891 - val_loss: 0.5411 - val_mae: 0.5699 - val_acc: 0.6924 - 47ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.5363 - mae: 0.5683 - acc: 0.7074 - val_loss: 0.5190 - val_mae: 0.5578 - val_acc: 0.6939 - 68ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.5137 - mae: 0.5555 - acc: 0.7168 - val_loss: 0.5120 - val_mae: 0.5499 - val_acc: 0.7099 - 66ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.5016 - mae: 0.5482 - acc: 0.7194 - val_loss: 0.5009 - val_mae: 0.5439 - val_acc: 0.7055 - 62ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9649 - mae: 0.8069 - acc: 0.3382 - val_loss: 0.8645 - val_mae: 0.7621 - val_acc: 0.5641 - 1s/epoch - 137ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7811 - mae: 0.7138 - acc: 0.5937 - val_loss: 0.7055 - val_mae: 0.6702 - val_acc: 0.6122 - 38ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6705 - mae: 0.6535 - acc: 0.6392 - val_loss: 0.6605 - val_mae: 0.6453 - val_acc: 0.6341 - 41ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6397 - mae: 0.6347 - acc: 0.6501 - val_loss: 0.6395 - val_mae: 0.6296 - val_acc: 0.6443 - 41ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6257 - mae: 0.6247 - acc: 0.6512 - val_loss: 0.6465 - val_mae: 0.6271 - val_acc: 0.6458 - 43ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "275/275 - 2s - loss: 0.6300 - mae: 0.6188 - acc: 0.6786 - val_loss: 0.5682 - val_mae: 0.5818 - val_acc: 0.6983 - 2s/epoch - 7ms/step\n", - "Epoch 2/5\n", - "275/275 - 0s - loss: 0.5750 - mae: 0.5866 - acc: 0.7023 - val_loss: 0.5856 - val_mae: 0.5942 - val_acc: 0.6968 - 423ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "275/275 - 0s - loss: 0.5741 - mae: 0.5884 - acc: 0.7015 - val_loss: 0.5594 - val_mae: 0.5733 - val_acc: 0.7347 - 439ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "275/275 - 0s - loss: 0.5552 - mae: 0.5767 - acc: 0.7066 - val_loss: 0.5495 - val_mae: 0.5691 - val_acc: 0.7172 - 439ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "275/275 - 0s - loss: 0.5464 - mae: 0.5717 - acc: 0.7201 - val_loss: 0.5425 - val_mae: 0.5649 - val_acc: 0.7143 - 469ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "16/16 - 1s - loss: 0.6639 - mae: 0.6357 - acc: 0.6695 - val_loss: 0.5722 - val_mae: 0.5827 - val_acc: 0.7172 - 1s/epoch - 70ms/step\n", - "Epoch 2/5\n", - "16/16 - 0s - loss: 0.5463 - mae: 0.5689 - acc: 0.7157 - val_loss: 0.5122 - val_mae: 0.5449 - val_acc: 0.7303 - 58ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "16/16 - 0s - loss: 0.5090 - mae: 0.5466 - acc: 0.7245 - val_loss: 0.4991 - val_mae: 0.5438 - val_acc: 0.7332 - 63ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "16/16 - 0s - loss: 0.5041 - mae: 0.5448 - acc: 0.7303 - val_loss: 0.4842 - val_mae: 0.5310 - val_acc: 0.7405 - 61ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "16/16 - 0s - loss: 0.4898 - mae: 0.5359 - acc: 0.7307 - val_loss: 0.4809 - val_mae: 0.5256 - val_acc: 0.7332 - 63ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.7199 - mae: 0.6764 - acc: 0.5871 - val_loss: 0.6555 - val_mae: 0.6394 - val_acc: 0.6589 - 1s/epoch - 78ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.6118 - mae: 0.6140 - acc: 0.6673 - val_loss: 0.6011 - val_mae: 0.6051 - val_acc: 0.6676 - 55ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.5745 - mae: 0.5879 - acc: 0.6840 - val_loss: 0.5858 - val_mae: 0.5880 - val_acc: 0.6749 - 57ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.5573 - mae: 0.5753 - acc: 0.6848 - val_loss: 0.5639 - val_mae: 0.5813 - val_acc: 0.6968 - 59ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5430 - mae: 0.5700 - acc: 0.6884 - val_loss: 0.5580 - val_mae: 0.5773 - val_acc: 0.6924 - 63ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.8164 - mae: 0.7336 - acc: 0.5579 - val_loss: 0.6298 - val_mae: 0.6228 - val_acc: 0.6676 - 1s/epoch - 110ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.5995 - mae: 0.6081 - acc: 0.6848 - val_loss: 0.5759 - val_mae: 0.5862 - val_acc: 0.7012 - 56ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.5580 - mae: 0.5799 - acc: 0.7081 - val_loss: 0.5590 - val_mae: 0.5773 - val_acc: 0.7070 - 55ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.5466 - mae: 0.5738 - acc: 0.7088 - val_loss: 0.5470 - val_mae: 0.5665 - val_acc: 0.7143 - 72ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.5354 - mae: 0.5677 - acc: 0.7136 - val_loss: 0.5597 - val_mae: 0.5638 - val_acc: 0.6968 - 55ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "25/25 - 1s - loss: 0.9072 - mae: 0.7785 - acc: 0.5536 - val_loss: 0.8276 - val_mae: 0.7425 - val_acc: 0.6166 - 1s/epoch - 51ms/step\n", - "Epoch 2/5\n", - "25/25 - 0s - loss: 0.7697 - mae: 0.7114 - acc: 0.6425 - val_loss: 0.6910 - val_mae: 0.6654 - val_acc: 0.6385 - 62ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "25/25 - 0s - loss: 0.6470 - mae: 0.6394 - acc: 0.6432 - val_loss: 0.6191 - val_mae: 0.6144 - val_acc: 0.6341 - 61ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "25/25 - 0s - loss: 0.6099 - mae: 0.6128 - acc: 0.6501 - val_loss: 0.6094 - val_mae: 0.6074 - val_acc: 0.6370 - 63ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "25/25 - 0s - loss: 0.6005 - mae: 0.6063 - acc: 0.6505 - val_loss: 0.5963 - val_mae: 0.5987 - val_acc: 0.6458 - 61ms/epoch - 2ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2010/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2010/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model11281408309383779947/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model11281408309383779947/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "9/9 [==============================] - 0s 941us/step\n", - "Epoch 1/5\n", - "43/43 - 1s - loss: 0.9455 - mae: 0.7938 - acc: 0.3993 - val_loss: 0.8859 - val_mae: 0.7662 - val_acc: 0.4810 - 704ms/epoch - 16ms/step\n", - "Epoch 2/5\n", - "43/43 - 0s - loss: 0.8424 - mae: 0.7408 - acc: 0.5788 - val_loss: 0.7903 - val_mae: 0.7128 - val_acc: 0.6181 - 73ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "43/43 - 0s - loss: 0.7538 - mae: 0.6905 - acc: 0.6350 - val_loss: 0.7181 - val_mae: 0.6714 - val_acc: 0.6312 - 76ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "43/43 - 0s - loss: 0.6969 - mae: 0.6592 - acc: 0.6522 - val_loss: 0.6678 - val_mae: 0.6447 - val_acc: 0.6414 - 75ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "43/43 - 0s - loss: 0.6572 - mae: 0.6384 - acc: 0.6599 - val_loss: 0.6320 - val_mae: 0.6252 - val_acc: 0.6560 - 73ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 1.0574 - mae: 0.8399 - acc: 0.2281 - val_loss: 0.9848 - val_mae: 0.8132 - val_acc: 0.2157 - 1s/epoch - 97ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.9733 - mae: 0.8060 - acc: 0.4193 - val_loss: 0.9228 - val_mae: 0.7851 - val_acc: 0.5379 - 42ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.9129 - mae: 0.7770 - acc: 0.5635 - val_loss: 0.8600 - val_mae: 0.7521 - val_acc: 0.6093 - 45ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.8469 - mae: 0.7413 - acc: 0.6292 - val_loss: 0.7970 - val_mae: 0.7120 - val_acc: 0.6429 - 43ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.7972 - mae: 0.7077 - acc: 0.6544 - val_loss: 0.7640 - val_mae: 0.6880 - val_acc: 0.6749 - 41ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "9/9 - 2s - loss: 0.9161 - mae: 0.7806 - acc: 0.5686 - val_loss: 0.7372 - val_mae: 0.6871 - val_acc: 0.6224 - 2s/epoch - 167ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.6935 - mae: 0.6571 - acc: 0.6328 - val_loss: 0.6615 - val_mae: 0.6375 - val_acc: 0.6399 - 52ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6476 - mae: 0.6322 - acc: 0.6376 - val_loss: 0.6445 - val_mae: 0.6263 - val_acc: 0.6399 - 51ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6313 - mae: 0.6202 - acc: 0.6420 - val_loss: 0.6334 - val_mae: 0.6179 - val_acc: 0.6429 - 63ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6188 - mae: 0.6126 - acc: 0.6449 - val_loss: 0.6252 - val_mae: 0.6128 - val_acc: 0.6414 - 77ms/epoch - 9ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.7640 - mae: 0.6958 - acc: 0.5803 - val_loss: 0.6130 - val_mae: 0.6105 - val_acc: 0.6676 - 1s/epoch - 130ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.6164 - mae: 0.6121 - acc: 0.6686 - val_loss: 0.5848 - val_mae: 0.5973 - val_acc: 0.6983 - 47ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.5905 - mae: 0.5943 - acc: 0.6854 - val_loss: 0.5670 - val_mae: 0.5807 - val_acc: 0.7012 - 46ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.5725 - mae: 0.5828 - acc: 0.6934 - val_loss: 0.5480 - val_mae: 0.5702 - val_acc: 0.7143 - 48ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5539 - mae: 0.5727 - acc: 0.7018 - val_loss: 0.5322 - val_mae: 0.5575 - val_acc: 0.7114 - 49ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9693 - mae: 0.8042 - acc: 0.5391 - val_loss: 0.8769 - val_mae: 0.7551 - val_acc: 0.5889 - 1s/epoch - 118ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.8421 - mae: 0.7380 - acc: 0.6073 - val_loss: 0.7538 - val_mae: 0.6908 - val_acc: 0.6108 - 44ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.7183 - mae: 0.6734 - acc: 0.6292 - val_loss: 0.6797 - val_mae: 0.6478 - val_acc: 0.6429 - 44ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6619 - mae: 0.6386 - acc: 0.6555 - val_loss: 0.6417 - val_mae: 0.6257 - val_acc: 0.6501 - 44ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6330 - mae: 0.6205 - acc: 0.6664 - val_loss: 0.6298 - val_mae: 0.6157 - val_acc: 0.6516 - 44ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.7598 - mae: 0.6904 - acc: 0.5978 - val_loss: 0.6453 - val_mae: 0.6248 - val_acc: 0.6531 - 1s/epoch - 104ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.6313 - mae: 0.6162 - acc: 0.6631 - val_loss: 0.6305 - val_mae: 0.6213 - val_acc: 0.6808 - 52ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.6017 - mae: 0.5997 - acc: 0.6854 - val_loss: 0.6024 - val_mae: 0.5997 - val_acc: 0.6939 - 56ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.5819 - mae: 0.5888 - acc: 0.6839 - val_loss: 0.5628 - val_mae: 0.5749 - val_acc: 0.7085 - 58ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.5598 - mae: 0.5757 - acc: 0.6985 - val_loss: 0.5573 - val_mae: 0.5758 - val_acc: 0.7157 - 59ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "24/24 - 1s - loss: 0.9854 - mae: 0.8129 - acc: 0.4372 - val_loss: 0.9508 - val_mae: 0.7997 - val_acc: 0.5219 - 958ms/epoch - 40ms/step\n", - "Epoch 2/5\n", - "24/24 - 0s - loss: 0.9387 - mae: 0.7905 - acc: 0.5591 - val_loss: 0.9011 - val_mae: 0.7751 - val_acc: 0.5496 - 52ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "24/24 - 0s - loss: 0.8812 - mae: 0.7614 - acc: 0.5839 - val_loss: 0.8488 - val_mae: 0.7473 - val_acc: 0.5816 - 55ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "24/24 - 0s - loss: 0.8278 - mae: 0.7337 - acc: 0.5996 - val_loss: 0.8070 - val_mae: 0.7251 - val_acc: 0.5977 - 54ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "24/24 - 0s - loss: 0.7871 - mae: 0.7117 - acc: 0.6080 - val_loss: 0.7703 - val_mae: 0.7061 - val_acc: 0.6006 - 52ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "15/15 - 1s - loss: 0.7108 - mae: 0.6619 - acc: 0.6405 - val_loss: 0.6094 - val_mae: 0.6000 - val_acc: 0.6778 - 1s/epoch - 87ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.6050 - mae: 0.6006 - acc: 0.6803 - val_loss: 0.5881 - val_mae: 0.5886 - val_acc: 0.7012 - 61ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.5820 - mae: 0.5847 - acc: 0.6828 - val_loss: 0.5808 - val_mae: 0.5854 - val_acc: 0.6953 - 63ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.5770 - mae: 0.5801 - acc: 0.6887 - val_loss: 0.5644 - val_mae: 0.5752 - val_acc: 0.7012 - 66ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.5645 - mae: 0.5748 - acc: 0.6894 - val_loss: 0.5585 - val_mae: 0.5690 - val_acc: 0.7070 - 69ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.8428 - mae: 0.7395 - acc: 0.5664 - val_loss: 0.7003 - val_mae: 0.6580 - val_acc: 0.6108 - 1s/epoch - 115ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.6609 - mae: 0.6352 - acc: 0.6281 - val_loss: 0.6250 - val_mae: 0.6133 - val_acc: 0.6545 - 45ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.6170 - mae: 0.6110 - acc: 0.6551 - val_loss: 0.6166 - val_mae: 0.6104 - val_acc: 0.6603 - 50ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6019 - mae: 0.6004 - acc: 0.6657 - val_loss: 0.5940 - val_mae: 0.5926 - val_acc: 0.6793 - 45ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.5948 - mae: 0.5963 - acc: 0.6704 - val_loss: 0.5877 - val_mae: 0.5893 - val_acc: 0.6720 - 43ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "9/9 - 2s - loss: 0.9530 - mae: 0.7983 - acc: 0.5007 - val_loss: 0.8522 - val_mae: 0.7487 - val_acc: 0.5743 - 2s/epoch - 185ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.8269 - mae: 0.7274 - acc: 0.6033 - val_loss: 0.7734 - val_mae: 0.7001 - val_acc: 0.6093 - 63ms/epoch - 7ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.7855 - mae: 0.7069 - acc: 0.6274 - val_loss: 0.7390 - val_mae: 0.6834 - val_acc: 0.6254 - 66ms/epoch - 7ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.7340 - mae: 0.6801 - acc: 0.6314 - val_loss: 0.6837 - val_mae: 0.6575 - val_acc: 0.6341 - 68ms/epoch - 8ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6823 - mae: 0.6523 - acc: 0.6328 - val_loss: 0.6567 - val_mae: 0.6390 - val_acc: 0.6312 - 70ms/epoch - 8ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.8317 - mae: 0.7345 - acc: 0.5920 - val_loss: 0.6416 - val_mae: 0.6254 - val_acc: 0.6370 - 1s/epoch - 85ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.6247 - mae: 0.6172 - acc: 0.6628 - val_loss: 0.6078 - val_mae: 0.6053 - val_acc: 0.6633 - 63ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.5952 - mae: 0.5986 - acc: 0.6755 - val_loss: 0.5777 - val_mae: 0.5859 - val_acc: 0.7070 - 60ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.5804 - mae: 0.5878 - acc: 0.6901 - val_loss: 0.5670 - val_mae: 0.5774 - val_acc: 0.7041 - 63ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.5709 - mae: 0.5800 - acc: 0.6912 - val_loss: 0.5672 - val_mae: 0.5774 - val_acc: 0.6997 - 64ms/epoch - 5ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2008/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2008/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model7891320289671053121/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model7891320289671053121/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "9/9 [==============================] - 0s 968us/step\n", - "Epoch 1/5\n", - "40/40 - 1s - loss: 0.9609 - mae: 0.7993 - acc: 0.3672 - val_loss: 0.8721 - val_mae: 0.7635 - val_acc: 0.4201 - 700ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "40/40 - 0s - loss: 0.8683 - mae: 0.7580 - acc: 0.5398 - val_loss: 0.8097 - val_mae: 0.7300 - val_acc: 0.5862 - 66ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "40/40 - 0s - loss: 0.7969 - mae: 0.7193 - acc: 0.6257 - val_loss: 0.7451 - val_mae: 0.6926 - val_acc: 0.6207 - 67ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "40/40 - 0s - loss: 0.7316 - mae: 0.6803 - acc: 0.6461 - val_loss: 0.6855 - val_mae: 0.6584 - val_acc: 0.6348 - 67ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "40/40 - 0s - loss: 0.6737 - mae: 0.6473 - acc: 0.6563 - val_loss: 0.6406 - val_mae: 0.6330 - val_acc: 0.6411 - 70ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.9514 - mae: 0.8034 - acc: 0.4025 - val_loss: 0.9151 - val_mae: 0.7874 - val_acc: 0.4122 - 1s/epoch - 106ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.9479 - mae: 0.8014 - acc: 0.4115 - val_loss: 0.9131 - val_mae: 0.7865 - val_acc: 0.4122 - 40ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.9452 - mae: 0.7998 - acc: 0.4115 - val_loss: 0.9115 - val_mae: 0.7857 - val_acc: 0.4122 - 40ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.9431 - mae: 0.7985 - acc: 0.4115 - val_loss: 0.9105 - val_mae: 0.7851 - val_acc: 0.4122 - 46ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.9414 - mae: 0.7974 - acc: 0.4115 - val_loss: 0.9096 - val_mae: 0.7846 - val_acc: 0.4122 - 43ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.7935 - mae: 0.7136 - acc: 0.6065 - val_loss: 0.6936 - val_mae: 0.6577 - val_acc: 0.6536 - 892ms/epoch - 99ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.6907 - mae: 0.6553 - acc: 0.6677 - val_loss: 0.6186 - val_mae: 0.6167 - val_acc: 0.6458 - 38ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6257 - mae: 0.6142 - acc: 0.6709 - val_loss: 0.5801 - val_mae: 0.5853 - val_acc: 0.6693 - 38ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6009 - mae: 0.5983 - acc: 0.6893 - val_loss: 0.5697 - val_mae: 0.5759 - val_acc: 0.6724 - 39ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5835 - mae: 0.5864 - acc: 0.7003 - val_loss: 0.5487 - val_mae: 0.5672 - val_acc: 0.6803 - 40ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.7115 - mae: 0.6640 - acc: 0.6132 - val_loss: 0.5935 - val_mae: 0.5933 - val_acc: 0.6928 - 1s/epoch - 129ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.5813 - mae: 0.5884 - acc: 0.7034 - val_loss: 0.6246 - val_mae: 0.6022 - val_acc: 0.6755 - 50ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.5856 - mae: 0.5884 - acc: 0.7140 - val_loss: 0.5604 - val_mae: 0.5749 - val_acc: 0.7085 - 51ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.5407 - mae: 0.5647 - acc: 0.7219 - val_loss: 0.5258 - val_mae: 0.5550 - val_acc: 0.7038 - 54ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5267 - mae: 0.5576 - acc: 0.7219 - val_loss: 0.5233 - val_mae: 0.5516 - val_acc: 0.7006 - 53ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.9385 - mae: 0.7973 - acc: 0.5022 - val_loss: 0.8776 - val_mae: 0.7695 - val_acc: 0.6003 - 1s/epoch - 161ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.8847 - mae: 0.7711 - acc: 0.6226 - val_loss: 0.8211 - val_mae: 0.7408 - val_acc: 0.6113 - 43ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.8131 - mae: 0.7335 - acc: 0.6348 - val_loss: 0.7407 - val_mae: 0.6947 - val_acc: 0.6144 - 43ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.7244 - mae: 0.6807 - acc: 0.6391 - val_loss: 0.6770 - val_mae: 0.6519 - val_acc: 0.6191 - 46ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6715 - mae: 0.6453 - acc: 0.6391 - val_loss: 0.6492 - val_mae: 0.6313 - val_acc: 0.6191 - 46ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "213/213 - 2s - loss: 0.6479 - mae: 0.6341 - acc: 0.6685 - val_loss: 0.6099 - val_mae: 0.6157 - val_acc: 0.6505 - 2s/epoch - 9ms/step\n", - "Epoch 2/5\n", - "213/213 - 0s - loss: 0.6003 - mae: 0.6033 - acc: 0.6834 - val_loss: 0.5835 - val_mae: 0.5937 - val_acc: 0.6803 - 368ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "213/213 - 0s - loss: 0.5831 - mae: 0.5934 - acc: 0.7022 - val_loss: 0.5837 - val_mae: 0.5985 - val_acc: 0.6708 - 372ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "213/213 - 0s - loss: 0.5668 - mae: 0.5817 - acc: 0.7011 - val_loss: 0.5628 - val_mae: 0.5859 - val_acc: 0.7100 - 366ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "213/213 - 0s - loss: 0.5552 - mae: 0.5744 - acc: 0.7093 - val_loss: 0.5526 - val_mae: 0.5678 - val_acc: 0.6944 - 375ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.8873 - mae: 0.7722 - acc: 0.4916 - val_loss: 0.8141 - val_mae: 0.7346 - val_acc: 0.6129 - 1s/epoch - 103ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.8087 - mae: 0.7284 - acc: 0.6308 - val_loss: 0.7503 - val_mae: 0.6952 - val_acc: 0.6129 - 36ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.7635 - mae: 0.6991 - acc: 0.6465 - val_loss: 0.7346 - val_mae: 0.6836 - val_acc: 0.6395 - 38ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.7451 - mae: 0.6891 - acc: 0.6587 - val_loss: 0.7203 - val_mae: 0.6779 - val_acc: 0.6473 - 39ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.7312 - mae: 0.6819 - acc: 0.6736 - val_loss: 0.7091 - val_mae: 0.6713 - val_acc: 0.6536 - 38ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "27/27 - 1s - loss: 0.7213 - mae: 0.6753 - acc: 0.6304 - val_loss: 0.6016 - val_mae: 0.6050 - val_acc: 0.6505 - 1s/epoch - 47ms/step\n", - "Epoch 2/5\n", - "27/27 - 0s - loss: 0.6000 - mae: 0.6039 - acc: 0.6658 - val_loss: 0.5829 - val_mae: 0.5960 - val_acc: 0.6520 - 64ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "27/27 - 0s - loss: 0.5756 - mae: 0.5875 - acc: 0.6732 - val_loss: 0.5643 - val_mae: 0.5817 - val_acc: 0.6614 - 65ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "27/27 - 0s - loss: 0.5588 - mae: 0.5758 - acc: 0.6783 - val_loss: 0.5528 - val_mae: 0.5742 - val_acc: 0.6599 - 62ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "27/27 - 0s - loss: 0.5474 - mae: 0.5683 - acc: 0.6818 - val_loss: 0.5406 - val_mae: 0.5655 - val_acc: 0.6803 - 62ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9418 - mae: 0.7991 - acc: 0.4617 - val_loss: 0.8893 - val_mae: 0.7752 - val_acc: 0.5204 - 1s/epoch - 125ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.9007 - mae: 0.7767 - acc: 0.5598 - val_loss: 0.8485 - val_mae: 0.7511 - val_acc: 0.5658 - 35ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.8506 - mae: 0.7469 - acc: 0.5959 - val_loss: 0.8061 - val_mae: 0.7213 - val_acc: 0.6176 - 40ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.8064 - mae: 0.7175 - acc: 0.6512 - val_loss: 0.7644 - val_mae: 0.6951 - val_acc: 0.6552 - 36ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.7666 - mae: 0.6950 - acc: 0.6736 - val_loss: 0.7265 - val_mae: 0.6751 - val_acc: 0.6614 - 36ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "170/170 - 1s - loss: 0.5952 - mae: 0.5991 - acc: 0.6779 - val_loss: 0.5266 - val_mae: 0.5590 - val_acc: 0.7053 - 1s/epoch - 7ms/step\n", - "Epoch 2/5\n", - "170/170 - 0s - loss: 0.5150 - mae: 0.5511 - acc: 0.7242 - val_loss: 0.4844 - val_mae: 0.5368 - val_acc: 0.7210 - 271ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "170/170 - 0s - loss: 0.4881 - mae: 0.5328 - acc: 0.7266 - val_loss: 0.4552 - val_mae: 0.5093 - val_acc: 0.7241 - 297ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "170/170 - 0s - loss: 0.4609 - mae: 0.5175 - acc: 0.7470 - val_loss: 0.4599 - val_mae: 0.5164 - val_acc: 0.7163 - 281ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "170/170 - 0s - loss: 0.4555 - mae: 0.5124 - acc: 0.7458 - val_loss: 0.4322 - val_mae: 0.4963 - val_acc: 0.7414 - 276ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "23/23 - 1s - loss: 0.7158 - mae: 0.6732 - acc: 0.6975 - val_loss: 0.5824 - val_mae: 0.5952 - val_acc: 0.6677 - 1s/epoch - 51ms/step\n", - "Epoch 2/5\n", - "23/23 - 0s - loss: 0.5724 - mae: 0.5843 - acc: 0.7058 - val_loss: 0.5315 - val_mae: 0.5605 - val_acc: 0.6897 - 42ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "23/23 - 0s - loss: 0.5401 - mae: 0.5666 - acc: 0.7230 - val_loss: 0.5072 - val_mae: 0.5488 - val_acc: 0.7085 - 46ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "23/23 - 0s - loss: 0.5224 - mae: 0.5568 - acc: 0.7262 - val_loss: 0.4934 - val_mae: 0.5399 - val_acc: 0.7085 - 47ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "23/23 - 0s - loss: 0.5101 - mae: 0.5500 - acc: 0.7277 - val_loss: 0.4841 - val_mae: 0.5377 - val_acc: 0.7116 - 47ms/epoch - 2ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2013/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2013/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model10941682798954926524/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model10941682798954926524/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "16/16 [==============================] - 0s 1ms/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model800936142453454957/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model800936142453454957/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "55/55 [==============================] - 0s 957us/step\n", - "Epoch 1/5\n", - "40/40 - 1s - loss: 1.0473 - mae: 0.8174 - acc: 0.3883 - val_loss: 0.8658 - val_mae: 0.7445 - val_acc: 0.4548 - 809ms/epoch - 20ms/step\n", - "Epoch 2/5\n", - "40/40 - 0s - loss: 0.8228 - mae: 0.7208 - acc: 0.5526 - val_loss: 0.7319 - val_mae: 0.6781 - val_acc: 0.6513 - 86ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "40/40 - 0s - loss: 0.7169 - mae: 0.6677 - acc: 0.6323 - val_loss: 0.6618 - val_mae: 0.6412 - val_acc: 0.6577 - 75ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "40/40 - 0s - loss: 0.6514 - mae: 0.6328 - acc: 0.6513 - val_loss: 0.6135 - val_mae: 0.6134 - val_acc: 0.6688 - 75ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "40/40 - 0s - loss: 0.6066 - mae: 0.6057 - acc: 0.6704 - val_loss: 0.5833 - val_mae: 0.5955 - val_acc: 0.6672 - 73ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "15/15 - 2s - loss: 0.8756 - mae: 0.7662 - acc: 0.3796 - val_loss: 0.7716 - val_mae: 0.7067 - val_acc: 0.5515 - 2s/epoch - 114ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.7234 - mae: 0.6814 - acc: 0.6255 - val_loss: 0.6573 - val_mae: 0.6512 - val_acc: 0.6228 - 71ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.6375 - mae: 0.6366 - acc: 0.6279 - val_loss: 0.6154 - val_mae: 0.6258 - val_acc: 0.6323 - 74ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.6103 - mae: 0.6197 - acc: 0.6402 - val_loss: 0.5956 - val_mae: 0.6132 - val_acc: 0.6371 - 77ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.5945 - mae: 0.6089 - acc: 0.6418 - val_loss: 0.5855 - val_mae: 0.6061 - val_acc: 0.6434 - 80ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "18/18 - 1s - loss: 0.7899 - mae: 0.7138 - acc: 0.6045 - val_loss: 0.6782 - val_mae: 0.6560 - val_acc: 0.6323 - 1s/epoch - 61ms/step\n", - "Epoch 2/5\n", - "18/18 - 0s - loss: 0.6548 - mae: 0.6375 - acc: 0.6386 - val_loss: 0.6412 - val_mae: 0.6301 - val_acc: 0.6387 - 58ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "18/18 - 0s - loss: 0.6267 - mae: 0.6219 - acc: 0.6478 - val_loss: 0.6221 - val_mae: 0.6209 - val_acc: 0.6387 - 81ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "18/18 - 0s - loss: 0.6171 - mae: 0.6153 - acc: 0.6541 - val_loss: 0.6141 - val_mae: 0.6136 - val_acc: 0.6387 - 63ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "18/18 - 0s - loss: 0.6044 - mae: 0.6083 - acc: 0.6545 - val_loss: 0.6148 - val_mae: 0.6118 - val_acc: 0.6371 - 69ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.7367 - mae: 0.6945 - acc: 0.5843 - val_loss: 0.5790 - val_mae: 0.5981 - val_acc: 0.6640 - 1s/epoch - 158ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.5703 - mae: 0.5925 - acc: 0.6656 - val_loss: 0.5555 - val_mae: 0.5833 - val_acc: 0.6767 - 49ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.5399 - mae: 0.5745 - acc: 0.6815 - val_loss: 0.5365 - val_mae: 0.5649 - val_acc: 0.6862 - 47ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.5187 - mae: 0.5574 - acc: 0.6934 - val_loss: 0.5063 - val_mae: 0.5474 - val_acc: 0.7147 - 50ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5054 - mae: 0.5457 - acc: 0.7033 - val_loss: 0.4934 - val_mae: 0.5405 - val_acc: 0.7227 - 47ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.8432 - mae: 0.7483 - acc: 0.4391 - val_loss: 0.7727 - val_mae: 0.7121 - val_acc: 0.6086 - 1s/epoch - 80ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.7207 - mae: 0.6796 - acc: 0.6224 - val_loss: 0.6714 - val_mae: 0.6509 - val_acc: 0.6276 - 51ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.6522 - mae: 0.6381 - acc: 0.6394 - val_loss: 0.6408 - val_mae: 0.6312 - val_acc: 0.6450 - 50ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.6258 - mae: 0.6214 - acc: 0.6545 - val_loss: 0.6276 - val_mae: 0.6220 - val_acc: 0.6624 - 51ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.6166 - mae: 0.6172 - acc: 0.6624 - val_loss: 0.6182 - val_mae: 0.6163 - val_acc: 0.6593 - 56ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.8576 - mae: 0.7553 - acc: 0.5490 - val_loss: 0.7374 - val_mae: 0.6928 - val_acc: 0.5705 - 1s/epoch - 86ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.6975 - mae: 0.6681 - acc: 0.6176 - val_loss: 0.6607 - val_mae: 0.6457 - val_acc: 0.6117 - 42ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.6419 - mae: 0.6353 - acc: 0.6418 - val_loss: 0.6158 - val_mae: 0.6217 - val_acc: 0.6545 - 38ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.6044 - mae: 0.6112 - acc: 0.6652 - val_loss: 0.6031 - val_mae: 0.6113 - val_acc: 0.6783 - 41ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.5837 - mae: 0.5970 - acc: 0.6743 - val_loss: 0.5759 - val_mae: 0.5937 - val_acc: 0.6846 - 41ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "39/39 - 2s - loss: 0.6332 - mae: 0.6260 - acc: 0.6525 - val_loss: 0.5633 - val_mae: 0.5827 - val_acc: 0.7100 - 2s/epoch - 58ms/step\n", - "Epoch 2/5\n", - "39/39 - 0s - loss: 0.5569 - mae: 0.5765 - acc: 0.6997 - val_loss: 0.5611 - val_mae: 0.5769 - val_acc: 0.7084 - 96ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "39/39 - 0s - loss: 0.5544 - mae: 0.5773 - acc: 0.6946 - val_loss: 0.5523 - val_mae: 0.5790 - val_acc: 0.6878 - 95ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "39/39 - 0s - loss: 0.5472 - mae: 0.5723 - acc: 0.7017 - val_loss: 0.5445 - val_mae: 0.5695 - val_acc: 0.7005 - 114ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "39/39 - 0s - loss: 0.5303 - mae: 0.5628 - acc: 0.7053 - val_loss: 0.5384 - val_mae: 0.5703 - val_acc: 0.6973 - 93ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.8894 - mae: 0.7712 - acc: 0.5177 - val_loss: 0.7617 - val_mae: 0.7053 - val_acc: 0.6609 - 722ms/epoch - 80ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7338 - mae: 0.6848 - acc: 0.6486 - val_loss: 0.6599 - val_mae: 0.6406 - val_acc: 0.6640 - 35ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6555 - mae: 0.6384 - acc: 0.6660 - val_loss: 0.6172 - val_mae: 0.6147 - val_acc: 0.6767 - 33ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6187 - mae: 0.6144 - acc: 0.6759 - val_loss: 0.6036 - val_mae: 0.6098 - val_acc: 0.6862 - 34ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6042 - mae: 0.6068 - acc: 0.6779 - val_loss: 0.5836 - val_mae: 0.5981 - val_acc: 0.7036 - 34ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "24/24 - 2s - loss: 0.7144 - mae: 0.6700 - acc: 0.6010 - val_loss: 0.6162 - val_mae: 0.6115 - val_acc: 0.6561 - 2s/epoch - 71ms/step\n", - "Epoch 2/5\n", - "24/24 - 0s - loss: 0.6003 - mae: 0.6064 - acc: 0.6640 - val_loss: 0.5874 - val_mae: 0.5983 - val_acc: 0.6767 - 107ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "24/24 - 0s - loss: 0.5787 - mae: 0.5912 - acc: 0.6676 - val_loss: 0.5647 - val_mae: 0.5813 - val_acc: 0.6719 - 122ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "24/24 - 0s - loss: 0.5620 - mae: 0.5799 - acc: 0.6708 - val_loss: 0.5623 - val_mae: 0.5842 - val_acc: 0.6846 - 124ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "24/24 - 0s - loss: 0.5527 - mae: 0.5726 - acc: 0.6775 - val_loss: 0.5704 - val_mae: 0.5845 - val_acc: 0.6688 - 119ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "87/87 - 2s - loss: 0.6295 - mae: 0.6256 - acc: 0.6347 - val_loss: 0.5796 - val_mae: 0.5920 - val_acc: 0.6640 - 2s/epoch - 18ms/step\n", - "Epoch 2/5\n", - "87/87 - 0s - loss: 0.5776 - mae: 0.5910 - acc: 0.6680 - val_loss: 0.5752 - val_mae: 0.5899 - val_acc: 0.6513 - 164ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "87/87 - 0s - loss: 0.5681 - mae: 0.5855 - acc: 0.6787 - val_loss: 0.5543 - val_mae: 0.5711 - val_acc: 0.6656 - 171ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "87/87 - 0s - loss: 0.5725 - mae: 0.5870 - acc: 0.6708 - val_loss: 0.5693 - val_mae: 0.5899 - val_acc: 0.6450 - 176ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "87/87 - 0s - loss: 0.5552 - mae: 0.5773 - acc: 0.6835 - val_loss: 0.5459 - val_mae: 0.5693 - val_acc: 0.6719 - 178ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 0.6629 - mae: 0.6449 - acc: 0.6033 - val_loss: 0.5513 - val_mae: 0.5853 - val_acc: 0.6941 - 2s/epoch - 150ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.5367 - mae: 0.5668 - acc: 0.6799 - val_loss: 0.5248 - val_mae: 0.5619 - val_acc: 0.7021 - 71ms/epoch - 7ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.5153 - mae: 0.5525 - acc: 0.6962 - val_loss: 0.5200 - val_mae: 0.5501 - val_acc: 0.6941 - 75ms/epoch - 8ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.5067 - mae: 0.5435 - acc: 0.7021 - val_loss: 0.4931 - val_mae: 0.5396 - val_acc: 0.7068 - 71ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.4977 - mae: 0.5383 - acc: 0.7025 - val_loss: 0.4912 - val_mae: 0.5393 - val_acc: 0.7147 - 64ms/epoch - 6ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2016/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2016/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model4597992555838631849/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model4597992555838631849/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "17/17 [==============================] - 0s 1ms/step\n", - "Epoch 1/5\n", - "43/43 - 1s - loss: 1.0086 - mae: 0.8096 - acc: 0.4628 - val_loss: 0.8582 - val_mae: 0.7481 - val_acc: 0.6064 - 743ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "43/43 - 0s - loss: 0.8022 - mae: 0.7190 - acc: 0.6655 - val_loss: 0.7190 - val_mae: 0.6769 - val_acc: 0.7085 - 67ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "43/43 - 0s - loss: 0.6794 - mae: 0.6546 - acc: 0.6895 - val_loss: 0.6216 - val_mae: 0.6190 - val_acc: 0.7055 - 67ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "43/43 - 0s - loss: 0.5982 - mae: 0.6059 - acc: 0.6888 - val_loss: 0.5722 - val_mae: 0.5832 - val_acc: 0.7085 - 68ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "43/43 - 0s - loss: 0.5659 - mae: 0.5835 - acc: 0.6961 - val_loss: 0.5565 - val_mae: 0.5710 - val_acc: 0.7128 - 69ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.9534 - mae: 0.8008 - acc: 0.4450 - val_loss: 0.8860 - val_mae: 0.7682 - val_acc: 0.5510 - 1s/epoch - 116ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.8475 - mae: 0.7460 - acc: 0.5940 - val_loss: 0.7782 - val_mae: 0.7077 - val_acc: 0.6327 - 51ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.7439 - mae: 0.6870 - acc: 0.6454 - val_loss: 0.6975 - val_mae: 0.6635 - val_acc: 0.6414 - 51ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6667 - mae: 0.6457 - acc: 0.6552 - val_loss: 0.6600 - val_mae: 0.6423 - val_acc: 0.6516 - 51ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.6346 - mae: 0.6267 - acc: 0.6614 - val_loss: 0.6275 - val_mae: 0.6241 - val_acc: 0.6574 - 55ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "25/25 - 1s - loss: 0.6886 - mae: 0.6516 - acc: 0.6603 - val_loss: 0.5528 - val_mae: 0.5719 - val_acc: 0.7012 - 830ms/epoch - 33ms/step\n", - "Epoch 2/5\n", - "25/25 - 0s - loss: 0.5474 - mae: 0.5701 - acc: 0.7085 - val_loss: 0.5249 - val_mae: 0.5572 - val_acc: 0.7041 - 57ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "25/25 - 0s - loss: 0.5242 - mae: 0.5559 - acc: 0.7110 - val_loss: 0.5104 - val_mae: 0.5490 - val_acc: 0.7085 - 57ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "25/25 - 0s - loss: 0.5097 - mae: 0.5473 - acc: 0.7198 - val_loss: 0.5004 - val_mae: 0.5427 - val_acc: 0.7172 - 58ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "25/25 - 0s - loss: 0.4994 - mae: 0.5417 - acc: 0.7252 - val_loss: 0.4895 - val_mae: 0.5366 - val_acc: 0.7187 - 56ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 0.8301 - mae: 0.7313 - acc: 0.5609 - val_loss: 0.6665 - val_mae: 0.6425 - val_acc: 0.6603 - 2s/epoch - 183ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.6416 - mae: 0.6301 - acc: 0.6695 - val_loss: 0.6215 - val_mae: 0.6175 - val_acc: 0.6822 - 45ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.5880 - mae: 0.5989 - acc: 0.6884 - val_loss: 0.5932 - val_mae: 0.5881 - val_acc: 0.6997 - 63ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.5644 - mae: 0.5818 - acc: 0.7037 - val_loss: 0.5442 - val_mae: 0.5686 - val_acc: 0.7157 - 52ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.5400 - mae: 0.5682 - acc: 0.7110 - val_loss: 0.5247 - val_mae: 0.5549 - val_acc: 0.7332 - 48ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "14/14 - 2s - loss: 0.9864 - mae: 0.8168 - acc: 0.3619 - val_loss: 0.9625 - val_mae: 0.8075 - val_acc: 0.3469 - 2s/epoch - 109ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.9680 - mae: 0.8081 - acc: 0.3637 - val_loss: 0.9490 - val_mae: 0.8004 - val_acc: 0.3586 - 62ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.9544 - mae: 0.8003 - acc: 0.4348 - val_loss: 0.9381 - val_mae: 0.7946 - val_acc: 0.4577 - 62ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.9392 - mae: 0.7935 - acc: 0.4585 - val_loss: 0.9233 - val_mae: 0.7878 - val_acc: 0.4606 - 67ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.9182 - mae: 0.7835 - acc: 0.4869 - val_loss: 0.8962 - val_mae: 0.7756 - val_acc: 0.4854 - 67ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "212/212 - 2s - loss: 0.7032 - mae: 0.6631 - acc: 0.6469 - val_loss: 0.6883 - val_mae: 0.6452 - val_acc: 0.6574 - 2s/epoch - 10ms/step\n", - "Epoch 2/5\n", - "212/212 - 0s - loss: 0.6560 - mae: 0.6386 - acc: 0.6720 - val_loss: 0.6452 - val_mae: 0.6243 - val_acc: 0.6720 - 426ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "212/212 - 0s - loss: 0.6424 - mae: 0.6307 - acc: 0.6829 - val_loss: 0.6309 - val_mae: 0.6173 - val_acc: 0.6720 - 472ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "212/212 - 0s - loss: 0.6362 - mae: 0.6263 - acc: 0.6840 - val_loss: 0.6266 - val_mae: 0.6155 - val_acc: 0.6706 - 456ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "212/212 - 0s - loss: 0.6284 - mae: 0.6220 - acc: 0.6935 - val_loss: 0.6281 - val_mae: 0.6269 - val_acc: 0.6866 - 455ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.7886 - mae: 0.7156 - acc: 0.5645 - val_loss: 0.6582 - val_mae: 0.6421 - val_acc: 0.6093 - 1s/epoch - 115ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.6174 - mae: 0.6199 - acc: 0.6691 - val_loss: 0.6071 - val_mae: 0.6115 - val_acc: 0.6749 - 46ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.5844 - mae: 0.5964 - acc: 0.6928 - val_loss: 0.5652 - val_mae: 0.5812 - val_acc: 0.6880 - 47ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.5507 - mae: 0.5772 - acc: 0.6972 - val_loss: 0.5484 - val_mae: 0.5701 - val_acc: 0.6968 - 50ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.5429 - mae: 0.5690 - acc: 0.7077 - val_loss: 0.5525 - val_mae: 0.5761 - val_acc: 0.6968 - 76ms/epoch - 8ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.8058 - mae: 0.7237 - acc: 0.5641 - val_loss: 0.6886 - val_mae: 0.6647 - val_acc: 0.6283 - 938ms/epoch - 78ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.6599 - mae: 0.6464 - acc: 0.6476 - val_loss: 0.6304 - val_mae: 0.6264 - val_acc: 0.6618 - 45ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.6104 - mae: 0.6139 - acc: 0.6749 - val_loss: 0.5936 - val_mae: 0.6029 - val_acc: 0.6793 - 48ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.5910 - mae: 0.5993 - acc: 0.6840 - val_loss: 0.5804 - val_mae: 0.5920 - val_acc: 0.6983 - 52ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.5829 - mae: 0.5942 - acc: 0.6873 - val_loss: 0.5846 - val_mae: 0.6008 - val_acc: 0.7041 - 49ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "16/16 - 1s - loss: 0.6992 - mae: 0.6650 - acc: 0.6232 - val_loss: 0.5840 - val_mae: 0.5927 - val_acc: 0.6778 - 1s/epoch - 84ms/step\n", - "Epoch 2/5\n", - "16/16 - 0s - loss: 0.5845 - mae: 0.5970 - acc: 0.6859 - val_loss: 0.5608 - val_mae: 0.5794 - val_acc: 0.7114 - 61ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "16/16 - 0s - loss: 0.5545 - mae: 0.5768 - acc: 0.7030 - val_loss: 0.5294 - val_mae: 0.5565 - val_acc: 0.7289 - 64ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "16/16 - 0s - loss: 0.5405 - mae: 0.5680 - acc: 0.7117 - val_loss: 0.5227 - val_mae: 0.5564 - val_acc: 0.7259 - 68ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "16/16 - 0s - loss: 0.5300 - mae: 0.5608 - acc: 0.7238 - val_loss: 0.5230 - val_mae: 0.5558 - val_acc: 0.7303 - 71ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "63/63 - 1s - loss: 0.6417 - mae: 0.6208 - acc: 0.6786 - val_loss: 0.5761 - val_mae: 0.5832 - val_acc: 0.7012 - 1s/epoch - 18ms/step\n", - "Epoch 2/5\n", - "63/63 - 0s - loss: 0.5678 - mae: 0.5769 - acc: 0.7081 - val_loss: 0.5326 - val_mae: 0.5528 - val_acc: 0.7055 - 117ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "63/63 - 0s - loss: 0.5442 - mae: 0.5646 - acc: 0.7099 - val_loss: 0.5296 - val_mae: 0.5543 - val_acc: 0.7143 - 118ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "63/63 - 0s - loss: 0.5310 - mae: 0.5563 - acc: 0.7176 - val_loss: 0.5286 - val_mae: 0.5593 - val_acc: 0.7332 - 127ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "63/63 - 0s - loss: 0.5159 - mae: 0.5475 - acc: 0.7259 - val_loss: 0.5034 - val_mae: 0.5350 - val_acc: 0.7289 - 134ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.7096 - mae: 0.6766 - acc: 0.6378 - val_loss: 0.6272 - val_mae: 0.6167 - val_acc: 0.6574 - 926ms/epoch - 116ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.6048 - mae: 0.6093 - acc: 0.6749 - val_loss: 0.5978 - val_mae: 0.5997 - val_acc: 0.6618 - 40ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.5797 - mae: 0.5952 - acc: 0.6782 - val_loss: 0.5873 - val_mae: 0.5937 - val_acc: 0.6735 - 51ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.5742 - mae: 0.5891 - acc: 0.6844 - val_loss: 0.5797 - val_mae: 0.5869 - val_acc: 0.6735 - 40ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.5710 - mae: 0.5865 - acc: 0.6877 - val_loss: 0.5720 - val_mae: 0.5832 - val_acc: 0.6910 - 41ms/epoch - 5ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2009/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2009/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model4047907764737902628/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model4047907764737902628/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "9/9 [==============================] - 0s 842us/step\n", - "Epoch 1/5\n", - "44/44 - 1s - loss: 1.2606 - mae: 0.8873 - acc: 0.3400 - val_loss: 1.0696 - val_mae: 0.8203 - val_acc: 0.4261 - 714ms/epoch - 16ms/step\n", - "Epoch 2/5\n", - "44/44 - 0s - loss: 0.9816 - mae: 0.7859 - acc: 0.5712 - val_loss: 0.8927 - val_mae: 0.7483 - val_acc: 0.6203 - 70ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "44/44 - 0s - loss: 0.8418 - mae: 0.7252 - acc: 0.6332 - val_loss: 0.7834 - val_mae: 0.6983 - val_acc: 0.6087 - 71ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "44/44 - 0s - loss: 0.7484 - mae: 0.6812 - acc: 0.6256 - val_loss: 0.7056 - val_mae: 0.6596 - val_acc: 0.6116 - 77ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "44/44 - 0s - loss: 0.6790 - mae: 0.6451 - acc: 0.6321 - val_loss: 0.6539 - val_mae: 0.6320 - val_acc: 0.6174 - 80ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.8906 - mae: 0.7672 - acc: 0.5002 - val_loss: 0.7477 - val_mae: 0.6908 - val_acc: 0.5899 - 1s/epoch - 161ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.7001 - mae: 0.6619 - acc: 0.6241 - val_loss: 0.6536 - val_mae: 0.6351 - val_acc: 0.6290 - 40ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.6346 - mae: 0.6252 - acc: 0.6615 - val_loss: 0.6241 - val_mae: 0.6135 - val_acc: 0.6681 - 43ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.6048 - mae: 0.6062 - acc: 0.6723 - val_loss: 0.5939 - val_mae: 0.6010 - val_acc: 0.6652 - 45ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.5846 - mae: 0.5965 - acc: 0.6821 - val_loss: 0.5790 - val_mae: 0.5907 - val_acc: 0.6826 - 45ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "21/21 - 2s - loss: 0.7750 - mae: 0.6995 - acc: 0.5930 - val_loss: 0.6798 - val_mae: 0.6486 - val_acc: 0.6290 - 2s/epoch - 83ms/step\n", - "Epoch 2/5\n", - "21/21 - 0s - loss: 0.6351 - mae: 0.6209 - acc: 0.6698 - val_loss: 0.6026 - val_mae: 0.6003 - val_acc: 0.6797 - 71ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "21/21 - 0s - loss: 0.5974 - mae: 0.5962 - acc: 0.6861 - val_loss: 0.5726 - val_mae: 0.5815 - val_acc: 0.6899 - 74ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "21/21 - 0s - loss: 0.5739 - mae: 0.5841 - acc: 0.6963 - val_loss: 0.5607 - val_mae: 0.5830 - val_acc: 0.7029 - 71ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "21/21 - 0s - loss: 0.5551 - mae: 0.5760 - acc: 0.7082 - val_loss: 0.5366 - val_mae: 0.5627 - val_acc: 0.7232 - 70ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "17/17 - 1s - loss: 0.7132 - mae: 0.6658 - acc: 0.6180 - val_loss: 0.6077 - val_mae: 0.6047 - val_acc: 0.6739 - 1s/epoch - 71ms/step\n", - "Epoch 2/5\n", - "17/17 - 0s - loss: 0.5860 - mae: 0.5940 - acc: 0.6897 - val_loss: 0.5547 - val_mae: 0.5729 - val_acc: 0.7203 - 72ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "17/17 - 0s - loss: 0.5601 - mae: 0.5777 - acc: 0.7082 - val_loss: 0.5410 - val_mae: 0.5670 - val_acc: 0.7362 - 65ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "17/17 - 0s - loss: 0.5363 - mae: 0.5626 - acc: 0.7187 - val_loss: 0.5155 - val_mae: 0.5540 - val_acc: 0.7420 - 98ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "17/17 - 0s - loss: 0.5201 - mae: 0.5551 - acc: 0.7285 - val_loss: 0.4989 - val_mae: 0.5408 - val_acc: 0.7435 - 75ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.9962 - mae: 0.8210 - acc: 0.2628 - val_loss: 0.9358 - val_mae: 0.7945 - val_acc: 0.6188 - 899ms/epoch - 69ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.9105 - mae: 0.7787 - acc: 0.5683 - val_loss: 0.8686 - val_mae: 0.7588 - val_acc: 0.5203 - 47ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.8491 - mae: 0.7434 - acc: 0.5024 - val_loss: 0.8143 - val_mae: 0.7267 - val_acc: 0.5348 - 47ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.8040 - mae: 0.7180 - acc: 0.5071 - val_loss: 0.7825 - val_mae: 0.7069 - val_acc: 0.5319 - 49ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.7779 - mae: 0.7041 - acc: 0.5118 - val_loss: 0.7563 - val_mae: 0.6925 - val_acc: 0.5290 - 52ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "8/8 - 2s - loss: 0.9288 - mae: 0.7887 - acc: 0.3175 - val_loss: 0.8761 - val_mae: 0.7602 - val_acc: 0.3362 - 2s/epoch - 201ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.8366 - mae: 0.7366 - acc: 0.5281 - val_loss: 0.8142 - val_mae: 0.7263 - val_acc: 0.5884 - 58ms/epoch - 7ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.7914 - mae: 0.7125 - acc: 0.6281 - val_loss: 0.7888 - val_mae: 0.7104 - val_acc: 0.6319 - 56ms/epoch - 7ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.7724 - mae: 0.7042 - acc: 0.6455 - val_loss: 0.7701 - val_mae: 0.7029 - val_acc: 0.6391 - 56ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.7488 - mae: 0.6913 - acc: 0.6441 - val_loss: 0.7435 - val_mae: 0.6876 - val_acc: 0.6449 - 59ms/epoch - 7ms/step\n", - "Epoch 1/5\n", - "19/19 - 1s - loss: 0.9412 - mae: 0.7962 - acc: 0.4759 - val_loss: 0.8687 - val_mae: 0.7573 - val_acc: 0.5826 - 1s/epoch - 54ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.8041 - mae: 0.7214 - acc: 0.6115 - val_loss: 0.7202 - val_mae: 0.6771 - val_acc: 0.6855 - 49ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.6696 - mae: 0.6461 - acc: 0.6727 - val_loss: 0.6076 - val_mae: 0.6152 - val_acc: 0.7087 - 49ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.6035 - mae: 0.6048 - acc: 0.6948 - val_loss: 0.5604 - val_mae: 0.5873 - val_acc: 0.7101 - 67ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.5686 - mae: 0.5842 - acc: 0.7053 - val_loss: 0.5392 - val_mae: 0.5749 - val_acc: 0.7188 - 60ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "12/12 - 2s - loss: 0.8225 - mae: 0.7267 - acc: 0.5632 - val_loss: 0.6931 - val_mae: 0.6562 - val_acc: 0.6420 - 2s/epoch - 151ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.6688 - mae: 0.6417 - acc: 0.6481 - val_loss: 0.6420 - val_mae: 0.6252 - val_acc: 0.6565 - 75ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.6441 - mae: 0.6277 - acc: 0.6593 - val_loss: 0.6364 - val_mae: 0.6207 - val_acc: 0.6580 - 71ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.6241 - mae: 0.6144 - acc: 0.6705 - val_loss: 0.6218 - val_mae: 0.6120 - val_acc: 0.6507 - 74ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.6162 - mae: 0.6091 - acc: 0.6676 - val_loss: 0.6156 - val_mae: 0.6072 - val_acc: 0.6507 - 73ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.9019 - mae: 0.7795 - acc: 0.5183 - val_loss: 0.8103 - val_mae: 0.7348 - val_acc: 0.6217 - 1s/epoch - 93ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.7403 - mae: 0.6958 - acc: 0.6292 - val_loss: 0.6818 - val_mae: 0.6625 - val_acc: 0.6145 - 52ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.6295 - mae: 0.6318 - acc: 0.6419 - val_loss: 0.5983 - val_mae: 0.6076 - val_acc: 0.6768 - 49ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.5809 - mae: 0.5982 - acc: 0.6807 - val_loss: 0.5796 - val_mae: 0.5908 - val_acc: 0.6884 - 53ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.5714 - mae: 0.5907 - acc: 0.6847 - val_loss: 0.5686 - val_mae: 0.5872 - val_acc: 0.6899 - 54ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 0.8477 - mae: 0.7376 - acc: 0.5223 - val_loss: 0.7767 - val_mae: 0.7037 - val_acc: 0.6449 - 2s/epoch - 161ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.7431 - mae: 0.6840 - acc: 0.6466 - val_loss: 0.7407 - val_mae: 0.6844 - val_acc: 0.6420 - 58ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.6827 - mae: 0.6509 - acc: 0.6433 - val_loss: 0.6805 - val_mae: 0.6525 - val_acc: 0.6478 - 62ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.6581 - mae: 0.6373 - acc: 0.6499 - val_loss: 0.6392 - val_mae: 0.6216 - val_acc: 0.6478 - 65ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6351 - mae: 0.6205 - acc: 0.6568 - val_loss: 0.6232 - val_mae: 0.6121 - val_acc: 0.6507 - 64ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "46/46 - 2s - loss: 0.8064 - mae: 0.7207 - acc: 0.5063 - val_loss: 0.6780 - val_mae: 0.6479 - val_acc: 0.6319 - 2s/epoch - 36ms/step\n", - "Epoch 2/5\n", - "46/46 - 0s - loss: 0.6667 - mae: 0.6411 - acc: 0.6539 - val_loss: 0.6412 - val_mae: 0.6231 - val_acc: 0.6536 - 137ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "46/46 - 0s - loss: 0.6370 - mae: 0.6224 - acc: 0.6702 - val_loss: 0.6189 - val_mae: 0.6124 - val_acc: 0.6638 - 133ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "46/46 - 0s - loss: 0.6175 - mae: 0.6110 - acc: 0.6876 - val_loss: 0.6126 - val_mae: 0.6067 - val_acc: 0.6725 - 134ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "46/46 - 0s - loss: 0.6080 - mae: 0.6051 - acc: 0.6897 - val_loss: 0.6065 - val_mae: 0.6027 - val_acc: 0.6826 - 140ms/epoch - 3ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2007/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2007/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model2081015919171244470/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model2081015919171244470/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 1ms/step\n", - "Epoch 1/5\n", - "43/43 - 1s - loss: 1.0415 - mae: 0.8099 - acc: 0.3509 - val_loss: 0.8532 - val_mae: 0.7348 - val_acc: 0.4978 - 1s/epoch - 35ms/step\n", - "Epoch 2/5\n", - "43/43 - 0s - loss: 0.7755 - mae: 0.6982 - acc: 0.6154 - val_loss: 0.7232 - val_mae: 0.6726 - val_acc: 0.6208 - 69ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "43/43 - 0s - loss: 0.6802 - mae: 0.6503 - acc: 0.6495 - val_loss: 0.6632 - val_mae: 0.6415 - val_acc: 0.6325 - 71ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "43/43 - 0s - loss: 0.6361 - mae: 0.6267 - acc: 0.6538 - val_loss: 0.6331 - val_mae: 0.6244 - val_acc: 0.6354 - 70ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "43/43 - 0s - loss: 0.6131 - mae: 0.6130 - acc: 0.6564 - val_loss: 0.6130 - val_mae: 0.6120 - val_acc: 0.6428 - 75ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "86/86 - 2s - loss: 0.6428 - mae: 0.6231 - acc: 0.6722 - val_loss: 0.6115 - val_mae: 0.6041 - val_acc: 0.6999 - 2s/epoch - 23ms/step\n", - "Epoch 2/5\n", - "86/86 - 0s - loss: 0.6031 - mae: 0.6001 - acc: 0.6952 - val_loss: 0.5974 - val_mae: 0.5951 - val_acc: 0.6867 - 221ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "86/86 - 0s - loss: 0.5825 - mae: 0.5857 - acc: 0.6982 - val_loss: 0.5751 - val_mae: 0.5816 - val_acc: 0.6940 - 229ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "86/86 - 0s - loss: 0.5682 - mae: 0.5789 - acc: 0.6978 - val_loss: 0.5691 - val_mae: 0.5794 - val_acc: 0.7057 - 222ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "86/86 - 0s - loss: 0.5696 - mae: 0.5778 - acc: 0.6938 - val_loss: 0.5789 - val_mae: 0.5886 - val_acc: 0.7233 - 231ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "114/114 - 2s - loss: 0.5580 - mae: 0.5795 - acc: 0.7099 - val_loss: 0.5007 - val_mae: 0.5445 - val_acc: 0.7379 - 2s/epoch - 14ms/step\n", - "Epoch 2/5\n", - "114/114 - 0s - loss: 0.4976 - mae: 0.5405 - acc: 0.7330 - val_loss: 0.5195 - val_mae: 0.5503 - val_acc: 0.7130 - 175ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "114/114 - 0s - loss: 0.5079 - mae: 0.5487 - acc: 0.7374 - val_loss: 0.4663 - val_mae: 0.5179 - val_acc: 0.7496 - 188ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "114/114 - 0s - loss: 0.4676 - mae: 0.5246 - acc: 0.7535 - val_loss: 0.4615 - val_mae: 0.5199 - val_acc: 0.7570 - 193ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "114/114 - 0s - loss: 0.4588 - mae: 0.5173 - acc: 0.7593 - val_loss: 0.4765 - val_mae: 0.5223 - val_acc: 0.7570 - 178ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "20/20 - 2s - loss: 0.9866 - mae: 0.8182 - acc: 0.3557 - val_loss: 0.9548 - val_mae: 0.8025 - val_acc: 0.3324 - 2s/epoch - 79ms/step\n", - "Epoch 2/5\n", - "20/20 - 0s - loss: 0.9557 - mae: 0.8041 - acc: 0.3557 - val_loss: 0.9115 - val_mae: 0.7821 - val_acc: 0.3324 - 68ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "20/20 - 0s - loss: 0.8821 - mae: 0.7668 - acc: 0.3557 - val_loss: 0.8324 - val_mae: 0.7397 - val_acc: 0.3324 - 55ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "20/20 - 0s - loss: 0.8039 - mae: 0.7211 - acc: 0.6165 - val_loss: 0.7887 - val_mae: 0.7123 - val_acc: 0.6223 - 57ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "20/20 - 0s - loss: 0.7668 - mae: 0.7003 - acc: 0.6516 - val_loss: 0.7608 - val_mae: 0.6965 - val_acc: 0.6325 - 53ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.8962 - mae: 0.7685 - acc: 0.5421 - val_loss: 0.7813 - val_mae: 0.7056 - val_acc: 0.6325 - 1s/epoch - 142ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7440 - mae: 0.6823 - acc: 0.6465 - val_loss: 0.6626 - val_mae: 0.6333 - val_acc: 0.6281 - 55ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6386 - mae: 0.6190 - acc: 0.6586 - val_loss: 0.6529 - val_mae: 0.6381 - val_acc: 0.6603 - 50ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6263 - mae: 0.6128 - acc: 0.6663 - val_loss: 0.6138 - val_mae: 0.6094 - val_acc: 0.6633 - 61ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6058 - mae: 0.6022 - acc: 0.6722 - val_loss: 0.6247 - val_mae: 0.6146 - val_acc: 0.6589 - 55ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9932 - mae: 0.8213 - acc: 0.3557 - val_loss: 0.9695 - val_mae: 0.8094 - val_acc: 0.3324 - 977ms/epoch - 109ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.9875 - mae: 0.8186 - acc: 0.3557 - val_loss: 0.9681 - val_mae: 0.8084 - val_acc: 0.3324 - 33ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.9849 - mae: 0.8171 - acc: 0.3557 - val_loss: 0.9677 - val_mae: 0.8079 - val_acc: 0.3324 - 34ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.9842 - mae: 0.8165 - acc: 0.3557 - val_loss: 0.9682 - val_mae: 0.8079 - val_acc: 0.3324 - 35ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.9840 - mae: 0.8164 - acc: 0.3557 - val_loss: 0.9681 - val_mae: 0.8078 - val_acc: 0.3324 - 36ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "34/34 - 1s - loss: 0.6204 - mae: 0.6116 - acc: 0.6791 - val_loss: 0.5628 - val_mae: 0.5797 - val_acc: 0.7042 - 1s/epoch - 33ms/step\n", - "Epoch 2/5\n", - "34/34 - 0s - loss: 0.5284 - mae: 0.5577 - acc: 0.7179 - val_loss: 0.5043 - val_mae: 0.5437 - val_acc: 0.7335 - 75ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "34/34 - 0s - loss: 0.5050 - mae: 0.5448 - acc: 0.7330 - val_loss: 0.4987 - val_mae: 0.5414 - val_acc: 0.7496 - 77ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "34/34 - 0s - loss: 0.4820 - mae: 0.5332 - acc: 0.7348 - val_loss: 0.4683 - val_mae: 0.5179 - val_acc: 0.7482 - 76ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "34/34 - 0s - loss: 0.4470 - mae: 0.5099 - acc: 0.7505 - val_loss: 0.4412 - val_mae: 0.5029 - val_acc: 0.7526 - 77ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 0.9948 - mae: 0.8216 - acc: 0.4396 - val_loss: 0.9704 - val_mae: 0.8095 - val_acc: 0.4261 - 2s/epoch - 163ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.9902 - mae: 0.8195 - acc: 0.4593 - val_loss: 0.9665 - val_mae: 0.8076 - val_acc: 0.4524 - 38ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.9843 - mae: 0.8167 - acc: 0.4850 - val_loss: 0.9606 - val_mae: 0.8047 - val_acc: 0.4802 - 40ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.9753 - mae: 0.8122 - acc: 0.5289 - val_loss: 0.9509 - val_mae: 0.8001 - val_acc: 0.5476 - 47ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.9613 - mae: 0.8052 - acc: 0.5842 - val_loss: 0.9350 - val_mae: 0.7923 - val_acc: 0.5886 - 53ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 0.9432 - mae: 0.7965 - acc: 0.5842 - val_loss: 0.7421 - val_mae: 0.6815 - val_acc: 0.6310 - 2s/epoch - 162ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.6634 - mae: 0.6411 - acc: 0.6546 - val_loss: 0.6049 - val_mae: 0.6087 - val_acc: 0.6369 - 58ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.5947 - mae: 0.6039 - acc: 0.6689 - val_loss: 0.5826 - val_mae: 0.5884 - val_acc: 0.6823 - 62ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.5802 - mae: 0.5910 - acc: 0.7004 - val_loss: 0.5915 - val_mae: 0.5961 - val_acc: 0.6969 - 58ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.5730 - mae: 0.5872 - acc: 0.6974 - val_loss: 0.5610 - val_mae: 0.5790 - val_acc: 0.7042 - 63ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.8134 - mae: 0.7212 - acc: 0.5784 - val_loss: 0.6475 - val_mae: 0.6269 - val_acc: 0.6296 - 1s/epoch - 107ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.6134 - mae: 0.6112 - acc: 0.6744 - val_loss: 0.5861 - val_mae: 0.5866 - val_acc: 0.6940 - 45ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.5763 - mae: 0.5880 - acc: 0.7033 - val_loss: 0.5681 - val_mae: 0.5691 - val_acc: 0.7130 - 44ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.5649 - mae: 0.5800 - acc: 0.6996 - val_loss: 0.5502 - val_mae: 0.5677 - val_acc: 0.7160 - 46ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.5385 - mae: 0.5656 - acc: 0.7110 - val_loss: 0.5255 - val_mae: 0.5530 - val_acc: 0.7218 - 44ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "152/152 - 2s - loss: 0.6195 - mae: 0.6119 - acc: 0.6788 - val_loss: 0.5606 - val_mae: 0.5727 - val_acc: 0.6662 - 2s/epoch - 11ms/step\n", - "Epoch 2/5\n", - "152/152 - 0s - loss: 0.5378 - mae: 0.5627 - acc: 0.7106 - val_loss: 0.5430 - val_mae: 0.5659 - val_acc: 0.6837 - 284ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "152/152 - 0s - loss: 0.5210 - mae: 0.5512 - acc: 0.7179 - val_loss: 0.5250 - val_mae: 0.5526 - val_acc: 0.7028 - 296ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "152/152 - 0s - loss: 0.5066 - mae: 0.5436 - acc: 0.7271 - val_loss: 0.5160 - val_mae: 0.5485 - val_acc: 0.7101 - 302ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "152/152 - 0s - loss: 0.5003 - mae: 0.5379 - acc: 0.7271 - val_loss: 0.5154 - val_mae: 0.5430 - val_acc: 0.7174 - 295ms/epoch - 2ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2012/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2012/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model10911901016410129894/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model10911901016410129894/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "9/9 [==============================] - 0s 958us/step\n", - "Epoch 1/5\n", - "40/40 - 1s - loss: 1.1898 - mae: 0.8812 - acc: 0.2077 - val_loss: 1.0179 - val_mae: 0.8217 - val_acc: 0.2965 - 727ms/epoch - 18ms/step\n", - "Epoch 2/5\n", - "40/40 - 0s - loss: 0.9628 - mae: 0.7951 - acc: 0.3972 - val_loss: 0.8804 - val_mae: 0.7603 - val_acc: 0.5126 - 66ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "40/40 - 0s - loss: 0.8527 - mae: 0.7435 - acc: 0.5452 - val_loss: 0.8031 - val_mae: 0.7187 - val_acc: 0.5442 - 65ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "40/40 - 0s - loss: 0.7911 - mae: 0.7106 - acc: 0.5720 - val_loss: 0.7617 - val_mae: 0.6968 - val_acc: 0.5426 - 67ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "40/40 - 0s - loss: 0.7532 - mae: 0.6920 - acc: 0.5792 - val_loss: 0.7331 - val_mae: 0.6822 - val_acc: 0.5615 - 67ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "29/29 - 1s - loss: 0.9417 - mae: 0.7896 - acc: 0.3510 - val_loss: 0.8844 - val_mae: 0.7562 - val_acc: 0.5174 - 1s/epoch - 47ms/step\n", - "Epoch 2/5\n", - "29/29 - 0s - loss: 0.8641 - mae: 0.7469 - acc: 0.5724 - val_loss: 0.8416 - val_mae: 0.7401 - val_acc: 0.5868 - 70ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "29/29 - 0s - loss: 0.8184 - mae: 0.7255 - acc: 0.5934 - val_loss: 0.7921 - val_mae: 0.7113 - val_acc: 0.6057 - 75ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "29/29 - 0s - loss: 0.7571 - mae: 0.6912 - acc: 0.6060 - val_loss: 0.7385 - val_mae: 0.6807 - val_acc: 0.6057 - 71ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "29/29 - 0s - loss: 0.7239 - mae: 0.6728 - acc: 0.6147 - val_loss: 0.7186 - val_mae: 0.6681 - val_acc: 0.6088 - 71ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.7442 - mae: 0.6844 - acc: 0.6076 - val_loss: 0.6377 - val_mae: 0.6225 - val_acc: 0.6372 - 901ms/epoch - 69ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.6195 - mae: 0.6151 - acc: 0.6644 - val_loss: 0.6048 - val_mae: 0.6031 - val_acc: 0.6530 - 49ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.5960 - mae: 0.5991 - acc: 0.6763 - val_loss: 0.5921 - val_mae: 0.5921 - val_acc: 0.6703 - 50ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.5843 - mae: 0.5906 - acc: 0.6779 - val_loss: 0.5794 - val_mae: 0.5834 - val_acc: 0.6861 - 53ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5770 - mae: 0.5853 - acc: 0.6865 - val_loss: 0.5714 - val_mae: 0.5787 - val_acc: 0.6861 - 53ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.8002 - mae: 0.7159 - acc: 0.5713 - val_loss: 0.6933 - val_mae: 0.6498 - val_acc: 0.6751 - 1s/epoch - 113ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.6685 - mae: 0.6407 - acc: 0.6613 - val_loss: 0.6508 - val_mae: 0.6267 - val_acc: 0.6672 - 52ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.6451 - mae: 0.6248 - acc: 0.6664 - val_loss: 0.6252 - val_mae: 0.6140 - val_acc: 0.6845 - 53ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.6058 - mae: 0.6025 - acc: 0.6715 - val_loss: 0.6416 - val_mae: 0.6258 - val_acc: 0.6656 - 54ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6076 - mae: 0.6055 - acc: 0.6723 - val_loss: 0.5937 - val_mae: 0.5973 - val_acc: 0.6782 - 55ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "18/18 - 1s - loss: 0.7495 - mae: 0.6922 - acc: 0.6467 - val_loss: 0.6047 - val_mae: 0.6065 - val_acc: 0.6625 - 829ms/epoch - 46ms/step\n", - "Epoch 2/5\n", - "18/18 - 0s - loss: 0.5803 - mae: 0.5896 - acc: 0.6779 - val_loss: 0.5672 - val_mae: 0.5817 - val_acc: 0.6640 - 48ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "18/18 - 0s - loss: 0.5541 - mae: 0.5737 - acc: 0.6932 - val_loss: 0.5555 - val_mae: 0.5701 - val_acc: 0.6924 - 49ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "18/18 - 0s - loss: 0.5493 - mae: 0.5685 - acc: 0.7051 - val_loss: 0.5437 - val_mae: 0.5664 - val_acc: 0.7224 - 49ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "18/18 - 0s - loss: 0.5398 - mae: 0.5624 - acc: 0.7047 - val_loss: 0.5425 - val_mae: 0.5648 - val_acc: 0.7145 - 50ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "20/20 - 1s - loss: 0.7361 - mae: 0.6821 - acc: 0.6092 - val_loss: 0.6136 - val_mae: 0.6132 - val_acc: 0.6246 - 795ms/epoch - 40ms/step\n", - "Epoch 2/5\n", - "20/20 - 0s - loss: 0.5988 - mae: 0.6058 - acc: 0.6747 - val_loss: 0.5757 - val_mae: 0.5908 - val_acc: 0.6672 - 55ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "20/20 - 0s - loss: 0.5606 - mae: 0.5808 - acc: 0.6972 - val_loss: 0.5416 - val_mae: 0.5690 - val_acc: 0.6987 - 52ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "20/20 - 0s - loss: 0.5347 - mae: 0.5653 - acc: 0.7071 - val_loss: 0.5329 - val_mae: 0.5637 - val_acc: 0.7019 - 54ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "20/20 - 0s - loss: 0.5223 - mae: 0.5570 - acc: 0.7205 - val_loss: 0.5217 - val_mae: 0.5575 - val_acc: 0.6987 - 54ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "212/212 - 1s - loss: 0.5996 - mae: 0.6006 - acc: 0.6640 - val_loss: 0.5292 - val_mae: 0.5630 - val_acc: 0.7161 - 1s/epoch - 5ms/step\n", - "Epoch 2/5\n", - "212/212 - 0s - loss: 0.5208 - mae: 0.5526 - acc: 0.7173 - val_loss: 0.4946 - val_mae: 0.5471 - val_acc: 0.7461 - 257ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "212/212 - 0s - loss: 0.4947 - mae: 0.5391 - acc: 0.7347 - val_loss: 0.4726 - val_mae: 0.5277 - val_acc: 0.7555 - 269ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "212/212 - 0s - loss: 0.4865 - mae: 0.5343 - acc: 0.7442 - val_loss: 0.4581 - val_mae: 0.5170 - val_acc: 0.7603 - 269ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "212/212 - 0s - loss: 0.4536 - mae: 0.5137 - acc: 0.7544 - val_loss: 0.4254 - val_mae: 0.4951 - val_acc: 0.7681 - 272ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "23/23 - 1s - loss: 0.7014 - mae: 0.6566 - acc: 0.6309 - val_loss: 0.5965 - val_mae: 0.5983 - val_acc: 0.6830 - 1s/epoch - 49ms/step\n", - "Epoch 2/5\n", - "23/23 - 0s - loss: 0.5789 - mae: 0.5872 - acc: 0.6763 - val_loss: 0.5784 - val_mae: 0.5831 - val_acc: 0.6861 - 65ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "23/23 - 0s - loss: 0.5654 - mae: 0.5777 - acc: 0.6794 - val_loss: 0.5629 - val_mae: 0.5753 - val_acc: 0.6861 - 70ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "23/23 - 0s - loss: 0.5432 - mae: 0.5645 - acc: 0.6838 - val_loss: 0.5618 - val_mae: 0.5707 - val_acc: 0.6845 - 69ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "23/23 - 0s - loss: 0.5415 - mae: 0.5637 - acc: 0.6917 - val_loss: 0.5446 - val_mae: 0.5626 - val_acc: 0.6924 - 66ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.9969 - mae: 0.8180 - acc: 0.5266 - val_loss: 0.9072 - val_mae: 0.7781 - val_acc: 0.5978 - 787ms/epoch - 98ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.8715 - mae: 0.7550 - acc: 0.6226 - val_loss: 0.8108 - val_mae: 0.7253 - val_acc: 0.6009 - 33ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.7790 - mae: 0.7058 - acc: 0.6277 - val_loss: 0.7407 - val_mae: 0.6852 - val_acc: 0.6041 - 34ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.7164 - mae: 0.6693 - acc: 0.6293 - val_loss: 0.7003 - val_mae: 0.6570 - val_acc: 0.6120 - 42ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6816 - mae: 0.6454 - acc: 0.6352 - val_loss: 0.6783 - val_mae: 0.6438 - val_acc: 0.6104 - 35ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.8242 - mae: 0.7228 - acc: 0.5847 - val_loss: 0.6858 - val_mae: 0.6509 - val_acc: 0.6309 - 1s/epoch - 89ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.6507 - mae: 0.6276 - acc: 0.6735 - val_loss: 0.6494 - val_mae: 0.6251 - val_acc: 0.6767 - 64ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.6254 - mae: 0.6116 - acc: 0.6917 - val_loss: 0.6234 - val_mae: 0.6153 - val_acc: 0.6830 - 66ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.6026 - mae: 0.5984 - acc: 0.6913 - val_loss: 0.5940 - val_mae: 0.5959 - val_acc: 0.6956 - 71ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.5859 - mae: 0.5860 - acc: 0.6976 - val_loss: 0.5981 - val_mae: 0.5976 - val_acc: 0.6893 - 69ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "16/16 - 1s - loss: 0.9923 - mae: 0.8164 - acc: 0.4201 - val_loss: 0.8470 - val_mae: 0.7482 - val_acc: 0.5237 - 681ms/epoch - 43ms/step\n", - "Epoch 2/5\n", - "16/16 - 0s - loss: 0.7487 - mae: 0.6935 - acc: 0.5874 - val_loss: 0.6991 - val_mae: 0.6604 - val_acc: 0.6088 - 39ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "16/16 - 0s - loss: 0.6550 - mae: 0.6408 - acc: 0.6317 - val_loss: 0.6469 - val_mae: 0.6309 - val_acc: 0.6388 - 41ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "16/16 - 0s - loss: 0.6100 - mae: 0.6127 - acc: 0.6478 - val_loss: 0.6084 - val_mae: 0.6064 - val_acc: 0.6451 - 41ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "16/16 - 0s - loss: 0.5847 - mae: 0.5963 - acc: 0.6613 - val_loss: 0.5848 - val_mae: 0.5922 - val_acc: 0.6562 - 43ms/epoch - 3ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2015/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/all_years/optimized_model_2015/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model8485293337709504482/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model8485293337709504482/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "17/17 [==============================] - 0s 727us/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/best_optimized_model_2013/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi3/best_optimized_model_2013/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "=========================================\n", - " GPI 3 done\n", - " aprior performance(RMSE): \n", - "[[0.22654]\n", - " [0.08589]\n", - " [0.00815]]\n", - "=========================================\n", - " post performance(RMSE): \n", - "[[0.03197]\n", - " [0.19132]\n", - " [0.19998]]\n", - "=========================================\n", - "Epoch 1/5\n", - "39/39 - 1s - loss: 1.1086 - mae: 0.8495 - acc: 0.4129 - val_loss: 0.8535 - val_mae: 0.7589 - val_acc: 0.4732 - 724ms/epoch - 19ms/step\n", - "Epoch 2/5\n", - "39/39 - 0s - loss: 0.8364 - mae: 0.7493 - acc: 0.5415 - val_loss: 0.7160 - val_mae: 0.6970 - val_acc: 0.5333 - 64ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "39/39 - 0s - loss: 0.7459 - mae: 0.7020 - acc: 0.5838 - val_loss: 0.6647 - val_mae: 0.6691 - val_acc: 0.5789 - 66ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "39/39 - 0s - loss: 0.7030 - mae: 0.6783 - acc: 0.6094 - val_loss: 0.6279 - val_mae: 0.6483 - val_acc: 0.6114 - 65ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "39/39 - 0s - loss: 0.6673 - mae: 0.6577 - acc: 0.6310 - val_loss: 0.5965 - val_mae: 0.6306 - val_acc: 0.6228 - 69ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.6840 - mae: 0.6660 - acc: 0.6229 - val_loss: 0.5125 - val_mae: 0.5789 - val_acc: 0.7057 - 891ms/epoch - 89ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.5297 - mae: 0.5728 - acc: 0.7221 - val_loss: 0.4776 - val_mae: 0.5525 - val_acc: 0.7285 - 40ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.5046 - mae: 0.5567 - acc: 0.7282 - val_loss: 0.4658 - val_mae: 0.5447 - val_acc: 0.7447 - 42ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.4886 - mae: 0.5452 - acc: 0.7429 - val_loss: 0.4516 - val_mae: 0.5322 - val_acc: 0.7431 - 40ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.4768 - mae: 0.5381 - acc: 0.7453 - val_loss: 0.4459 - val_mae: 0.5260 - val_acc: 0.7480 - 42ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.8726 - mae: 0.7769 - acc: 0.5008 - val_loss: 0.7185 - val_mae: 0.7035 - val_acc: 0.5805 - 669ms/epoch - 56ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.7169 - mae: 0.6893 - acc: 0.6111 - val_loss: 0.5954 - val_mae: 0.6345 - val_acc: 0.6585 - 38ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.6167 - mae: 0.6324 - acc: 0.6713 - val_loss: 0.5251 - val_mae: 0.5890 - val_acc: 0.6813 - 39ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.5647 - mae: 0.5982 - acc: 0.6900 - val_loss: 0.4917 - val_mae: 0.5633 - val_acc: 0.6976 - 39ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.5360 - mae: 0.5785 - acc: 0.7103 - val_loss: 0.4782 - val_mae: 0.5518 - val_acc: 0.7024 - 39ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "30/30 - 1s - loss: 0.8716 - mae: 0.7719 - acc: 0.5309 - val_loss: 0.7480 - val_mae: 0.7181 - val_acc: 0.5951 - 1s/epoch - 46ms/step\n", - "Epoch 2/5\n", - "30/30 - 0s - loss: 0.7597 - mae: 0.7102 - acc: 0.5846 - val_loss: 0.6594 - val_mae: 0.6665 - val_acc: 0.6065 - 92ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "30/30 - 0s - loss: 0.7019 - mae: 0.6725 - acc: 0.6005 - val_loss: 0.6240 - val_mae: 0.6436 - val_acc: 0.6244 - 74ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "30/30 - 0s - loss: 0.6812 - mae: 0.6615 - acc: 0.6151 - val_loss: 0.6132 - val_mae: 0.6347 - val_acc: 0.6325 - 73ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "30/30 - 0s - loss: 0.6670 - mae: 0.6515 - acc: 0.6249 - val_loss: 0.6023 - val_mae: 0.6281 - val_acc: 0.6407 - 71ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "16/16 - 2s - loss: 0.8409 - mae: 0.7489 - acc: 0.4817 - val_loss: 0.5943 - val_mae: 0.6239 - val_acc: 0.6195 - 2s/epoch - 100ms/step\n", - "Epoch 2/5\n", - "16/16 - 0s - loss: 0.6644 - mae: 0.6493 - acc: 0.6225 - val_loss: 0.5771 - val_mae: 0.6143 - val_acc: 0.6374 - 65ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "16/16 - 0s - loss: 0.6102 - mae: 0.6140 - acc: 0.6424 - val_loss: 0.5499 - val_mae: 0.5930 - val_acc: 0.6618 - 69ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "16/16 - 0s - loss: 0.5966 - mae: 0.6060 - acc: 0.6660 - val_loss: 0.5218 - val_mae: 0.5755 - val_acc: 0.7057 - 70ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "16/16 - 0s - loss: 0.5537 - mae: 0.5821 - acc: 0.7111 - val_loss: 0.5317 - val_mae: 0.5821 - val_acc: 0.7285 - 75ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.8024 - mae: 0.7355 - acc: 0.5049 - val_loss: 0.6463 - val_mae: 0.6642 - val_acc: 0.6553 - 1s/epoch - 126ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.6504 - mae: 0.6548 - acc: 0.6383 - val_loss: 0.5746 - val_mae: 0.6160 - val_acc: 0.6130 - 42ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6035 - mae: 0.6197 - acc: 0.6412 - val_loss: 0.5620 - val_mae: 0.6064 - val_acc: 0.6520 - 43ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.5878 - mae: 0.6100 - acc: 0.6672 - val_loss: 0.5447 - val_mae: 0.5958 - val_acc: 0.6748 - 43ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5798 - mae: 0.6078 - acc: 0.6794 - val_loss: 0.5380 - val_mae: 0.5898 - val_acc: 0.6780 - 44ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "99/99 - 1s - loss: 0.7384 - mae: 0.6952 - acc: 0.5785 - val_loss: 0.6008 - val_mae: 0.6285 - val_acc: 0.6439 - 1s/epoch - 13ms/step\n", - "Epoch 2/5\n", - "99/99 - 0s - loss: 0.6456 - mae: 0.6417 - acc: 0.6347 - val_loss: 0.5653 - val_mae: 0.6107 - val_acc: 0.6618 - 182ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "99/99 - 0s - loss: 0.6254 - mae: 0.6305 - acc: 0.6505 - val_loss: 0.5410 - val_mae: 0.5946 - val_acc: 0.6683 - 204ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "99/99 - 0s - loss: 0.6078 - mae: 0.6204 - acc: 0.6517 - val_loss: 0.5451 - val_mae: 0.5992 - val_acc: 0.6699 - 195ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "99/99 - 0s - loss: 0.6013 - mae: 0.6172 - acc: 0.6627 - val_loss: 0.5323 - val_mae: 0.5880 - val_acc: 0.6748 - 198ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "25/25 - 1s - loss: 0.7662 - mae: 0.7116 - acc: 0.5838 - val_loss: 0.5949 - val_mae: 0.6278 - val_acc: 0.6341 - 1s/epoch - 46ms/step\n", - "Epoch 2/5\n", - "25/25 - 0s - loss: 0.6181 - mae: 0.6263 - acc: 0.6591 - val_loss: 0.5331 - val_mae: 0.5850 - val_acc: 0.6829 - 68ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "25/25 - 0s - loss: 0.5700 - mae: 0.5923 - acc: 0.6937 - val_loss: 0.5153 - val_mae: 0.5746 - val_acc: 0.6992 - 76ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "25/25 - 0s - loss: 0.5435 - mae: 0.5770 - acc: 0.7124 - val_loss: 0.5059 - val_mae: 0.5671 - val_acc: 0.7041 - 74ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "25/25 - 0s - loss: 0.5258 - mae: 0.5661 - acc: 0.7160 - val_loss: 0.5016 - val_mae: 0.5659 - val_acc: 0.7122 - 73ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "39/39 - 1s - loss: 0.6179 - mae: 0.6234 - acc: 0.6635 - val_loss: 0.4927 - val_mae: 0.5616 - val_acc: 0.7171 - 835ms/epoch - 21ms/step\n", - "Epoch 2/5\n", - "39/39 - 0s - loss: 0.5203 - mae: 0.5658 - acc: 0.7124 - val_loss: 0.4781 - val_mae: 0.5492 - val_acc: 0.7333 - 69ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "39/39 - 0s - loss: 0.4960 - mae: 0.5496 - acc: 0.7376 - val_loss: 0.4605 - val_mae: 0.5377 - val_acc: 0.7398 - 70ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "39/39 - 0s - loss: 0.4842 - mae: 0.5442 - acc: 0.7376 - val_loss: 0.4661 - val_mae: 0.5400 - val_acc: 0.7333 - 68ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "39/39 - 0s - loss: 0.4777 - mae: 0.5376 - acc: 0.7445 - val_loss: 0.4590 - val_mae: 0.5339 - val_acc: 0.7431 - 72ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.7498 - mae: 0.7052 - acc: 0.5033 - val_loss: 0.5718 - val_mae: 0.6138 - val_acc: 0.6569 - 779ms/epoch - 87ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.5915 - mae: 0.6108 - acc: 0.6770 - val_loss: 0.5205 - val_mae: 0.5780 - val_acc: 0.6699 - 36ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.5545 - mae: 0.5902 - acc: 0.6855 - val_loss: 0.4996 - val_mae: 0.5688 - val_acc: 0.7024 - 43ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.5354 - mae: 0.5779 - acc: 0.7144 - val_loss: 0.5013 - val_mae: 0.5681 - val_acc: 0.7154 - 39ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5237 - mae: 0.5701 - acc: 0.7213 - val_loss: 0.4819 - val_mae: 0.5545 - val_acc: 0.7203 - 35ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "67/67 - 1s - loss: 0.7607 - mae: 0.7096 - acc: 0.6282 - val_loss: 0.5656 - val_mae: 0.6140 - val_acc: 0.6780 - 833ms/epoch - 12ms/step\n", - "Epoch 2/5\n", - "67/67 - 0s - loss: 0.5759 - mae: 0.5999 - acc: 0.6896 - val_loss: 0.5055 - val_mae: 0.5713 - val_acc: 0.7138 - 114ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "67/67 - 0s - loss: 0.5324 - mae: 0.5715 - acc: 0.7217 - val_loss: 0.4937 - val_mae: 0.5602 - val_acc: 0.7236 - 103ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "67/67 - 0s - loss: 0.5152 - mae: 0.5607 - acc: 0.7307 - val_loss: 0.4838 - val_mae: 0.5505 - val_acc: 0.7236 - 105ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "67/67 - 0s - loss: 0.5030 - mae: 0.5533 - acc: 0.7343 - val_loss: 0.4783 - val_mae: 0.5441 - val_acc: 0.7268 - 101ms/epoch - 2ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2014/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2014/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model306252077054972202/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model306252077054972202/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "16/16 [==============================] - 0s 914us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model9164995027607830122/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model9164995027607830122/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "54/54 [==============================] - 0s 764us/step\n", - "Epoch 1/5\n", - "42/42 - 1s - loss: 0.9050 - mae: 0.7781 - acc: 0.5846 - val_loss: 0.7279 - val_mae: 0.7010 - val_acc: 0.6492 - 683ms/epoch - 16ms/step\n", - "Epoch 2/5\n", - "42/42 - 0s - loss: 0.7234 - mae: 0.6830 - acc: 0.6420 - val_loss: 0.5997 - val_mae: 0.6221 - val_acc: 0.6642 - 76ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "42/42 - 0s - loss: 0.6266 - mae: 0.6255 - acc: 0.6458 - val_loss: 0.5390 - val_mae: 0.5834 - val_acc: 0.6657 - 70ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "42/42 - 0s - loss: 0.5886 - mae: 0.6057 - acc: 0.6548 - val_loss: 0.5209 - val_mae: 0.5734 - val_acc: 0.6822 - 72ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "42/42 - 0s - loss: 0.5731 - mae: 0.5969 - acc: 0.6627 - val_loss: 0.5096 - val_mae: 0.5667 - val_acc: 0.6852 - 69ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "29/29 - 1s - loss: 1.6521 - mae: 1.0153 - acc: 0.2101 - val_loss: 1.0918 - val_mae: 0.8660 - val_acc: 0.2084 - 917ms/epoch - 32ms/step\n", - "Epoch 2/5\n", - "29/29 - 0s - loss: 1.0806 - mae: 0.8610 - acc: 0.1985 - val_loss: 0.9480 - val_mae: 0.8152 - val_acc: 0.2399 - 60ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "29/29 - 0s - loss: 1.0054 - mae: 0.8333 - acc: 0.2484 - val_loss: 0.9167 - val_mae: 0.8030 - val_acc: 0.2909 - 64ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "29/29 - 0s - loss: 0.9829 - mae: 0.8253 - acc: 0.3493 - val_loss: 0.9063 - val_mae: 0.7999 - val_acc: 0.3673 - 60ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "29/29 - 0s - loss: 0.9736 - mae: 0.8220 - acc: 0.3752 - val_loss: 0.9008 - val_mae: 0.7976 - val_acc: 0.3658 - 58ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.8737 - mae: 0.7711 - acc: 0.4750 - val_loss: 0.6879 - val_mae: 0.6792 - val_acc: 0.5937 - 817ms/epoch - 82ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.6752 - mae: 0.6618 - acc: 0.6266 - val_loss: 0.5802 - val_mae: 0.6098 - val_acc: 0.6192 - 44ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.5934 - mae: 0.6094 - acc: 0.6424 - val_loss: 0.5363 - val_mae: 0.5858 - val_acc: 0.6552 - 43ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.5574 - mae: 0.5913 - acc: 0.6619 - val_loss: 0.5085 - val_mae: 0.5705 - val_acc: 0.6762 - 44ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.5330 - mae: 0.5757 - acc: 0.6765 - val_loss: 0.4904 - val_mae: 0.5558 - val_acc: 0.6852 - 43ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "11/11 - 2s - loss: 0.8733 - mae: 0.7658 - acc: 0.5644 - val_loss: 0.6979 - val_mae: 0.6875 - val_acc: 0.6042 - 2s/epoch - 147ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.6901 - mae: 0.6658 - acc: 0.6255 - val_loss: 0.6542 - val_mae: 0.6453 - val_acc: 0.6222 - 67ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.6463 - mae: 0.6395 - acc: 0.6409 - val_loss: 0.5894 - val_mae: 0.6148 - val_acc: 0.6657 - 75ms/epoch - 7ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6185 - mae: 0.6254 - acc: 0.6503 - val_loss: 0.5676 - val_mae: 0.6014 - val_acc: 0.6747 - 71ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.5967 - mae: 0.6091 - acc: 0.6638 - val_loss: 0.5629 - val_mae: 0.6024 - val_acc: 0.6717 - 85ms/epoch - 8ms/step\n", - "Epoch 1/5\n", - "17/17 - 1s - loss: 0.8450 - mae: 0.7576 - acc: 0.4540 - val_loss: 0.6523 - val_mae: 0.6567 - val_acc: 0.5757 - 1s/epoch - 77ms/step\n", - "Epoch 2/5\n", - "17/17 - 0s - loss: 0.6548 - mae: 0.6519 - acc: 0.6173 - val_loss: 0.5538 - val_mae: 0.6025 - val_acc: 0.6417 - 61ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "17/17 - 0s - loss: 0.5798 - mae: 0.6054 - acc: 0.6206 - val_loss: 0.5205 - val_mae: 0.5803 - val_acc: 0.6342 - 65ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "17/17 - 0s - loss: 0.5549 - mae: 0.5889 - acc: 0.6323 - val_loss: 0.5199 - val_mae: 0.5744 - val_acc: 0.6387 - 74ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "17/17 - 0s - loss: 0.5434 - mae: 0.5814 - acc: 0.6368 - val_loss: 0.5021 - val_mae: 0.5642 - val_acc: 0.6552 - 64ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 1.0382 - mae: 0.8422 - acc: 0.3073 - val_loss: 0.7023 - val_mae: 0.6887 - val_acc: 0.5937 - 673ms/epoch - 61ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.6681 - mae: 0.6569 - acc: 0.6341 - val_loss: 0.5373 - val_mae: 0.5880 - val_acc: 0.6687 - 36ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.5706 - mae: 0.6003 - acc: 0.6762 - val_loss: 0.5153 - val_mae: 0.5781 - val_acc: 0.6882 - 39ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.5454 - mae: 0.5860 - acc: 0.6690 - val_loss: 0.4927 - val_mae: 0.5608 - val_acc: 0.6912 - 40ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.5233 - mae: 0.5687 - acc: 0.6878 - val_loss: 0.4795 - val_mae: 0.5490 - val_acc: 0.7226 - 38ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "15/15 - 1s - loss: 0.7792 - mae: 0.7143 - acc: 0.5887 - val_loss: 0.5535 - val_mae: 0.5949 - val_acc: 0.6477 - 1s/epoch - 75ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.5939 - mae: 0.6101 - acc: 0.6409 - val_loss: 0.5327 - val_mae: 0.5858 - val_acc: 0.6762 - 48ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.5690 - mae: 0.5941 - acc: 0.6612 - val_loss: 0.5104 - val_mae: 0.5693 - val_acc: 0.6867 - 58ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.5512 - mae: 0.5855 - acc: 0.6773 - val_loss: 0.5043 - val_mae: 0.5647 - val_acc: 0.6897 - 52ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.5422 - mae: 0.5780 - acc: 0.6931 - val_loss: 0.4933 - val_mae: 0.5586 - val_acc: 0.6912 - 71ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.9452 - mae: 0.8058 - acc: 0.5051 - val_loss: 0.8285 - val_mae: 0.7588 - val_acc: 0.5532 - 1s/epoch - 95ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.8550 - mae: 0.7581 - acc: 0.5674 - val_loss: 0.7145 - val_mae: 0.6929 - val_acc: 0.5727 - 48ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.7576 - mae: 0.7000 - acc: 0.5857 - val_loss: 0.6270 - val_mae: 0.6373 - val_acc: 0.6042 - 48ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.6993 - mae: 0.6690 - acc: 0.6098 - val_loss: 0.5976 - val_mae: 0.6198 - val_acc: 0.6177 - 49ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.6673 - mae: 0.6482 - acc: 0.6229 - val_loss: 0.5776 - val_mae: 0.6078 - val_acc: 0.6237 - 49ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "134/134 - 1s - loss: 0.7850 - mae: 0.7169 - acc: 0.5565 - val_loss: 0.5720 - val_mae: 0.6030 - val_acc: 0.6432 - 1s/epoch - 9ms/step\n", - "Epoch 2/5\n", - "134/134 - 0s - loss: 0.6214 - mae: 0.6214 - acc: 0.6582 - val_loss: 0.5356 - val_mae: 0.5835 - val_acc: 0.6957 - 200ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "134/134 - 0s - loss: 0.5901 - mae: 0.6037 - acc: 0.6739 - val_loss: 0.5240 - val_mae: 0.5731 - val_acc: 0.7016 - 200ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "134/134 - 0s - loss: 0.5759 - mae: 0.5958 - acc: 0.6777 - val_loss: 0.5057 - val_mae: 0.5560 - val_acc: 0.7121 - 196ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "134/134 - 0s - loss: 0.5599 - mae: 0.5856 - acc: 0.6874 - val_loss: 0.5167 - val_mae: 0.5688 - val_acc: 0.7046 - 202ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.8383 - mae: 0.7446 - acc: 0.5343 - val_loss: 0.6245 - val_mae: 0.6379 - val_acc: 0.6462 - 1s/epoch - 135ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.6607 - mae: 0.6482 - acc: 0.6281 - val_loss: 0.5728 - val_mae: 0.6039 - val_acc: 0.6687 - 56ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.6226 - mae: 0.6225 - acc: 0.6623 - val_loss: 0.5502 - val_mae: 0.5934 - val_acc: 0.7166 - 58ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.5938 - mae: 0.6036 - acc: 0.6829 - val_loss: 0.5327 - val_mae: 0.5804 - val_acc: 0.7181 - 61ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.5771 - mae: 0.5953 - acc: 0.6867 - val_loss: 0.5300 - val_mae: 0.5785 - val_acc: 0.7211 - 60ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.8902 - mae: 0.7782 - acc: 0.5148 - val_loss: 0.6954 - val_mae: 0.6880 - val_acc: 0.5562 - 1s/epoch - 154ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.6928 - mae: 0.6748 - acc: 0.5910 - val_loss: 0.5697 - val_mae: 0.6085 - val_acc: 0.6012 - 38ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6108 - mae: 0.6245 - acc: 0.6236 - val_loss: 0.5396 - val_mae: 0.5895 - val_acc: 0.6432 - 36ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.5913 - mae: 0.6138 - acc: 0.6450 - val_loss: 0.5297 - val_mae: 0.5847 - val_acc: 0.6537 - 37ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5728 - mae: 0.6014 - acc: 0.6525 - val_loss: 0.5225 - val_mae: 0.5790 - val_acc: 0.6552 - 40ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2011/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2011/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model17817958967229399137/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model17817958967229399137/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 920us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model11410674485896365271/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model11410674485896365271/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "54/54 [==============================] - 0s 789us/step\n", - "Epoch 1/5\n", - "42/42 - 1s - loss: 1.0423 - mae: 0.8491 - acc: 0.2892 - val_loss: 0.8718 - val_mae: 0.7807 - val_acc: 0.4413 - 759ms/epoch - 18ms/step\n", - "Epoch 2/5\n", - "42/42 - 0s - loss: 0.9074 - mae: 0.7829 - acc: 0.5297 - val_loss: 0.7873 - val_mae: 0.7360 - val_acc: 0.5994 - 72ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "42/42 - 0s - loss: 0.8353 - mae: 0.7430 - acc: 0.6032 - val_loss: 0.7287 - val_mae: 0.7031 - val_acc: 0.6250 - 74ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "42/42 - 0s - loss: 0.7785 - mae: 0.7137 - acc: 0.6160 - val_loss: 0.6757 - val_mae: 0.6754 - val_acc: 0.6355 - 79ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "42/42 - 0s - loss: 0.7154 - mae: 0.6829 - acc: 0.6197 - val_loss: 0.6171 - val_mae: 0.6440 - val_acc: 0.6431 - 94ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 0.9692 - mae: 0.8161 - acc: 0.4341 - val_loss: 0.8668 - val_mae: 0.7769 - val_acc: 0.5241 - 2s/epoch - 164ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.8866 - mae: 0.7791 - acc: 0.5659 - val_loss: 0.7468 - val_mae: 0.7193 - val_acc: 0.5964 - 46ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.7501 - mae: 0.7100 - acc: 0.6118 - val_loss: 0.6307 - val_mae: 0.6502 - val_acc: 0.6250 - 47ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.6390 - mae: 0.6437 - acc: 0.6374 - val_loss: 0.5367 - val_mae: 0.5877 - val_acc: 0.6265 - 50ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.5905 - mae: 0.6096 - acc: 0.6393 - val_loss: 0.5251 - val_mae: 0.5798 - val_acc: 0.6446 - 57ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "121/121 - 1s - loss: 0.7390 - mae: 0.7038 - acc: 0.5877 - val_loss: 0.5956 - val_mae: 0.6301 - val_acc: 0.6220 - 1s/epoch - 9ms/step\n", - "Epoch 2/5\n", - "121/121 - 0s - loss: 0.6045 - mae: 0.6249 - acc: 0.6498 - val_loss: 0.5590 - val_mae: 0.6039 - val_acc: 0.6325 - 165ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "121/121 - 0s - loss: 0.5843 - mae: 0.6121 - acc: 0.6634 - val_loss: 0.5414 - val_mae: 0.5907 - val_acc: 0.6491 - 174ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "121/121 - 0s - loss: 0.5746 - mae: 0.6054 - acc: 0.6706 - val_loss: 0.5295 - val_mae: 0.5834 - val_acc: 0.6581 - 170ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "121/121 - 0s - loss: 0.5618 - mae: 0.5976 - acc: 0.6785 - val_loss: 0.5297 - val_mae: 0.5827 - val_acc: 0.6717 - 174ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "13/13 - 2s - loss: 0.8283 - mae: 0.7391 - acc: 0.5840 - val_loss: 0.6747 - val_mae: 0.6601 - val_acc: 0.5738 - 2s/epoch - 134ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.6469 - mae: 0.6437 - acc: 0.6299 - val_loss: 0.5718 - val_mae: 0.6073 - val_acc: 0.6340 - 75ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.5919 - mae: 0.6086 - acc: 0.6559 - val_loss: 0.5204 - val_mae: 0.5730 - val_acc: 0.7018 - 78ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.5535 - mae: 0.5834 - acc: 0.7033 - val_loss: 0.4952 - val_mae: 0.5574 - val_acc: 0.7184 - 82ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5279 - mae: 0.5691 - acc: 0.7199 - val_loss: 0.4908 - val_mae: 0.5513 - val_acc: 0.7304 - 116ms/epoch - 9ms/step\n", - "Epoch 1/5\n", - "17/17 - 1s - loss: 0.8583 - mae: 0.7592 - acc: 0.5930 - val_loss: 0.6589 - val_mae: 0.6683 - val_acc: 0.6280 - 1s/epoch - 62ms/step\n", - "Epoch 2/5\n", - "17/17 - 0s - loss: 0.6490 - mae: 0.6457 - acc: 0.6374 - val_loss: 0.5597 - val_mae: 0.6022 - val_acc: 0.6431 - 51ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "17/17 - 0s - loss: 0.5979 - mae: 0.6142 - acc: 0.6570 - val_loss: 0.5457 - val_mae: 0.5974 - val_acc: 0.6627 - 52ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "17/17 - 0s - loss: 0.5863 - mae: 0.6053 - acc: 0.6709 - val_loss: 0.5379 - val_mae: 0.5894 - val_acc: 0.6792 - 53ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "17/17 - 0s - loss: 0.5760 - mae: 0.6000 - acc: 0.6803 - val_loss: 0.5290 - val_mae: 0.5843 - val_acc: 0.6837 - 61ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "18/18 - 1s - loss: 0.7285 - mae: 0.6890 - acc: 0.6276 - val_loss: 0.5373 - val_mae: 0.5878 - val_acc: 0.6898 - 1s/epoch - 60ms/step\n", - "Epoch 2/5\n", - "18/18 - 0s - loss: 0.5488 - mae: 0.5824 - acc: 0.6931 - val_loss: 0.4940 - val_mae: 0.5605 - val_acc: 0.6973 - 66ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "18/18 - 0s - loss: 0.5102 - mae: 0.5584 - acc: 0.7044 - val_loss: 0.4729 - val_mae: 0.5447 - val_acc: 0.7108 - 69ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "18/18 - 0s - loss: 0.5006 - mae: 0.5528 - acc: 0.7029 - val_loss: 0.4702 - val_mae: 0.5430 - val_acc: 0.7199 - 80ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "18/18 - 0s - loss: 0.4945 - mae: 0.5474 - acc: 0.7101 - val_loss: 0.4718 - val_mae: 0.5483 - val_acc: 0.7184 - 85ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "21/21 - 2s - loss: 0.7179 - mae: 0.6809 - acc: 0.5821 - val_loss: 0.5228 - val_mae: 0.5780 - val_acc: 0.6672 - 2s/epoch - 74ms/step\n", - "Epoch 2/5\n", - "21/21 - 0s - loss: 0.5420 - mae: 0.5800 - acc: 0.6898 - val_loss: 0.4961 - val_mae: 0.5541 - val_acc: 0.6988 - 89ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "21/21 - 0s - loss: 0.5286 - mae: 0.5705 - acc: 0.6943 - val_loss: 0.4857 - val_mae: 0.5465 - val_acc: 0.7244 - 92ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "21/21 - 0s - loss: 0.5067 - mae: 0.5569 - acc: 0.7127 - val_loss: 0.4952 - val_mae: 0.5554 - val_acc: 0.7229 - 97ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "21/21 - 0s - loss: 0.5129 - mae: 0.5609 - acc: 0.7157 - val_loss: 0.5012 - val_mae: 0.5571 - val_acc: 0.7108 - 98ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.8607 - mae: 0.7672 - acc: 0.4495 - val_loss: 0.6648 - val_mae: 0.6772 - val_acc: 0.6190 - 1s/epoch - 175ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.6720 - mae: 0.6633 - acc: 0.6130 - val_loss: 0.5544 - val_mae: 0.6007 - val_acc: 0.6506 - 54ms/epoch - 7ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.6030 - mae: 0.6222 - acc: 0.6434 - val_loss: 0.5327 - val_mae: 0.5873 - val_acc: 0.6611 - 58ms/epoch - 7ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.5765 - mae: 0.6061 - acc: 0.6589 - val_loss: 0.5178 - val_mae: 0.5746 - val_acc: 0.6928 - 58ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.5660 - mae: 0.5957 - acc: 0.6849 - val_loss: 0.5166 - val_mae: 0.5766 - val_acc: 0.6973 - 60ms/epoch - 7ms/step\n", - "Epoch 1/5\n", - "56/56 - 2s - loss: 0.8786 - mae: 0.7706 - acc: 0.5124 - val_loss: 0.7244 - val_mae: 0.7021 - val_acc: 0.5723 - 2s/epoch - 34ms/step\n", - "Epoch 2/5\n", - "56/56 - 0s - loss: 0.7258 - mae: 0.6883 - acc: 0.6141 - val_loss: 0.6646 - val_mae: 0.6657 - val_acc: 0.6084 - 129ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "56/56 - 0s - loss: 0.6946 - mae: 0.6706 - acc: 0.6265 - val_loss: 0.6444 - val_mae: 0.6533 - val_acc: 0.6160 - 135ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "56/56 - 0s - loss: 0.6781 - mae: 0.6610 - acc: 0.6363 - val_loss: 0.6267 - val_mae: 0.6374 - val_acc: 0.6145 - 138ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "56/56 - 0s - loss: 0.6688 - mae: 0.6537 - acc: 0.6344 - val_loss: 0.6308 - val_mae: 0.6457 - val_acc: 0.6130 - 140ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "74/74 - 1s - loss: 0.8761 - mae: 0.7601 - acc: 0.5516 - val_loss: 0.7036 - val_mae: 0.6841 - val_acc: 0.6416 - 992ms/epoch - 13ms/step\n", - "Epoch 2/5\n", - "74/74 - 0s - loss: 0.6643 - mae: 0.6533 - acc: 0.6664 - val_loss: 0.5590 - val_mae: 0.6064 - val_acc: 0.6822 - 113ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "74/74 - 0s - loss: 0.5718 - mae: 0.5987 - acc: 0.7063 - val_loss: 0.5277 - val_mae: 0.5862 - val_acc: 0.7048 - 113ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "74/74 - 0s - loss: 0.5491 - mae: 0.5851 - acc: 0.7112 - val_loss: 0.5091 - val_mae: 0.5716 - val_acc: 0.7123 - 112ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "74/74 - 0s - loss: 0.5358 - mae: 0.5766 - acc: 0.7188 - val_loss: 0.5010 - val_mae: 0.5680 - val_acc: 0.7154 - 114ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.9508 - mae: 0.8055 - acc: 0.4744 - val_loss: 0.8528 - val_mae: 0.7701 - val_acc: 0.5889 - 1s/epoch - 186ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.9063 - mae: 0.7830 - acc: 0.6111 - val_loss: 0.8237 - val_mae: 0.7571 - val_acc: 0.5934 - 35ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.8718 - mae: 0.7667 - acc: 0.6114 - val_loss: 0.7922 - val_mae: 0.7387 - val_acc: 0.6054 - 35ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.8361 - mae: 0.7462 - acc: 0.6224 - val_loss: 0.7589 - val_mae: 0.7193 - val_acc: 0.6130 - 35ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.8056 - mae: 0.7282 - acc: 0.6239 - val_loss: 0.7302 - val_mae: 0.7021 - val_acc: 0.6235 - 38ms/epoch - 5ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2010/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2010/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model3652003951214097314/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model3652003951214097314/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "9/9 [==============================] - 0s 1ms/step\n", - "Epoch 1/5\n", - "42/42 - 1s - loss: 1.0024 - mae: 0.8239 - acc: 0.3696 - val_loss: 0.8273 - val_mae: 0.7520 - val_acc: 0.3688 - 718ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "42/42 - 0s - loss: 0.8222 - mae: 0.7400 - acc: 0.5129 - val_loss: 0.6921 - val_mae: 0.6783 - val_acc: 0.5997 - 75ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "42/42 - 0s - loss: 0.6887 - mae: 0.6674 - acc: 0.6323 - val_loss: 0.5979 - val_mae: 0.6205 - val_acc: 0.6477 - 68ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "42/42 - 0s - loss: 0.6039 - mae: 0.6156 - acc: 0.6450 - val_loss: 0.5382 - val_mae: 0.5847 - val_acc: 0.6432 - 68ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "42/42 - 0s - loss: 0.5580 - mae: 0.5883 - acc: 0.6473 - val_loss: 0.5146 - val_mae: 0.5726 - val_acc: 0.6477 - 72ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.8850 - mae: 0.7797 - acc: 0.4090 - val_loss: 0.7833 - val_mae: 0.7339 - val_acc: 0.5952 - 1s/epoch - 97ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.7941 - mae: 0.7332 - acc: 0.5816 - val_loss: 0.7325 - val_mae: 0.7082 - val_acc: 0.5922 - 63ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.7376 - mae: 0.7018 - acc: 0.5929 - val_loss: 0.6711 - val_mae: 0.6690 - val_acc: 0.5967 - 67ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.6906 - mae: 0.6733 - acc: 0.6056 - val_loss: 0.6424 - val_mae: 0.6562 - val_acc: 0.6117 - 73ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.6695 - mae: 0.6583 - acc: 0.6094 - val_loss: 0.6201 - val_mae: 0.6419 - val_acc: 0.6207 - 74ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.7684 - mae: 0.7035 - acc: 0.5816 - val_loss: 0.5733 - val_mae: 0.6053 - val_acc: 0.6357 - 1s/epoch - 106ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.6066 - mae: 0.6117 - acc: 0.6537 - val_loss: 0.5301 - val_mae: 0.5773 - val_acc: 0.6957 - 60ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.5694 - mae: 0.5894 - acc: 0.6630 - val_loss: 0.5147 - val_mae: 0.5696 - val_acc: 0.6807 - 63ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.5505 - mae: 0.5797 - acc: 0.6732 - val_loss: 0.5049 - val_mae: 0.5562 - val_acc: 0.7166 - 64ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.5397 - mae: 0.5737 - acc: 0.6904 - val_loss: 0.4875 - val_mae: 0.5476 - val_acc: 0.6972 - 63ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "31/31 - 2s - loss: 0.7042 - mae: 0.6780 - acc: 0.5689 - val_loss: 0.5676 - val_mae: 0.6018 - val_acc: 0.6237 - 2s/epoch - 50ms/step\n", - "Epoch 2/5\n", - "31/31 - 0s - loss: 0.6076 - mae: 0.6224 - acc: 0.6371 - val_loss: 0.5742 - val_mae: 0.6096 - val_acc: 0.6267 - 115ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "31/31 - 0s - loss: 0.5911 - mae: 0.6125 - acc: 0.6480 - val_loss: 0.5388 - val_mae: 0.5850 - val_acc: 0.6537 - 115ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "31/31 - 0s - loss: 0.5778 - mae: 0.6041 - acc: 0.6585 - val_loss: 0.5345 - val_mae: 0.5835 - val_acc: 0.6522 - 117ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "31/31 - 0s - loss: 0.5799 - mae: 0.6053 - acc: 0.6578 - val_loss: 0.5492 - val_mae: 0.5975 - val_acc: 0.6537 - 121ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "41/41 - 1s - loss: 0.7894 - mae: 0.7176 - acc: 0.5959 - val_loss: 0.6390 - val_mae: 0.6545 - val_acc: 0.6162 - 1s/epoch - 34ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 0.6684 - mae: 0.6540 - acc: 0.6289 - val_loss: 0.6005 - val_mae: 0.6261 - val_acc: 0.6357 - 96ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.6221 - mae: 0.6254 - acc: 0.6371 - val_loss: 0.5701 - val_mae: 0.6077 - val_acc: 0.6462 - 89ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.5855 - mae: 0.6032 - acc: 0.6439 - val_loss: 0.5443 - val_mae: 0.5900 - val_acc: 0.6462 - 86ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.5693 - mae: 0.5921 - acc: 0.6619 - val_loss: 0.5441 - val_mae: 0.5924 - val_acc: 0.6582 - 88ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.8249 - mae: 0.7466 - acc: 0.3842 - val_loss: 0.6951 - val_mae: 0.6835 - val_acc: 0.6237 - 1s/epoch - 139ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.7222 - mae: 0.6940 - acc: 0.6315 - val_loss: 0.6424 - val_mae: 0.6523 - val_acc: 0.6342 - 47ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.6730 - mae: 0.6622 - acc: 0.6353 - val_loss: 0.5925 - val_mae: 0.6249 - val_acc: 0.6357 - 48ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.6191 - mae: 0.6316 - acc: 0.6364 - val_loss: 0.5522 - val_mae: 0.5934 - val_acc: 0.6387 - 53ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.5956 - mae: 0.6115 - acc: 0.6379 - val_loss: 0.5374 - val_mae: 0.5852 - val_acc: 0.6477 - 51ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "9/9 - 2s - loss: 0.9304 - mae: 0.8020 - acc: 0.5565 - val_loss: 0.7662 - val_mae: 0.7282 - val_acc: 0.6657 - 2s/epoch - 211ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7088 - mae: 0.6773 - acc: 0.6795 - val_loss: 0.5496 - val_mae: 0.5876 - val_acc: 0.7136 - 42ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.5841 - mae: 0.6035 - acc: 0.6957 - val_loss: 0.5396 - val_mae: 0.5825 - val_acc: 0.7181 - 51ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.5556 - mae: 0.5832 - acc: 0.6991 - val_loss: 0.5156 - val_mae: 0.5653 - val_acc: 0.7121 - 43ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5413 - mae: 0.5768 - acc: 0.7062 - val_loss: 0.5164 - val_mae: 0.5703 - val_acc: 0.7151 - 44ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.9640 - mae: 0.8130 - acc: 0.5272 - val_loss: 0.8507 - val_mae: 0.7669 - val_acc: 0.5757 - 1s/epoch - 127ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.8766 - mae: 0.7665 - acc: 0.5914 - val_loss: 0.7304 - val_mae: 0.7011 - val_acc: 0.5922 - 49ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.7658 - mae: 0.7085 - acc: 0.6049 - val_loss: 0.6295 - val_mae: 0.6447 - val_acc: 0.6027 - 50ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6894 - mae: 0.6626 - acc: 0.6199 - val_loss: 0.5877 - val_mae: 0.6142 - val_acc: 0.6207 - 50ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.6514 - mae: 0.6395 - acc: 0.6255 - val_loss: 0.5606 - val_mae: 0.6017 - val_acc: 0.6237 - 50ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "9/9 - 2s - loss: 0.9439 - mae: 0.8042 - acc: 0.5655 - val_loss: 0.8035 - val_mae: 0.7473 - val_acc: 0.5817 - 2s/epoch - 184ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7748 - mae: 0.7186 - acc: 0.6101 - val_loss: 0.6276 - val_mae: 0.6411 - val_acc: 0.6147 - 57ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6453 - mae: 0.6388 - acc: 0.6259 - val_loss: 0.5764 - val_mae: 0.6123 - val_acc: 0.6282 - 69ms/epoch - 8ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6049 - mae: 0.6178 - acc: 0.6353 - val_loss: 0.5530 - val_mae: 0.5931 - val_acc: 0.6237 - 75ms/epoch - 8ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5814 - mae: 0.6021 - acc: 0.6413 - val_loss: 0.5452 - val_mae: 0.5920 - val_acc: 0.6282 - 66ms/epoch - 7ms/step\n", - "Epoch 1/5\n", - "96/96 - 2s - loss: 0.9162 - mae: 0.7809 - acc: 0.4619 - val_loss: 0.7705 - val_mae: 0.7118 - val_acc: 0.6027 - 2s/epoch - 19ms/step\n", - "Epoch 2/5\n", - "96/96 - 0s - loss: 0.8156 - mae: 0.7228 - acc: 0.6278 - val_loss: 0.7229 - val_mae: 0.6886 - val_acc: 0.6117 - 171ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "96/96 - 0s - loss: 0.7473 - mae: 0.6889 - acc: 0.6386 - val_loss: 0.6523 - val_mae: 0.6500 - val_acc: 0.6192 - 173ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "96/96 - 0s - loss: 0.6757 - mae: 0.6514 - acc: 0.6465 - val_loss: 0.6043 - val_mae: 0.6230 - val_acc: 0.6312 - 199ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "96/96 - 0s - loss: 0.6357 - mae: 0.6301 - acc: 0.6492 - val_loss: 0.5745 - val_mae: 0.6063 - val_acc: 0.6372 - 216ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "24/24 - 2s - loss: 0.8496 - mae: 0.7623 - acc: 0.5794 - val_loss: 0.7029 - val_mae: 0.6912 - val_acc: 0.6027 - 2s/epoch - 66ms/step\n", - "Epoch 2/5\n", - "24/24 - 0s - loss: 0.7211 - mae: 0.6930 - acc: 0.6094 - val_loss: 0.6467 - val_mae: 0.6577 - val_acc: 0.6447 - 58ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "24/24 - 0s - loss: 0.6735 - mae: 0.6651 - acc: 0.6507 - val_loss: 0.6041 - val_mae: 0.6321 - val_acc: 0.6612 - 58ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "24/24 - 0s - loss: 0.6305 - mae: 0.6396 - acc: 0.6420 - val_loss: 0.5688 - val_mae: 0.6106 - val_acc: 0.6432 - 62ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "24/24 - 0s - loss: 0.5999 - mae: 0.6199 - acc: 0.6383 - val_loss: 0.5454 - val_mae: 0.5922 - val_acc: 0.6477 - 58ms/epoch - 2ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2008/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2008/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model3583827621865369501/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model3583827621865369501/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 3ms/step\n", - "Epoch 1/5\n", - "39/39 - 1s - loss: 1.0060 - mae: 0.8301 - acc: 0.3756 - val_loss: 0.9035 - val_mae: 0.7948 - val_acc: 0.3916 - 758ms/epoch - 19ms/step\n", - "Epoch 2/5\n", - "39/39 - 0s - loss: 0.9090 - mae: 0.7885 - acc: 0.4579 - val_loss: 0.8396 - val_mae: 0.7649 - val_acc: 0.5566 - 75ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "39/39 - 0s - loss: 0.8409 - mae: 0.7528 - acc: 0.6001 - val_loss: 0.7750 - val_mae: 0.7287 - val_acc: 0.6197 - 79ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "39/39 - 0s - loss: 0.7700 - mae: 0.7100 - acc: 0.6317 - val_loss: 0.7019 - val_mae: 0.6832 - val_acc: 0.6440 - 81ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "39/39 - 0s - loss: 0.6812 - mae: 0.6606 - acc: 0.6394 - val_loss: 0.6074 - val_mae: 0.6312 - val_acc: 0.6602 - 82ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "16/16 - 2s - loss: 0.8612 - mae: 0.7686 - acc: 0.4319 - val_loss: 0.7128 - val_mae: 0.6981 - val_acc: 0.6197 - 2s/epoch - 108ms/step\n", - "Epoch 2/5\n", - "16/16 - 0s - loss: 0.6974 - mae: 0.6790 - acc: 0.6495 - val_loss: 0.6643 - val_mae: 0.6691 - val_acc: 0.6311 - 80ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "16/16 - 0s - loss: 0.6559 - mae: 0.6556 - acc: 0.6491 - val_loss: 0.6106 - val_mae: 0.6371 - val_acc: 0.6294 - 85ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "16/16 - 0s - loss: 0.5840 - mae: 0.6108 - acc: 0.6491 - val_loss: 0.5657 - val_mae: 0.6017 - val_acc: 0.6359 - 81ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "16/16 - 0s - loss: 0.5647 - mae: 0.5961 - acc: 0.6519 - val_loss: 0.5514 - val_mae: 0.5950 - val_acc: 0.6327 - 84ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "7/7 - 2s - loss: 0.8521 - mae: 0.7596 - acc: 0.5620 - val_loss: 0.7088 - val_mae: 0.6890 - val_acc: 0.6165 - 2s/epoch - 242ms/step\n", - "Epoch 2/5\n", - "7/7 - 0s - loss: 0.7070 - mae: 0.6709 - acc: 0.6374 - val_loss: 0.6348 - val_mae: 0.6385 - val_acc: 0.6149 - 43ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "7/7 - 0s - loss: 0.6437 - mae: 0.6333 - acc: 0.6357 - val_loss: 0.5877 - val_mae: 0.6160 - val_acc: 0.6327 - 47ms/epoch - 7ms/step\n", - "Epoch 4/5\n", - "7/7 - 0s - loss: 0.6105 - mae: 0.6191 - acc: 0.6487 - val_loss: 0.5690 - val_mae: 0.6029 - val_acc: 0.6408 - 43ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "7/7 - 0s - loss: 0.5878 - mae: 0.6040 - acc: 0.6483 - val_loss: 0.5552 - val_mae: 0.5920 - val_acc: 0.6489 - 46ms/epoch - 7ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.8669 - mae: 0.7673 - acc: 0.4647 - val_loss: 0.7413 - val_mae: 0.7086 - val_acc: 0.6311 - 1s/epoch - 164ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.7048 - mae: 0.6718 - acc: 0.6536 - val_loss: 0.6026 - val_mae: 0.6218 - val_acc: 0.6375 - 39ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.5988 - mae: 0.6104 - acc: 0.6532 - val_loss: 0.5881 - val_mae: 0.6130 - val_acc: 0.6408 - 38ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.5795 - mae: 0.5985 - acc: 0.6588 - val_loss: 0.5660 - val_mae: 0.6040 - val_acc: 0.6408 - 41ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.5617 - mae: 0.5891 - acc: 0.6600 - val_loss: 0.5422 - val_mae: 0.5843 - val_acc: 0.6392 - 39ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "64/64 - 1s - loss: 0.6298 - mae: 0.6320 - acc: 0.6447 - val_loss: 0.5179 - val_mae: 0.5653 - val_acc: 0.6861 - 1s/epoch - 22ms/step\n", - "Epoch 2/5\n", - "64/64 - 0s - loss: 0.5104 - mae: 0.5588 - acc: 0.6949 - val_loss: 0.4902 - val_mae: 0.5497 - val_acc: 0.6942 - 120ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "64/64 - 0s - loss: 0.4921 - mae: 0.5480 - acc: 0.7034 - val_loss: 0.4788 - val_mae: 0.5432 - val_acc: 0.7104 - 116ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "64/64 - 0s - loss: 0.4776 - mae: 0.5397 - acc: 0.7127 - val_loss: 0.4741 - val_mae: 0.5387 - val_acc: 0.7201 - 122ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "64/64 - 0s - loss: 0.4687 - mae: 0.5341 - acc: 0.7156 - val_loss: 0.4614 - val_mae: 0.5316 - val_acc: 0.7249 - 139ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "42/42 - 1s - loss: 0.6537 - mae: 0.6496 - acc: 0.6548 - val_loss: 0.5204 - val_mae: 0.5751 - val_acc: 0.6796 - 1s/epoch - 24ms/step\n", - "Epoch 2/5\n", - "42/42 - 0s - loss: 0.5130 - mae: 0.5631 - acc: 0.6981 - val_loss: 0.5029 - val_mae: 0.5651 - val_acc: 0.6926 - 83ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "42/42 - 0s - loss: 0.4953 - mae: 0.5513 - acc: 0.7062 - val_loss: 0.4879 - val_mae: 0.5551 - val_acc: 0.7104 - 79ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "42/42 - 0s - loss: 0.4824 - mae: 0.5432 - acc: 0.7249 - val_loss: 0.4782 - val_mae: 0.5475 - val_acc: 0.7249 - 89ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "42/42 - 0s - loss: 0.4749 - mae: 0.5378 - acc: 0.7297 - val_loss: 0.4742 - val_mae: 0.5412 - val_acc: 0.7282 - 86ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.9340 - mae: 0.7838 - acc: 0.3768 - val_loss: 0.8470 - val_mae: 0.7545 - val_acc: 0.4126 - 742ms/epoch - 67ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.8771 - mae: 0.7602 - acc: 0.4323 - val_loss: 0.8014 - val_mae: 0.7344 - val_acc: 0.4579 - 45ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.8318 - mae: 0.7400 - acc: 0.5008 - val_loss: 0.7652 - val_mae: 0.7173 - val_acc: 0.5356 - 40ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.7950 - mae: 0.7217 - acc: 0.5737 - val_loss: 0.7333 - val_mae: 0.7007 - val_acc: 0.6084 - 39ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.7611 - mae: 0.7035 - acc: 0.6252 - val_loss: 0.7040 - val_mae: 0.6841 - val_acc: 0.6553 - 39ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "17/17 - 2s - loss: 0.8306 - mae: 0.7470 - acc: 0.4830 - val_loss: 0.6636 - val_mae: 0.6620 - val_acc: 0.6117 - 2s/epoch - 90ms/step\n", - "Epoch 2/5\n", - "17/17 - 0s - loss: 0.6455 - mae: 0.6427 - acc: 0.6353 - val_loss: 0.5777 - val_mae: 0.6126 - val_acc: 0.6796 - 72ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "17/17 - 0s - loss: 0.5867 - mae: 0.6066 - acc: 0.6835 - val_loss: 0.5779 - val_mae: 0.6052 - val_acc: 0.6861 - 95ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "17/17 - 0s - loss: 0.5687 - mae: 0.5936 - acc: 0.6953 - val_loss: 0.5377 - val_mae: 0.5769 - val_acc: 0.7136 - 78ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "17/17 - 0s - loss: 0.5471 - mae: 0.5789 - acc: 0.7172 - val_loss: 0.5334 - val_mae: 0.5741 - val_acc: 0.7120 - 83ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "86/86 - 1s - loss: 0.6637 - mae: 0.6541 - acc: 0.6203 - val_loss: 0.5230 - val_mae: 0.5788 - val_acc: 0.6424 - 1s/epoch - 13ms/step\n", - "Epoch 2/5\n", - "86/86 - 0s - loss: 0.5246 - mae: 0.5701 - acc: 0.6722 - val_loss: 0.4915 - val_mae: 0.5533 - val_acc: 0.6877 - 141ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "86/86 - 0s - loss: 0.5050 - mae: 0.5555 - acc: 0.6973 - val_loss: 0.4862 - val_mae: 0.5506 - val_acc: 0.7023 - 144ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "86/86 - 0s - loss: 0.4925 - mae: 0.5499 - acc: 0.7066 - val_loss: 0.4789 - val_mae: 0.5432 - val_acc: 0.7087 - 140ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "86/86 - 0s - loss: 0.4868 - mae: 0.5457 - acc: 0.7083 - val_loss: 0.4737 - val_mae: 0.5402 - val_acc: 0.7087 - 136ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.7690 - mae: 0.7145 - acc: 0.5774 - val_loss: 0.5728 - val_mae: 0.6033 - val_acc: 0.6278 - 1s/epoch - 111ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.5635 - mae: 0.5968 - acc: 0.6690 - val_loss: 0.5127 - val_mae: 0.5688 - val_acc: 0.6699 - 44ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.5111 - mae: 0.5620 - acc: 0.6888 - val_loss: 0.4879 - val_mae: 0.5484 - val_acc: 0.6893 - 44ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.4916 - mae: 0.5489 - acc: 0.7083 - val_loss: 0.4800 - val_mae: 0.5412 - val_acc: 0.7055 - 48ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.4778 - mae: 0.5383 - acc: 0.7233 - val_loss: 0.4798 - val_mae: 0.5398 - val_acc: 0.7087 - 44ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "309/309 - 1s - loss: 0.6378 - mae: 0.6330 - acc: 0.6698 - val_loss: 0.5304 - val_mae: 0.5757 - val_acc: 0.7249 - 1s/epoch - 5ms/step\n", - "Epoch 2/5\n", - "309/309 - 1s - loss: 0.5236 - mae: 0.5653 - acc: 0.7293 - val_loss: 0.4891 - val_mae: 0.5500 - val_acc: 0.7379 - 565ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "309/309 - 0s - loss: 0.5037 - mae: 0.5549 - acc: 0.7273 - val_loss: 0.4700 - val_mae: 0.5338 - val_acc: 0.7411 - 442ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "309/309 - 0s - loss: 0.4892 - mae: 0.5467 - acc: 0.7326 - val_loss: 0.4617 - val_mae: 0.5321 - val_acc: 0.7589 - 412ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "309/309 - 0s - loss: 0.4780 - mae: 0.5391 - acc: 0.7314 - val_loss: 0.4531 - val_mae: 0.5231 - val_acc: 0.7443 - 396ms/epoch - 1ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2013/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2013/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model12568862808965520559/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model12568862808965520559/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "16/16 [==============================] - 0s 967us/step\n", - "Epoch 1/5\n", - "39/39 - 1s - loss: 1.1037 - mae: 0.8564 - acc: 0.2599 - val_loss: 0.9292 - val_mae: 0.7910 - val_acc: 0.2668 - 681ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "39/39 - 0s - loss: 0.9461 - mae: 0.7915 - acc: 0.3197 - val_loss: 0.8101 - val_mae: 0.7364 - val_acc: 0.3993 - 62ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "39/39 - 0s - loss: 0.8316 - mae: 0.7328 - acc: 0.4499 - val_loss: 0.7169 - val_mae: 0.6818 - val_acc: 0.5172 - 71ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "39/39 - 0s - loss: 0.7485 - mae: 0.6854 - acc: 0.5727 - val_loss: 0.6588 - val_mae: 0.6493 - val_acc: 0.6023 - 71ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "39/39 - 0s - loss: 0.6967 - mae: 0.6579 - acc: 0.6062 - val_loss: 0.6213 - val_mae: 0.6296 - val_acc: 0.6170 - 66ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "19/19 - 1s - loss: 0.9799 - mae: 0.8172 - acc: 0.3205 - val_loss: 0.9009 - val_mae: 0.7908 - val_acc: 0.3535 - 772ms/epoch - 41ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.9763 - mae: 0.8174 - acc: 0.3680 - val_loss: 0.8997 - val_mae: 0.7923 - val_acc: 0.3535 - 39ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.9738 - mae: 0.8175 - acc: 0.3680 - val_loss: 0.8997 - val_mae: 0.7930 - val_acc: 0.3535 - 39ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.9727 - mae: 0.8177 - acc: 0.3680 - val_loss: 0.9000 - val_mae: 0.7939 - val_acc: 0.3535 - 42ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.9722 - mae: 0.8180 - acc: 0.3680 - val_loss: 0.9004 - val_mae: 0.7944 - val_acc: 0.3535 - 42ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.8750 - mae: 0.7632 - acc: 0.3058 - val_loss: 0.6719 - val_mae: 0.6702 - val_acc: 0.4435 - 848ms/epoch - 77ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.6898 - mae: 0.6715 - acc: 0.5297 - val_loss: 0.6321 - val_mae: 0.6475 - val_acc: 0.6498 - 32ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.6521 - mae: 0.6481 - acc: 0.6549 - val_loss: 0.5947 - val_mae: 0.6262 - val_acc: 0.6628 - 38ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6189 - mae: 0.6292 - acc: 0.6643 - val_loss: 0.5581 - val_mae: 0.6016 - val_acc: 0.6694 - 34ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.5809 - mae: 0.6060 - acc: 0.6697 - val_loss: 0.5215 - val_mae: 0.5771 - val_acc: 0.6645 - 35ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.8552 - mae: 0.7535 - acc: 0.4765 - val_loss: 0.6416 - val_mae: 0.6467 - val_acc: 0.5941 - 1s/epoch - 124ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.6516 - mae: 0.6426 - acc: 0.5984 - val_loss: 0.5941 - val_mae: 0.6186 - val_acc: 0.6023 - 53ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.6208 - mae: 0.6251 - acc: 0.6132 - val_loss: 0.5650 - val_mae: 0.5979 - val_acc: 0.6088 - 56ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.5962 - mae: 0.6081 - acc: 0.6255 - val_loss: 0.5506 - val_mae: 0.5894 - val_acc: 0.6203 - 71ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.5906 - mae: 0.6060 - acc: 0.6287 - val_loss: 0.5499 - val_mae: 0.5860 - val_acc: 0.6252 - 88ms/epoch - 8ms/step\n", - "Epoch 1/5\n", - "17/17 - 1s - loss: 0.8874 - mae: 0.7643 - acc: 0.5350 - val_loss: 0.7467 - val_mae: 0.6998 - val_acc: 0.6187 - 1s/epoch - 76ms/step\n", - "Epoch 2/5\n", - "17/17 - 0s - loss: 0.7578 - mae: 0.6985 - acc: 0.6169 - val_loss: 0.6030 - val_mae: 0.6231 - val_acc: 0.6318 - 45ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "17/17 - 0s - loss: 0.6046 - mae: 0.6126 - acc: 0.6279 - val_loss: 0.5255 - val_mae: 0.5690 - val_acc: 0.6334 - 50ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "17/17 - 0s - loss: 0.5640 - mae: 0.5892 - acc: 0.6267 - val_loss: 0.5118 - val_mae: 0.5607 - val_acc: 0.6367 - 50ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "17/17 - 0s - loss: 0.5535 - mae: 0.5821 - acc: 0.6361 - val_loss: 0.5037 - val_mae: 0.5558 - val_acc: 0.6367 - 47ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "19/19 - 1s - loss: 0.8640 - mae: 0.7577 - acc: 0.5632 - val_loss: 0.6758 - val_mae: 0.6746 - val_acc: 0.6187 - 1s/epoch - 72ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.7049 - mae: 0.6725 - acc: 0.6009 - val_loss: 0.6288 - val_mae: 0.6409 - val_acc: 0.6367 - 56ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.6780 - mae: 0.6549 - acc: 0.6025 - val_loss: 0.5964 - val_mae: 0.6229 - val_acc: 0.6383 - 58ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.6342 - mae: 0.6314 - acc: 0.6177 - val_loss: 0.5636 - val_mae: 0.5987 - val_acc: 0.6579 - 58ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.6062 - mae: 0.6126 - acc: 0.6324 - val_loss: 0.5448 - val_mae: 0.5877 - val_acc: 0.6743 - 74ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "7/7 - 1s - loss: 0.8867 - mae: 0.7718 - acc: 0.5604 - val_loss: 0.7139 - val_mae: 0.6933 - val_acc: 0.6334 - 908ms/epoch - 130ms/step\n", - "Epoch 2/5\n", - "7/7 - 0s - loss: 0.7160 - mae: 0.6748 - acc: 0.6324 - val_loss: 0.6026 - val_mae: 0.6182 - val_acc: 0.6416 - 29ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "7/7 - 0s - loss: 0.6338 - mae: 0.6251 - acc: 0.6410 - val_loss: 0.5593 - val_mae: 0.5962 - val_acc: 0.6432 - 29ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "7/7 - 0s - loss: 0.5866 - mae: 0.5999 - acc: 0.6443 - val_loss: 0.5224 - val_mae: 0.5686 - val_acc: 0.6530 - 29ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "7/7 - 0s - loss: 0.5621 - mae: 0.5848 - acc: 0.6451 - val_loss: 0.5106 - val_mae: 0.5615 - val_acc: 0.6579 - 31ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "11/11 - 2s - loss: 0.8517 - mae: 0.7544 - acc: 0.4433 - val_loss: 0.6864 - val_mae: 0.6780 - val_acc: 0.4894 - 2s/epoch - 145ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.6978 - mae: 0.6711 - acc: 0.5387 - val_loss: 0.5782 - val_mae: 0.6106 - val_acc: 0.5941 - 59ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.6312 - mae: 0.6318 - acc: 0.6115 - val_loss: 0.5508 - val_mae: 0.5902 - val_acc: 0.6056 - 56ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6080 - mae: 0.6170 - acc: 0.6214 - val_loss: 0.5417 - val_mae: 0.5829 - val_acc: 0.6137 - 59ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.6040 - mae: 0.6171 - acc: 0.6291 - val_loss: 0.5434 - val_mae: 0.5837 - val_acc: 0.6252 - 60ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.9282 - mae: 0.7855 - acc: 0.4986 - val_loss: 0.7991 - val_mae: 0.7272 - val_acc: 0.5483 - 1s/epoch - 85ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.8396 - mae: 0.7363 - acc: 0.5886 - val_loss: 0.7485 - val_mae: 0.7066 - val_acc: 0.5908 - 63ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.7707 - mae: 0.7063 - acc: 0.5858 - val_loss: 0.6774 - val_mae: 0.6705 - val_acc: 0.5827 - 48ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.7004 - mae: 0.6663 - acc: 0.6029 - val_loss: 0.6442 - val_mae: 0.6464 - val_acc: 0.5892 - 54ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.6704 - mae: 0.6491 - acc: 0.6038 - val_loss: 0.6280 - val_mae: 0.6372 - val_acc: 0.6137 - 53ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "19/19 - 2s - loss: 0.6866 - mae: 0.6639 - acc: 0.5162 - val_loss: 0.5229 - val_mae: 0.5740 - val_acc: 0.6301 - 2s/epoch - 83ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.5564 - mae: 0.5866 - acc: 0.6234 - val_loss: 0.5031 - val_mae: 0.5598 - val_acc: 0.6367 - 56ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.5396 - mae: 0.5766 - acc: 0.6394 - val_loss: 0.5054 - val_mae: 0.5629 - val_acc: 0.6448 - 59ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.5361 - mae: 0.5739 - acc: 0.6521 - val_loss: 0.4925 - val_mae: 0.5513 - val_acc: 0.6530 - 62ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.5235 - mae: 0.5654 - acc: 0.6709 - val_loss: 0.4871 - val_mae: 0.5499 - val_acc: 0.6628 - 58ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "30/30 - 2s - loss: 0.7188 - mae: 0.6800 - acc: 0.6238 - val_loss: 0.5177 - val_mae: 0.5751 - val_acc: 0.6759 - 2s/epoch - 51ms/step\n", - "Epoch 2/5\n", - "30/30 - 0s - loss: 0.5658 - mae: 0.5920 - acc: 0.6607 - val_loss: 0.5127 - val_mae: 0.5732 - val_acc: 0.6792 - 107ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "30/30 - 0s - loss: 0.5508 - mae: 0.5833 - acc: 0.6905 - val_loss: 0.4959 - val_mae: 0.5605 - val_acc: 0.6989 - 105ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "30/30 - 0s - loss: 0.5349 - mae: 0.5724 - acc: 0.7028 - val_loss: 0.4880 - val_mae: 0.5518 - val_acc: 0.7021 - 110ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "30/30 - 0s - loss: 0.5247 - mae: 0.5675 - acc: 0.6991 - val_loss: 0.4839 - val_mae: 0.5527 - val_acc: 0.7054 - 114ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2016/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2016/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model6432748872701074406/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model6432748872701074406/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "17/17 [==============================] - 0s 892us/step\n", - "Epoch 1/5\n", - "42/42 - 1s - loss: 0.8847 - mae: 0.7606 - acc: 0.4750 - val_loss: 0.7611 - val_mae: 0.7104 - val_acc: 0.5742 - 632ms/epoch - 15ms/step\n", - "Epoch 2/5\n", - "42/42 - 0s - loss: 0.7585 - mae: 0.6972 - acc: 0.6139 - val_loss: 0.6494 - val_mae: 0.6484 - val_acc: 0.6027 - 62ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "42/42 - 0s - loss: 0.6609 - mae: 0.6463 - acc: 0.6236 - val_loss: 0.5823 - val_mae: 0.6131 - val_acc: 0.6177 - 68ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "42/42 - 0s - loss: 0.6128 - mae: 0.6196 - acc: 0.6338 - val_loss: 0.5517 - val_mae: 0.5935 - val_acc: 0.6357 - 74ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "42/42 - 0s - loss: 0.5911 - mae: 0.6079 - acc: 0.6525 - val_loss: 0.5366 - val_mae: 0.5852 - val_acc: 0.6567 - 66ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "71/71 - 1s - loss: 0.6368 - mae: 0.6351 - acc: 0.6150 - val_loss: 0.5335 - val_mae: 0.5881 - val_acc: 0.6672 - 1s/epoch - 17ms/step\n", - "Epoch 2/5\n", - "71/71 - 0s - loss: 0.5369 - mae: 0.5742 - acc: 0.6717 - val_loss: 0.4867 - val_mae: 0.5544 - val_acc: 0.7241 - 113ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "71/71 - 0s - loss: 0.5085 - mae: 0.5545 - acc: 0.7159 - val_loss: 0.4690 - val_mae: 0.5334 - val_acc: 0.7361 - 135ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "71/71 - 0s - loss: 0.4907 - mae: 0.5430 - acc: 0.7261 - val_loss: 0.4588 - val_mae: 0.5288 - val_acc: 0.7421 - 113ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "71/71 - 0s - loss: 0.4819 - mae: 0.5380 - acc: 0.7366 - val_loss: 0.4501 - val_mae: 0.5245 - val_acc: 0.7661 - 111ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 1.1546 - mae: 0.8832 - acc: 0.2871 - val_loss: 0.9917 - val_mae: 0.8319 - val_acc: 0.3088 - 675ms/epoch - 67ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 1.0205 - mae: 0.8372 - acc: 0.3764 - val_loss: 0.8954 - val_mae: 0.7953 - val_acc: 0.4228 - 31ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.9267 - mae: 0.7993 - acc: 0.4931 - val_loss: 0.8151 - val_mae: 0.7590 - val_acc: 0.5547 - 32ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.8447 - mae: 0.7605 - acc: 0.5850 - val_loss: 0.7423 - val_mae: 0.7202 - val_acc: 0.6027 - 32ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.7724 - mae: 0.7222 - acc: 0.6173 - val_loss: 0.6762 - val_mae: 0.6809 - val_acc: 0.6207 - 32ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "20/20 - 1s - loss: 0.9140 - mae: 0.7876 - acc: 0.5317 - val_loss: 0.7251 - val_mae: 0.6991 - val_acc: 0.6432 - 1s/epoch - 51ms/step\n", - "Epoch 2/5\n", - "20/20 - 0s - loss: 0.6859 - mae: 0.6644 - acc: 0.6563 - val_loss: 0.5340 - val_mae: 0.5823 - val_acc: 0.7031 - 52ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "20/20 - 0s - loss: 0.5619 - mae: 0.5918 - acc: 0.7099 - val_loss: 0.5059 - val_mae: 0.5623 - val_acc: 0.7106 - 47ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "20/20 - 0s - loss: 0.5296 - mae: 0.5694 - acc: 0.7189 - val_loss: 0.4884 - val_mae: 0.5518 - val_acc: 0.7331 - 47ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "20/20 - 0s - loss: 0.5041 - mae: 0.5532 - acc: 0.7253 - val_loss: 0.4838 - val_mae: 0.5427 - val_acc: 0.7331 - 46ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "27/27 - 1s - loss: 0.9288 - mae: 0.7874 - acc: 0.4338 - val_loss: 0.8005 - val_mae: 0.7326 - val_acc: 0.6327 - 1s/epoch - 37ms/step\n", - "Epoch 2/5\n", - "27/27 - 0s - loss: 0.8462 - mae: 0.7400 - acc: 0.6296 - val_loss: 0.7544 - val_mae: 0.7093 - val_acc: 0.6342 - 53ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "27/27 - 0s - loss: 0.8024 - mae: 0.7188 - acc: 0.6323 - val_loss: 0.7121 - val_mae: 0.6875 - val_acc: 0.6372 - 58ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "27/27 - 0s - loss: 0.7589 - mae: 0.6954 - acc: 0.6386 - val_loss: 0.6689 - val_mae: 0.6614 - val_acc: 0.6447 - 55ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "27/27 - 0s - loss: 0.7175 - mae: 0.6713 - acc: 0.6409 - val_loss: 0.6292 - val_mae: 0.6353 - val_acc: 0.6477 - 53ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.8451 - mae: 0.7520 - acc: 0.5126 - val_loss: 0.6705 - val_mae: 0.6761 - val_acc: 0.6192 - 1s/epoch - 105ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.6577 - mae: 0.6498 - acc: 0.6293 - val_loss: 0.5715 - val_mae: 0.6033 - val_acc: 0.6507 - 61ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.6081 - mae: 0.6194 - acc: 0.6398 - val_loss: 0.5456 - val_mae: 0.5921 - val_acc: 0.6567 - 66ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.5924 - mae: 0.6113 - acc: 0.6473 - val_loss: 0.5477 - val_mae: 0.5884 - val_acc: 0.6507 - 89ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.5874 - mae: 0.6075 - acc: 0.6540 - val_loss: 0.5404 - val_mae: 0.5873 - val_acc: 0.6567 - 71ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.6977 - mae: 0.6669 - acc: 0.6285 - val_loss: 0.5201 - val_mae: 0.5750 - val_acc: 0.7331 - 1s/epoch - 128ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.5507 - mae: 0.5805 - acc: 0.7197 - val_loss: 0.4912 - val_mae: 0.5523 - val_acc: 0.7271 - 74ms/epoch - 8ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.5342 - mae: 0.5721 - acc: 0.7178 - val_loss: 0.4811 - val_mae: 0.5489 - val_acc: 0.7361 - 63ms/epoch - 7ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.5175 - mae: 0.5600 - acc: 0.7238 - val_loss: 0.4805 - val_mae: 0.5481 - val_acc: 0.7466 - 58ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5081 - mae: 0.5562 - acc: 0.7265 - val_loss: 0.4754 - val_mae: 0.5439 - val_acc: 0.7481 - 57ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "20/20 - 2s - loss: 0.8914 - mae: 0.7772 - acc: 0.5182 - val_loss: 0.7415 - val_mae: 0.7129 - val_acc: 0.6012 - 2s/epoch - 91ms/step\n", - "Epoch 2/5\n", - "20/20 - 0s - loss: 0.7727 - mae: 0.7158 - acc: 0.6083 - val_loss: 0.6817 - val_mae: 0.6745 - val_acc: 0.6372 - 104ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "20/20 - 0s - loss: 0.7249 - mae: 0.6846 - acc: 0.6278 - val_loss: 0.6430 - val_mae: 0.6423 - val_acc: 0.6402 - 89ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "20/20 - 0s - loss: 0.6552 - mae: 0.6405 - acc: 0.6724 - val_loss: 0.5292 - val_mae: 0.5725 - val_acc: 0.7331 - 85ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "20/20 - 0s - loss: 0.5826 - mae: 0.5984 - acc: 0.7223 - val_loss: 0.5104 - val_mae: 0.5530 - val_acc: 0.7466 - 79ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "31/31 - 1s - loss: 0.7516 - mae: 0.7066 - acc: 0.5734 - val_loss: 0.5804 - val_mae: 0.6227 - val_acc: 0.6462 - 1s/epoch - 40ms/step\n", - "Epoch 2/5\n", - "31/31 - 0s - loss: 0.6278 - mae: 0.6342 - acc: 0.6435 - val_loss: 0.5726 - val_mae: 0.6130 - val_acc: 0.6537 - 79ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "31/31 - 0s - loss: 0.6108 - mae: 0.6252 - acc: 0.6544 - val_loss: 0.5550 - val_mae: 0.6030 - val_acc: 0.6777 - 108ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "31/31 - 0s - loss: 0.6037 - mae: 0.6198 - acc: 0.6555 - val_loss: 0.5609 - val_mae: 0.6052 - val_acc: 0.6822 - 110ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "31/31 - 0s - loss: 0.5982 - mae: 0.6162 - acc: 0.6627 - val_loss: 0.5496 - val_mae: 0.6000 - val_acc: 0.6822 - 108ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "33/33 - 2s - loss: 0.6450 - mae: 0.6356 - acc: 0.6304 - val_loss: 0.5183 - val_mae: 0.5708 - val_acc: 0.7226 - 2s/epoch - 71ms/step\n", - "Epoch 2/5\n", - "33/33 - 0s - loss: 0.5493 - mae: 0.5815 - acc: 0.7235 - val_loss: 0.5018 - val_mae: 0.5638 - val_acc: 0.7331 - 106ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "33/33 - 0s - loss: 0.5218 - mae: 0.5674 - acc: 0.7235 - val_loss: 0.5068 - val_mae: 0.5649 - val_acc: 0.7316 - 113ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "33/33 - 0s - loss: 0.5115 - mae: 0.5585 - acc: 0.7332 - val_loss: 0.4700 - val_mae: 0.5396 - val_acc: 0.7451 - 126ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "33/33 - 0s - loss: 0.4913 - mae: 0.5447 - acc: 0.7370 - val_loss: 0.4614 - val_mae: 0.5266 - val_acc: 0.7526 - 111ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "15/15 - 1s - loss: 0.8957 - mae: 0.7720 - acc: 0.5730 - val_loss: 0.6873 - val_mae: 0.6652 - val_acc: 0.6282 - 1s/epoch - 92ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.6840 - mae: 0.6596 - acc: 0.6244 - val_loss: 0.5993 - val_mae: 0.6241 - val_acc: 0.6237 - 60ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.6384 - mae: 0.6333 - acc: 0.6296 - val_loss: 0.5869 - val_mae: 0.6155 - val_acc: 0.6297 - 60ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.6281 - mae: 0.6298 - acc: 0.6304 - val_loss: 0.5778 - val_mae: 0.6114 - val_acc: 0.6372 - 63ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.6203 - mae: 0.6229 - acc: 0.6293 - val_loss: 0.5693 - val_mae: 0.6042 - val_acc: 0.6312 - 63ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2009/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2009/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model17015300411642487888/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model17015300411642487888/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 969us/step\n", - "Epoch 1/5\n", - "42/42 - 1s - loss: 0.9044 - mae: 0.7642 - acc: 0.5194 - val_loss: 0.7976 - val_mae: 0.7225 - val_acc: 0.5650 - 697ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "42/42 - 0s - loss: 0.8476 - mae: 0.7389 - acc: 0.6111 - val_loss: 0.7625 - val_mae: 0.7066 - val_acc: 0.6353 - 64ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "42/42 - 0s - loss: 0.8158 - mae: 0.7248 - acc: 0.6279 - val_loss: 0.7397 - val_mae: 0.6963 - val_acc: 0.6338 - 65ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "42/42 - 0s - loss: 0.7923 - mae: 0.7139 - acc: 0.6309 - val_loss: 0.7197 - val_mae: 0.6874 - val_acc: 0.6323 - 67ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "42/42 - 0s - loss: 0.7672 - mae: 0.7025 - acc: 0.6320 - val_loss: 0.6896 - val_mae: 0.6725 - val_acc: 0.6308 - 66ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "41/41 - 2s - loss: 0.7079 - mae: 0.6626 - acc: 0.6129 - val_loss: 0.5419 - val_mae: 0.5824 - val_acc: 0.6457 - 2s/epoch - 40ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 0.5796 - mae: 0.5924 - acc: 0.6683 - val_loss: 0.5276 - val_mae: 0.5739 - val_acc: 0.6891 - 100ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.5588 - mae: 0.5821 - acc: 0.6911 - val_loss: 0.5147 - val_mae: 0.5660 - val_acc: 0.6682 - 91ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.5442 - mae: 0.5739 - acc: 0.7091 - val_loss: 0.5081 - val_mae: 0.5597 - val_acc: 0.6921 - 92ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.5269 - mae: 0.5631 - acc: 0.7023 - val_loss: 0.4893 - val_mae: 0.5493 - val_acc: 0.7294 - 95ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "20/20 - 1s - loss: 0.9517 - mae: 0.8108 - acc: 0.3796 - val_loss: 0.8810 - val_mae: 0.7867 - val_acc: 0.4380 - 790ms/epoch - 39ms/step\n", - "Epoch 2/5\n", - "20/20 - 0s - loss: 0.8926 - mae: 0.7859 - acc: 0.4772 - val_loss: 0.8242 - val_mae: 0.7583 - val_acc: 0.4813 - 62ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "20/20 - 0s - loss: 0.8139 - mae: 0.7460 - acc: 0.5273 - val_loss: 0.7518 - val_mae: 0.7182 - val_acc: 0.5456 - 49ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "20/20 - 0s - loss: 0.7268 - mae: 0.6946 - acc: 0.5826 - val_loss: 0.6694 - val_mae: 0.6687 - val_acc: 0.5949 - 50ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "20/20 - 0s - loss: 0.6524 - mae: 0.6483 - acc: 0.6043 - val_loss: 0.6178 - val_mae: 0.6323 - val_acc: 0.6114 - 49ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "32/32 - 1s - loss: 0.5860 - mae: 0.6003 - acc: 0.6601 - val_loss: 0.5018 - val_mae: 0.5593 - val_acc: 0.6951 - 1s/epoch - 33ms/step\n", - "Epoch 2/5\n", - "32/32 - 0s - loss: 0.5136 - mae: 0.5590 - acc: 0.7031 - val_loss: 0.4796 - val_mae: 0.5428 - val_acc: 0.7100 - 78ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "32/32 - 0s - loss: 0.4988 - mae: 0.5478 - acc: 0.7098 - val_loss: 0.4726 - val_mae: 0.5362 - val_acc: 0.7175 - 74ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "32/32 - 0s - loss: 0.4857 - mae: 0.5395 - acc: 0.7109 - val_loss: 0.4761 - val_mae: 0.5411 - val_acc: 0.7010 - 72ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "32/32 - 0s - loss: 0.4829 - mae: 0.5389 - acc: 0.7102 - val_loss: 0.4843 - val_mae: 0.5421 - val_acc: 0.7265 - 71ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "25/25 - 1s - loss: 0.9807 - mae: 0.8146 - acc: 0.3620 - val_loss: 0.8240 - val_mae: 0.7450 - val_acc: 0.4679 - 802ms/epoch - 32ms/step\n", - "Epoch 2/5\n", - "25/25 - 0s - loss: 0.8440 - mae: 0.7426 - acc: 0.6021 - val_loss: 0.7323 - val_mae: 0.6868 - val_acc: 0.6876 - 48ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "25/25 - 0s - loss: 0.7801 - mae: 0.7035 - acc: 0.6761 - val_loss: 0.6960 - val_mae: 0.6696 - val_acc: 0.6861 - 52ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "25/25 - 0s - loss: 0.7405 - mae: 0.6838 - acc: 0.6806 - val_loss: 0.6596 - val_mae: 0.6491 - val_acc: 0.6921 - 50ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "25/25 - 0s - loss: 0.6999 - mae: 0.6631 - acc: 0.6803 - val_loss: 0.6220 - val_mae: 0.6285 - val_acc: 0.6981 - 52ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.8321 - mae: 0.7339 - acc: 0.5576 - val_loss: 0.6377 - val_mae: 0.6400 - val_acc: 0.6248 - 1s/epoch - 145ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.6807 - mae: 0.6504 - acc: 0.6301 - val_loss: 0.5932 - val_mae: 0.6158 - val_acc: 0.6368 - 60ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.6380 - mae: 0.6261 - acc: 0.6455 - val_loss: 0.5629 - val_mae: 0.5933 - val_acc: 0.6532 - 61ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.6137 - mae: 0.6097 - acc: 0.6496 - val_loss: 0.5428 - val_mae: 0.5771 - val_acc: 0.6637 - 64ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.5985 - mae: 0.5998 - acc: 0.6604 - val_loss: 0.5285 - val_mae: 0.5694 - val_acc: 0.6667 - 68ms/epoch - 7ms/step\n", - "Epoch 1/5\n", - "16/16 - 1s - loss: 0.9792 - mae: 0.8209 - acc: 0.4357 - val_loss: 0.9080 - val_mae: 0.7942 - val_acc: 0.2810 - 1s/epoch - 66ms/step\n", - "Epoch 2/5\n", - "16/16 - 0s - loss: 0.9656 - mae: 0.8149 - acc: 0.2524 - val_loss: 0.9022 - val_mae: 0.7917 - val_acc: 0.2556 - 52ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "16/16 - 0s - loss: 0.9576 - mae: 0.8113 - acc: 0.3886 - val_loss: 0.8935 - val_mae: 0.7872 - val_acc: 0.4484 - 44ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "16/16 - 0s - loss: 0.9473 - mae: 0.8063 - acc: 0.5060 - val_loss: 0.8817 - val_mae: 0.7812 - val_acc: 0.5561 - 45ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "16/16 - 0s - loss: 0.9334 - mae: 0.7992 - acc: 0.5752 - val_loss: 0.8660 - val_mae: 0.7725 - val_acc: 0.5859 - 43ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "335/335 - 2s - loss: 0.5934 - mae: 0.6074 - acc: 0.6507 - val_loss: 0.5407 - val_mae: 0.5850 - val_acc: 0.6831 - 2s/epoch - 6ms/step\n", - "Epoch 2/5\n", - "335/335 - 1s - loss: 0.5513 - mae: 0.5806 - acc: 0.6930 - val_loss: 0.5483 - val_mae: 0.6035 - val_acc: 0.6801 - 530ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "335/335 - 1s - loss: 0.5370 - mae: 0.5728 - acc: 0.6799 - val_loss: 0.4901 - val_mae: 0.5512 - val_acc: 0.6846 - 540ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "335/335 - 1s - loss: 0.5288 - mae: 0.5669 - acc: 0.6653 - val_loss: 0.4786 - val_mae: 0.5370 - val_acc: 0.6756 - 534ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "335/335 - 1s - loss: 0.5215 - mae: 0.5637 - acc: 0.6724 - val_loss: 0.4881 - val_mae: 0.5435 - val_acc: 0.6771 - 533ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "25/25 - 1s - loss: 0.8114 - mae: 0.7378 - acc: 0.5067 - val_loss: 0.6738 - val_mae: 0.6775 - val_acc: 0.5874 - 1s/epoch - 51ms/step\n", - "Epoch 2/5\n", - "25/25 - 0s - loss: 0.6421 - mae: 0.6452 - acc: 0.5987 - val_loss: 0.5584 - val_mae: 0.5977 - val_acc: 0.6143 - 65ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "25/25 - 0s - loss: 0.5623 - mae: 0.5914 - acc: 0.6268 - val_loss: 0.5184 - val_mae: 0.5697 - val_acc: 0.6577 - 69ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "25/25 - 0s - loss: 0.5401 - mae: 0.5773 - acc: 0.6488 - val_loss: 0.5101 - val_mae: 0.5638 - val_acc: 0.6652 - 69ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "25/25 - 0s - loss: 0.5339 - mae: 0.5725 - acc: 0.6608 - val_loss: 0.5051 - val_mae: 0.5616 - val_acc: 0.6756 - 65ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "9/9 - 2s - loss: 0.9724 - mae: 0.8171 - acc: 0.3549 - val_loss: 0.9098 - val_mae: 0.7973 - val_acc: 0.3558 - 2s/epoch - 188ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.9558 - mae: 0.8107 - acc: 0.3762 - val_loss: 0.8564 - val_mae: 0.7652 - val_acc: 0.3558 - 63ms/epoch - 7ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.8752 - mae: 0.7663 - acc: 0.4432 - val_loss: 0.7440 - val_mae: 0.7060 - val_acc: 0.4709 - 64ms/epoch - 7ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.7491 - mae: 0.6939 - acc: 0.5142 - val_loss: 0.6183 - val_mae: 0.6238 - val_acc: 0.5994 - 65ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.7047 - mae: 0.6664 - acc: 0.6055 - val_loss: 0.5796 - val_mae: 0.6098 - val_acc: 0.6173 - 67ms/epoch - 7ms/step\n", - "Epoch 1/5\n", - "21/21 - 2s - loss: 0.9900 - mae: 0.8218 - acc: 0.3680 - val_loss: 0.8797 - val_mae: 0.7760 - val_acc: 0.4066 - 2s/epoch - 72ms/step\n", - "Epoch 2/5\n", - "21/21 - 0s - loss: 0.9278 - mae: 0.7941 - acc: 0.5060 - val_loss: 0.8297 - val_mae: 0.7522 - val_acc: 0.5501 - 41ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "21/21 - 0s - loss: 0.8821 - mae: 0.7725 - acc: 0.5557 - val_loss: 0.7854 - val_mae: 0.7304 - val_acc: 0.5874 - 41ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "21/21 - 0s - loss: 0.8364 - mae: 0.7494 - acc: 0.6081 - val_loss: 0.7376 - val_mae: 0.7039 - val_acc: 0.6054 - 39ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "21/21 - 0s - loss: 0.7889 - mae: 0.7228 - acc: 0.6219 - val_loss: 0.6924 - val_mae: 0.6763 - val_acc: 0.6158 - 39ms/epoch - 2ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2007/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2007/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model4748179609238551418/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model4748179609238551418/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 837us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model15346683768189994548/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model15346683768189994548/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "54/54 [==============================] - 0s 788us/step\n", - "Epoch 1/5\n", - "42/42 - 1s - loss: 0.9602 - mae: 0.8188 - acc: 0.3773 - val_loss: 0.8519 - val_mae: 0.7724 - val_acc: 0.3640 - 705ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "42/42 - 0s - loss: 0.8476 - mae: 0.7668 - acc: 0.4838 - val_loss: 0.7489 - val_mae: 0.7202 - val_acc: 0.5589 - 73ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "42/42 - 0s - loss: 0.7338 - mae: 0.7081 - acc: 0.6371 - val_loss: 0.6533 - val_mae: 0.6661 - val_acc: 0.6556 - 65ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "42/42 - 0s - loss: 0.6432 - mae: 0.6551 - acc: 0.6624 - val_loss: 0.5827 - val_mae: 0.6217 - val_acc: 0.6601 - 67ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "42/42 - 0s - loss: 0.5839 - mae: 0.6138 - acc: 0.6745 - val_loss: 0.5423 - val_mae: 0.5916 - val_acc: 0.6707 - 66ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.9049 - mae: 0.7900 - acc: 0.5876 - val_loss: 0.7610 - val_mae: 0.7236 - val_acc: 0.6329 - 1s/epoch - 114ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.7026 - mae: 0.6812 - acc: 0.6375 - val_loss: 0.5924 - val_mae: 0.6259 - val_acc: 0.6299 - 56ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.6117 - mae: 0.6255 - acc: 0.6427 - val_loss: 0.5707 - val_mae: 0.6067 - val_acc: 0.6405 - 54ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.5887 - mae: 0.6090 - acc: 0.6443 - val_loss: 0.5577 - val_mae: 0.5993 - val_acc: 0.6329 - 57ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.5781 - mae: 0.6038 - acc: 0.6446 - val_loss: 0.5542 - val_mae: 0.5979 - val_acc: 0.6299 - 60ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.9528 - mae: 0.8113 - acc: 0.3610 - val_loss: 0.8949 - val_mae: 0.7887 - val_acc: 0.3565 - 1s/epoch - 133ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.9486 - mae: 0.8112 - acc: 0.3724 - val_loss: 0.8932 - val_mae: 0.7895 - val_acc: 0.3565 - 40ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.9463 - mae: 0.8116 - acc: 0.3724 - val_loss: 0.8928 - val_mae: 0.7905 - val_acc: 0.3565 - 40ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.9450 - mae: 0.8119 - acc: 0.3724 - val_loss: 0.8930 - val_mae: 0.7913 - val_acc: 0.3565 - 40ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.9446 - mae: 0.8122 - acc: 0.3724 - val_loss: 0.8932 - val_mae: 0.7918 - val_acc: 0.3565 - 41ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.9382 - mae: 0.8067 - acc: 0.3678 - val_loss: 0.8553 - val_mae: 0.7694 - val_acc: 0.3565 - 1s/epoch - 140ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.8797 - mae: 0.7745 - acc: 0.3965 - val_loss: 0.7801 - val_mae: 0.7206 - val_acc: 0.4562 - 41ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.7845 - mae: 0.7225 - acc: 0.5023 - val_loss: 0.6859 - val_mae: 0.6739 - val_acc: 0.5634 - 61ms/epoch - 8ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.6805 - mae: 0.6632 - acc: 0.5857 - val_loss: 0.6078 - val_mae: 0.6231 - val_acc: 0.5906 - 44ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6190 - mae: 0.6271 - acc: 0.6125 - val_loss: 0.5745 - val_mae: 0.6102 - val_acc: 0.6057 - 44ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "17/17 - 1s - loss: 0.7776 - mae: 0.7161 - acc: 0.6371 - val_loss: 0.6204 - val_mae: 0.6406 - val_acc: 0.6390 - 1s/epoch - 62ms/step\n", - "Epoch 2/5\n", - "17/17 - 0s - loss: 0.5760 - mae: 0.6048 - acc: 0.6492 - val_loss: 0.5475 - val_mae: 0.5959 - val_acc: 0.6541 - 48ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "17/17 - 0s - loss: 0.5325 - mae: 0.5785 - acc: 0.6677 - val_loss: 0.5256 - val_mae: 0.5819 - val_acc: 0.6556 - 49ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "17/17 - 0s - loss: 0.5153 - mae: 0.5680 - acc: 0.6737 - val_loss: 0.5128 - val_mae: 0.5699 - val_acc: 0.6722 - 58ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "17/17 - 0s - loss: 0.5040 - mae: 0.5579 - acc: 0.6832 - val_loss: 0.5141 - val_mae: 0.5704 - val_acc: 0.6737 - 48ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "13/13 - 2s - loss: 0.8395 - mae: 0.7503 - acc: 0.6360 - val_loss: 0.6270 - val_mae: 0.6364 - val_acc: 0.6722 - 2s/epoch - 120ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.5975 - mae: 0.6101 - acc: 0.6730 - val_loss: 0.5465 - val_mae: 0.5876 - val_acc: 0.6918 - 54ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.5569 - mae: 0.5896 - acc: 0.6820 - val_loss: 0.5303 - val_mae: 0.5758 - val_acc: 0.7085 - 56ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.5370 - mae: 0.5737 - acc: 0.6952 - val_loss: 0.5174 - val_mae: 0.5743 - val_acc: 0.6934 - 55ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5209 - mae: 0.5655 - acc: 0.7073 - val_loss: 0.4941 - val_mae: 0.5539 - val_acc: 0.7236 - 56ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "36/36 - 1s - loss: 0.6226 - mae: 0.6267 - acc: 0.6363 - val_loss: 0.5131 - val_mae: 0.5683 - val_acc: 0.6782 - 1s/epoch - 29ms/step\n", - "Epoch 2/5\n", - "36/36 - 0s - loss: 0.5145 - mae: 0.5644 - acc: 0.6990 - val_loss: 0.4866 - val_mae: 0.5468 - val_acc: 0.7190 - 83ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "36/36 - 0s - loss: 0.4942 - mae: 0.5524 - acc: 0.7164 - val_loss: 0.4746 - val_mae: 0.5480 - val_acc: 0.7296 - 87ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "36/36 - 0s - loss: 0.4724 - mae: 0.5359 - acc: 0.7239 - val_loss: 0.4471 - val_mae: 0.5205 - val_acc: 0.7311 - 88ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "36/36 - 0s - loss: 0.4660 - mae: 0.5305 - acc: 0.7232 - val_loss: 0.4529 - val_mae: 0.5286 - val_acc: 0.7205 - 89ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "18/18 - 2s - loss: 0.7299 - mae: 0.6949 - acc: 0.5801 - val_loss: 0.5998 - val_mae: 0.6325 - val_acc: 0.6088 - 2s/epoch - 95ms/step\n", - "Epoch 2/5\n", - "18/18 - 0s - loss: 0.5992 - mae: 0.6204 - acc: 0.6292 - val_loss: 0.5619 - val_mae: 0.6065 - val_acc: 0.6163 - 65ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "18/18 - 0s - loss: 0.5646 - mae: 0.5981 - acc: 0.6356 - val_loss: 0.5700 - val_mae: 0.6019 - val_acc: 0.6269 - 67ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "18/18 - 0s - loss: 0.5632 - mae: 0.5957 - acc: 0.6378 - val_loss: 0.5357 - val_mae: 0.5843 - val_acc: 0.6299 - 68ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "18/18 - 0s - loss: 0.5471 - mae: 0.5855 - acc: 0.6375 - val_loss: 0.5227 - val_mae: 0.5793 - val_acc: 0.6329 - 89ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "15/15 - 2s - loss: 0.7101 - mae: 0.6757 - acc: 0.5872 - val_loss: 0.5334 - val_mae: 0.5889 - val_acc: 0.6662 - 2s/epoch - 103ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.5207 - mae: 0.5700 - acc: 0.7005 - val_loss: 0.5388 - val_mae: 0.5760 - val_acc: 0.6752 - 63ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.5176 - mae: 0.5638 - acc: 0.7069 - val_loss: 0.4856 - val_mae: 0.5490 - val_acc: 0.7175 - 69ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.4884 - mae: 0.5485 - acc: 0.7137 - val_loss: 0.4769 - val_mae: 0.5432 - val_acc: 0.7311 - 71ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.4753 - mae: 0.5391 - acc: 0.7228 - val_loss: 0.4674 - val_mae: 0.5367 - val_acc: 0.7296 - 74ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "11/11 - 2s - loss: 0.8889 - mae: 0.7826 - acc: 0.5166 - val_loss: 0.7336 - val_mae: 0.7094 - val_acc: 0.5740 - 2s/epoch - 139ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.7086 - mae: 0.6912 - acc: 0.5937 - val_loss: 0.6318 - val_mae: 0.6522 - val_acc: 0.6027 - 64ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.6595 - mae: 0.6638 - acc: 0.6088 - val_loss: 0.6158 - val_mae: 0.6396 - val_acc: 0.6163 - 68ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6382 - mae: 0.6478 - acc: 0.6125 - val_loss: 0.5972 - val_mae: 0.6273 - val_acc: 0.6239 - 71ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.6223 - mae: 0.6393 - acc: 0.6186 - val_loss: 0.5904 - val_mae: 0.6231 - val_acc: 0.6239 - 72ms/epoch - 7ms/step\n", - "Epoch 1/5\n", - "14/14 - 2s - loss: 0.6892 - mae: 0.6698 - acc: 0.5963 - val_loss: 0.5605 - val_mae: 0.6012 - val_acc: 0.6616 - 2s/epoch - 115ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.5374 - mae: 0.5843 - acc: 0.6575 - val_loss: 0.5123 - val_mae: 0.5717 - val_acc: 0.6571 - 62ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.5152 - mae: 0.5680 - acc: 0.6843 - val_loss: 0.5288 - val_mae: 0.5829 - val_acc: 0.7024 - 61ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.4994 - mae: 0.5588 - acc: 0.6930 - val_loss: 0.4960 - val_mae: 0.5570 - val_acc: 0.7175 - 58ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.4882 - mae: 0.5510 - acc: 0.6952 - val_loss: 0.4789 - val_mae: 0.5473 - val_acc: 0.7175 - 61ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2012/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2012/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model15639360156152996734/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model15639360156152996734/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "9/9 [==============================] - 0s 938us/step\n", - "Epoch 1/5\n", - "39/39 - 1s - loss: 0.8706 - mae: 0.7568 - acc: 0.5022 - val_loss: 0.7458 - val_mae: 0.7038 - val_acc: 0.5301 - 687ms/epoch - 18ms/step\n", - "Epoch 2/5\n", - "39/39 - 0s - loss: 0.7507 - mae: 0.6986 - acc: 0.5990 - val_loss: 0.6251 - val_mae: 0.6400 - val_acc: 0.6472 - 59ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "39/39 - 0s - loss: 0.6333 - mae: 0.6338 - acc: 0.6434 - val_loss: 0.5469 - val_mae: 0.5966 - val_acc: 0.6618 - 61ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "39/39 - 0s - loss: 0.5779 - mae: 0.6019 - acc: 0.6657 - val_loss: 0.5244 - val_mae: 0.5839 - val_acc: 0.6699 - 63ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "39/39 - 0s - loss: 0.5576 - mae: 0.5886 - acc: 0.6763 - val_loss: 0.5128 - val_mae: 0.5754 - val_acc: 0.6878 - 85ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.6782 - mae: 0.6663 - acc: 0.5970 - val_loss: 0.5184 - val_mae: 0.5772 - val_acc: 0.7122 - 1s/epoch - 98ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.5466 - mae: 0.5838 - acc: 0.7003 - val_loss: 0.4886 - val_mae: 0.5523 - val_acc: 0.7301 - 58ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.5221 - mae: 0.5678 - acc: 0.7182 - val_loss: 0.4735 - val_mae: 0.5424 - val_acc: 0.7350 - 53ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.4974 - mae: 0.5540 - acc: 0.7275 - val_loss: 0.4589 - val_mae: 0.5312 - val_acc: 0.7512 - 56ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.4909 - mae: 0.5486 - acc: 0.7251 - val_loss: 0.4588 - val_mae: 0.5323 - val_acc: 0.7512 - 55ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.9701 - mae: 0.8171 - acc: 0.3652 - val_loss: 0.8725 - val_mae: 0.7798 - val_acc: 0.4423 - 1s/epoch - 97ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.9114 - mae: 0.7871 - acc: 0.5205 - val_loss: 0.8030 - val_mae: 0.7411 - val_acc: 0.6114 - 39ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.8346 - mae: 0.7432 - acc: 0.6116 - val_loss: 0.7095 - val_mae: 0.6828 - val_acc: 0.6341 - 41ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.7399 - mae: 0.6871 - acc: 0.6279 - val_loss: 0.6161 - val_mae: 0.6251 - val_acc: 0.6585 - 40ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.6501 - mae: 0.6348 - acc: 0.6499 - val_loss: 0.5538 - val_mae: 0.5955 - val_acc: 0.6780 - 42ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "12/12 - 2s - loss: 0.9024 - mae: 0.7866 - acc: 0.4042 - val_loss: 0.7174 - val_mae: 0.7057 - val_acc: 0.6065 - 2s/epoch - 136ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.6832 - mae: 0.6687 - acc: 0.6080 - val_loss: 0.5820 - val_mae: 0.6162 - val_acc: 0.6033 - 51ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.5957 - mae: 0.6123 - acc: 0.6206 - val_loss: 0.5264 - val_mae: 0.5809 - val_acc: 0.6407 - 50ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.5659 - mae: 0.5933 - acc: 0.6641 - val_loss: 0.4925 - val_mae: 0.5553 - val_acc: 0.7154 - 50ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.5328 - mae: 0.5746 - acc: 0.7084 - val_loss: 0.4800 - val_mae: 0.5487 - val_acc: 0.7268 - 51ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "190/190 - 2s - loss: 0.6747 - mae: 0.6537 - acc: 0.6133 - val_loss: 0.5303 - val_mae: 0.5791 - val_acc: 0.6276 - 2s/epoch - 10ms/step\n", - "Epoch 2/5\n", - "190/190 - 0s - loss: 0.5687 - mae: 0.5941 - acc: 0.6547 - val_loss: 0.5083 - val_mae: 0.5649 - val_acc: 0.6667 - 222ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "190/190 - 0s - loss: 0.5460 - mae: 0.5793 - acc: 0.6905 - val_loss: 0.5006 - val_mae: 0.5601 - val_acc: 0.6959 - 242ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "190/190 - 0s - loss: 0.5359 - mae: 0.5748 - acc: 0.6958 - val_loss: 0.4868 - val_mae: 0.5515 - val_acc: 0.7089 - 265ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "190/190 - 0s - loss: 0.5284 - mae: 0.5697 - acc: 0.7076 - val_loss: 0.4811 - val_mae: 0.5473 - val_acc: 0.7187 - 260ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "8/8 - 2s - loss: 0.9793 - mae: 0.8192 - acc: 0.3627 - val_loss: 0.8563 - val_mae: 0.7710 - val_acc: 0.5008 - 2s/epoch - 212ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.7905 - mae: 0.7244 - acc: 0.5714 - val_loss: 0.5700 - val_mae: 0.5995 - val_acc: 0.6211 - 41ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.6088 - mae: 0.6181 - acc: 0.6340 - val_loss: 0.5526 - val_mae: 0.6019 - val_acc: 0.6407 - 42ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.5850 - mae: 0.6087 - acc: 0.6340 - val_loss: 0.5327 - val_mae: 0.5880 - val_acc: 0.6390 - 43ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.5718 - mae: 0.5971 - acc: 0.6454 - val_loss: 0.5186 - val_mae: 0.5772 - val_acc: 0.6423 - 47ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "12/12 - 2s - loss: 0.7414 - mae: 0.6922 - acc: 0.5661 - val_loss: 0.5528 - val_mae: 0.6020 - val_acc: 0.6374 - 2s/epoch - 150ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.5903 - mae: 0.6064 - acc: 0.6303 - val_loss: 0.5304 - val_mae: 0.5872 - val_acc: 0.6455 - 68ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.5780 - mae: 0.5996 - acc: 0.6470 - val_loss: 0.5250 - val_mae: 0.5816 - val_acc: 0.6634 - 90ms/epoch - 8ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.5756 - mae: 0.5991 - acc: 0.6466 - val_loss: 0.5280 - val_mae: 0.5791 - val_acc: 0.6764 - 78ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.5707 - mae: 0.5951 - acc: 0.6515 - val_loss: 0.5145 - val_mae: 0.5702 - val_acc: 0.6894 - 81ms/epoch - 7ms/step\n", - "Epoch 1/5\n", - "23/23 - 1s - loss: 0.6856 - mae: 0.6621 - acc: 0.6031 - val_loss: 0.5411 - val_mae: 0.5834 - val_acc: 0.6260 - 967ms/epoch - 42ms/step\n", - "Epoch 2/5\n", - "23/23 - 0s - loss: 0.5508 - mae: 0.5851 - acc: 0.6531 - val_loss: 0.4896 - val_mae: 0.5504 - val_acc: 0.6862 - 58ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "23/23 - 0s - loss: 0.5239 - mae: 0.5665 - acc: 0.6934 - val_loss: 0.4739 - val_mae: 0.5415 - val_acc: 0.7171 - 55ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "23/23 - 0s - loss: 0.5018 - mae: 0.5560 - acc: 0.7068 - val_loss: 0.4782 - val_mae: 0.5403 - val_acc: 0.7252 - 55ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "23/23 - 0s - loss: 0.4981 - mae: 0.5506 - acc: 0.7170 - val_loss: 0.4611 - val_mae: 0.5365 - val_acc: 0.7252 - 55ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.7188 - mae: 0.6838 - acc: 0.5352 - val_loss: 0.5783 - val_mae: 0.6131 - val_acc: 0.6390 - 1s/epoch - 103ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.5912 - mae: 0.6079 - acc: 0.6271 - val_loss: 0.5730 - val_mae: 0.6026 - val_acc: 0.6358 - 41ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.5887 - mae: 0.6085 - acc: 0.6393 - val_loss: 0.5135 - val_mae: 0.5715 - val_acc: 0.6374 - 43ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.5743 - mae: 0.5927 - acc: 0.6344 - val_loss: 0.5224 - val_mae: 0.5827 - val_acc: 0.6504 - 42ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.5524 - mae: 0.5862 - acc: 0.6507 - val_loss: 0.5048 - val_mae: 0.5698 - val_acc: 0.6423 - 42ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "95/95 - 1s - loss: 0.8375 - mae: 0.7479 - acc: 0.4847 - val_loss: 0.6870 - val_mae: 0.6730 - val_acc: 0.5691 - 1s/epoch - 11ms/step\n", - "Epoch 2/5\n", - "95/95 - 0s - loss: 0.6890 - mae: 0.6625 - acc: 0.5848 - val_loss: 0.6208 - val_mae: 0.6308 - val_acc: 0.5837 - 140ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "95/95 - 0s - loss: 0.6480 - mae: 0.6395 - acc: 0.6002 - val_loss: 0.5922 - val_mae: 0.6190 - val_acc: 0.5984 - 144ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "95/95 - 0s - loss: 0.6270 - mae: 0.6284 - acc: 0.6104 - val_loss: 0.5822 - val_mae: 0.6134 - val_acc: 0.6033 - 141ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "95/95 - 0s - loss: 0.6179 - mae: 0.6225 - acc: 0.6190 - val_loss: 0.5773 - val_mae: 0.6104 - val_acc: 0.6065 - 154ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.9246 - mae: 0.7843 - acc: 0.4262 - val_loss: 0.7779 - val_mae: 0.7241 - val_acc: 0.5220 - 1s/epoch - 100ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.7983 - mae: 0.7217 - acc: 0.5486 - val_loss: 0.6816 - val_mae: 0.6687 - val_acc: 0.5756 - 47ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.7287 - mae: 0.6855 - acc: 0.5848 - val_loss: 0.6321 - val_mae: 0.6490 - val_acc: 0.6000 - 78ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.6877 - mae: 0.6613 - acc: 0.6035 - val_loss: 0.6143 - val_mae: 0.6356 - val_acc: 0.6130 - 56ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.6671 - mae: 0.6501 - acc: 0.6169 - val_loss: 0.5857 - val_mae: 0.6144 - val_acc: 0.6325 - 55ms/epoch - 5ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2015/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/all_years/optimized_model_2015/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model11430846860087388993/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model11430846860087388993/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "16/16 [==============================] - 0s 1ms/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model5891970174023066182/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model5891970174023066182/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "54/54 [==============================] - 0s 690us/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/best_optimized_model_2015/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi4/best_optimized_model_2015/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "=========================================\n", - " GPI 4 done\n", - " aprior performance(RMSE): \n", - "[[0.15324]\n", - " [0.06293]\n", - " [0.15922]]\n", - "=========================================\n", - " post performance(RMSE): \n", - "[[0.33866]\n", - " [0.16024]\n", - " [0.18208]]\n", - "=========================================\n", - "Epoch 1/5\n", - "38/38 - 1s - loss: 1.1207 - mae: 0.8430 - acc: 0.2742 - val_loss: 0.9641 - val_mae: 0.7805 - val_acc: 0.3361 - 685ms/epoch - 18ms/step\n", - "Epoch 2/5\n", - "38/38 - 0s - loss: 0.8920 - mae: 0.7524 - acc: 0.4108 - val_loss: 0.8272 - val_mae: 0.7194 - val_acc: 0.4420 - 59ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "38/38 - 0s - loss: 0.7748 - mae: 0.6983 - acc: 0.4706 - val_loss: 0.7414 - val_mae: 0.6782 - val_acc: 0.5479 - 59ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "38/38 - 0s - loss: 0.7050 - mae: 0.6620 - acc: 0.5652 - val_loss: 0.6917 - val_mae: 0.6540 - val_acc: 0.5916 - 66ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "38/38 - 0s - loss: 0.6659 - mae: 0.6413 - acc: 0.5946 - val_loss: 0.6677 - val_mae: 0.6428 - val_acc: 0.6017 - 61ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "30/30 - 1s - loss: 0.7208 - mae: 0.6651 - acc: 0.5917 - val_loss: 0.6583 - val_mae: 0.6360 - val_acc: 0.6437 - 1s/epoch - 42ms/step\n", - "Epoch 2/5\n", - "30/30 - 0s - loss: 0.6479 - mae: 0.6264 - acc: 0.6194 - val_loss: 0.6439 - val_mae: 0.6203 - val_acc: 0.6504 - 81ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "30/30 - 0s - loss: 0.6264 - mae: 0.6112 - acc: 0.6304 - val_loss: 0.6218 - val_mae: 0.6170 - val_acc: 0.6790 - 87ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "30/30 - 0s - loss: 0.6090 - mae: 0.6063 - acc: 0.6497 - val_loss: 0.6118 - val_mae: 0.6108 - val_acc: 0.6908 - 83ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "30/30 - 0s - loss: 0.5961 - mae: 0.5989 - acc: 0.6674 - val_loss: 0.5964 - val_mae: 0.5989 - val_acc: 0.6924 - 86ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "159/159 - 2s - loss: 0.6858 - mae: 0.6483 - acc: 0.6220 - val_loss: 0.6335 - val_mae: 0.6183 - val_acc: 0.6773 - 2s/epoch - 12ms/step\n", - "Epoch 2/5\n", - "159/159 - 0s - loss: 0.6214 - mae: 0.6150 - acc: 0.6678 - val_loss: 0.6179 - val_mae: 0.6107 - val_acc: 0.6891 - 244ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "159/159 - 0s - loss: 0.5827 - mae: 0.5930 - acc: 0.6846 - val_loss: 0.5963 - val_mae: 0.6056 - val_acc: 0.6403 - 246ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "159/159 - 0s - loss: 0.5477 - mae: 0.5752 - acc: 0.6997 - val_loss: 0.5374 - val_mae: 0.5639 - val_acc: 0.7244 - 242ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "159/159 - 0s - loss: 0.5273 - mae: 0.5626 - acc: 0.7098 - val_loss: 0.5602 - val_mae: 0.5831 - val_acc: 0.7176 - 256ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "15/15 - 2s - loss: 0.9388 - mae: 0.7892 - acc: 0.4773 - val_loss: 0.8675 - val_mae: 0.7491 - val_acc: 0.5042 - 2s/epoch - 101ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.8262 - mae: 0.7246 - acc: 0.5135 - val_loss: 0.8037 - val_mae: 0.7166 - val_acc: 0.5109 - 52ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.7562 - mae: 0.6899 - acc: 0.5980 - val_loss: 0.7501 - val_mae: 0.6838 - val_acc: 0.6336 - 49ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.7119 - mae: 0.6660 - acc: 0.6140 - val_loss: 0.7282 - val_mae: 0.6698 - val_acc: 0.6185 - 57ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.7015 - mae: 0.6575 - acc: 0.6165 - val_loss: 0.7130 - val_mae: 0.6610 - val_acc: 0.6303 - 50ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "8/8 - 2s - loss: 0.9447 - mae: 0.7947 - acc: 0.3999 - val_loss: 0.8525 - val_mae: 0.7371 - val_acc: 0.4353 - 2s/epoch - 195ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.7460 - mae: 0.6824 - acc: 0.5084 - val_loss: 0.6895 - val_mae: 0.6464 - val_acc: 0.6487 - 35ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.6661 - mae: 0.6345 - acc: 0.6177 - val_loss: 0.6670 - val_mae: 0.6305 - val_acc: 0.6487 - 42ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.6449 - mae: 0.6203 - acc: 0.6203 - val_loss: 0.6455 - val_mae: 0.6184 - val_acc: 0.6454 - 36ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.6326 - mae: 0.6139 - acc: 0.6207 - val_loss: 0.6415 - val_mae: 0.6187 - val_acc: 0.6487 - 37ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.7345 - mae: 0.6713 - acc: 0.5807 - val_loss: 0.6659 - val_mae: 0.6377 - val_acc: 0.6403 - 895ms/epoch - 89ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.6450 - mae: 0.6209 - acc: 0.6274 - val_loss: 0.6522 - val_mae: 0.6288 - val_acc: 0.6588 - 40ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.6289 - mae: 0.6128 - acc: 0.6489 - val_loss: 0.6305 - val_mae: 0.6163 - val_acc: 0.6622 - 42ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.6186 - mae: 0.6049 - acc: 0.6489 - val_loss: 0.6178 - val_mae: 0.6091 - val_acc: 0.6756 - 44ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6086 - mae: 0.6011 - acc: 0.6573 - val_loss: 0.6089 - val_mae: 0.6045 - val_acc: 0.6992 - 41ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.8395 - mae: 0.7338 - acc: 0.5946 - val_loss: 0.8088 - val_mae: 0.7177 - val_acc: 0.6387 - 696ms/epoch - 70ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.7799 - mae: 0.7037 - acc: 0.6371 - val_loss: 0.7568 - val_mae: 0.6910 - val_acc: 0.6790 - 33ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.7297 - mae: 0.6799 - acc: 0.6505 - val_loss: 0.7141 - val_mae: 0.6696 - val_acc: 0.6790 - 34ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.6894 - mae: 0.6587 - acc: 0.6497 - val_loss: 0.6804 - val_mae: 0.6503 - val_acc: 0.6857 - 50ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6594 - mae: 0.6417 - acc: 0.6548 - val_loss: 0.6534 - val_mae: 0.6355 - val_acc: 0.6941 - 36ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.8868 - mae: 0.7617 - acc: 0.5597 - val_loss: 0.8168 - val_mae: 0.7282 - val_acc: 0.6387 - 783ms/epoch - 56ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.7574 - mae: 0.6944 - acc: 0.6148 - val_loss: 0.7167 - val_mae: 0.6684 - val_acc: 0.6588 - 37ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.6811 - mae: 0.6448 - acc: 0.6190 - val_loss: 0.6675 - val_mae: 0.6344 - val_acc: 0.6639 - 41ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.6589 - mae: 0.6300 - acc: 0.6190 - val_loss: 0.6595 - val_mae: 0.6314 - val_acc: 0.6622 - 55ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.6524 - mae: 0.6268 - acc: 0.6198 - val_loss: 0.6528 - val_mae: 0.6281 - val_acc: 0.6723 - 47ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "24/24 - 2s - loss: 0.8418 - mae: 0.7324 - acc: 0.5786 - val_loss: 0.7580 - val_mae: 0.6817 - val_acc: 0.6387 - 2s/epoch - 66ms/step\n", - "Epoch 2/5\n", - "24/24 - 0s - loss: 0.6989 - mae: 0.6537 - acc: 0.6224 - val_loss: 0.6860 - val_mae: 0.6451 - val_acc: 0.6639 - 60ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "24/24 - 0s - loss: 0.6470 - mae: 0.6270 - acc: 0.6602 - val_loss: 0.6385 - val_mae: 0.6229 - val_acc: 0.6773 - 61ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "24/24 - 0s - loss: 0.6184 - mae: 0.6111 - acc: 0.6606 - val_loss: 0.6086 - val_mae: 0.6040 - val_acc: 0.7025 - 63ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "24/24 - 0s - loss: 0.5917 - mae: 0.5962 - acc: 0.6674 - val_loss: 0.6033 - val_mae: 0.6028 - val_acc: 0.6773 - 58ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "238/238 - 2s - loss: 0.7253 - mae: 0.6777 - acc: 0.5971 - val_loss: 0.6941 - val_mae: 0.6526 - val_acc: 0.6218 - 2s/epoch - 10ms/step\n", - "Epoch 2/5\n", - "238/238 - 1s - loss: 0.6783 - mae: 0.6475 - acc: 0.6177 - val_loss: 0.6634 - val_mae: 0.6331 - val_acc: 0.6303 - 535ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "238/238 - 0s - loss: 0.6679 - mae: 0.6396 - acc: 0.6161 - val_loss: 0.6783 - val_mae: 0.6422 - val_acc: 0.6387 - 458ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "238/238 - 0s - loss: 0.6580 - mae: 0.6339 - acc: 0.6207 - val_loss: 0.6827 - val_mae: 0.6468 - val_acc: 0.6487 - 426ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "238/238 - 0s - loss: 0.6548 - mae: 0.6314 - acc: 0.6236 - val_loss: 0.6678 - val_mae: 0.6364 - val_acc: 0.6269 - 433ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "17/17 - 2s - loss: 0.9372 - mae: 0.7887 - acc: 0.4655 - val_loss: 0.8929 - val_mae: 0.7660 - val_acc: 0.5782 - 2s/epoch - 94ms/step\n", - "Epoch 2/5\n", - "17/17 - 0s - loss: 0.8573 - mae: 0.7436 - acc: 0.5421 - val_loss: 0.8481 - val_mae: 0.7399 - val_acc: 0.5815 - 50ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "17/17 - 0s - loss: 0.8210 - mae: 0.7259 - acc: 0.5736 - val_loss: 0.8131 - val_mae: 0.7230 - val_acc: 0.5950 - 49ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "17/17 - 0s - loss: 0.7823 - mae: 0.7094 - acc: 0.5744 - val_loss: 0.7853 - val_mae: 0.7060 - val_acc: 0.5966 - 52ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "17/17 - 0s - loss: 0.7639 - mae: 0.6997 - acc: 0.5770 - val_loss: 0.7771 - val_mae: 0.7010 - val_acc: 0.5950 - 55ms/epoch - 3ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2014/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2014/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model13181300029302427702/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model13181300029302427702/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "16/16 [==============================] - 0s 835us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model1381179793354197617/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model1381179793354197617/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 804us/step\n", - "Epoch 1/5\n", - "41/41 - 1s - loss: 0.9185 - mae: 0.7703 - acc: 0.5017 - val_loss: 0.8146 - val_mae: 0.7245 - val_acc: 0.5621 - 678ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 0.7755 - mae: 0.7001 - acc: 0.5507 - val_loss: 0.7226 - val_mae: 0.6731 - val_acc: 0.6040 - 66ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.7045 - mae: 0.6573 - acc: 0.5918 - val_loss: 0.6810 - val_mae: 0.6481 - val_acc: 0.6304 - 63ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.6769 - mae: 0.6409 - acc: 0.6058 - val_loss: 0.6625 - val_mae: 0.6378 - val_acc: 0.6429 - 62ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.6643 - mae: 0.6339 - acc: 0.6128 - val_loss: 0.6515 - val_mae: 0.6320 - val_acc: 0.6537 - 75ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "18/18 - 2s - loss: 0.8347 - mae: 0.7274 - acc: 0.5654 - val_loss: 0.6701 - val_mae: 0.6371 - val_acc: 0.6460 - 2s/epoch - 88ms/step\n", - "Epoch 2/5\n", - "18/18 - 0s - loss: 0.6517 - mae: 0.6276 - acc: 0.6186 - val_loss: 0.6475 - val_mae: 0.6231 - val_acc: 0.6444 - 54ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "18/18 - 0s - loss: 0.6267 - mae: 0.6083 - acc: 0.6237 - val_loss: 0.6258 - val_mae: 0.6141 - val_acc: 0.6366 - 57ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "18/18 - 0s - loss: 0.6054 - mae: 0.5970 - acc: 0.6245 - val_loss: 0.6314 - val_mae: 0.6186 - val_acc: 0.6304 - 56ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "18/18 - 0s - loss: 0.5974 - mae: 0.5925 - acc: 0.6268 - val_loss: 0.5982 - val_mae: 0.5972 - val_acc: 0.6460 - 57ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "25/25 - 2s - loss: 0.8737 - mae: 0.7581 - acc: 0.3942 - val_loss: 0.7443 - val_mae: 0.6875 - val_acc: 0.6366 - 2s/epoch - 64ms/step\n", - "Epoch 2/5\n", - "25/25 - 0s - loss: 0.6884 - mae: 0.6565 - acc: 0.6085 - val_loss: 0.6469 - val_mae: 0.6324 - val_acc: 0.6475 - 66ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "25/25 - 0s - loss: 0.6230 - mae: 0.6140 - acc: 0.6190 - val_loss: 0.6079 - val_mae: 0.6109 - val_acc: 0.6460 - 70ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "25/25 - 0s - loss: 0.6083 - mae: 0.6057 - acc: 0.6264 - val_loss: 0.6024 - val_mae: 0.6068 - val_acc: 0.6615 - 73ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "25/25 - 0s - loss: 0.6065 - mae: 0.6031 - acc: 0.6307 - val_loss: 0.6021 - val_mae: 0.6113 - val_acc: 0.6739 - 67ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "19/19 - 2s - loss: 0.7323 - mae: 0.6769 - acc: 0.5837 - val_loss: 0.6525 - val_mae: 0.6404 - val_acc: 0.6537 - 2s/epoch - 84ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.5979 - mae: 0.5986 - acc: 0.6652 - val_loss: 0.5627 - val_mae: 0.5878 - val_acc: 0.6910 - 48ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.5412 - mae: 0.5699 - acc: 0.6757 - val_loss: 0.5728 - val_mae: 0.5870 - val_acc: 0.6661 - 49ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.5343 - mae: 0.5648 - acc: 0.6726 - val_loss: 0.5473 - val_mae: 0.5754 - val_acc: 0.6988 - 49ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.5270 - mae: 0.5609 - acc: 0.6839 - val_loss: 0.5280 - val_mae: 0.5636 - val_acc: 0.6988 - 55ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "81/81 - 2s - loss: 0.7493 - mae: 0.6866 - acc: 0.5817 - val_loss: 0.6496 - val_mae: 0.6323 - val_acc: 0.6584 - 2s/epoch - 20ms/step\n", - "Epoch 2/5\n", - "81/81 - 0s - loss: 0.6636 - mae: 0.6356 - acc: 0.6268 - val_loss: 0.6533 - val_mae: 0.6344 - val_acc: 0.6708 - 161ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "81/81 - 0s - loss: 0.6598 - mae: 0.6344 - acc: 0.6307 - val_loss: 0.6427 - val_mae: 0.6274 - val_acc: 0.6615 - 198ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "81/81 - 0s - loss: 0.6558 - mae: 0.6319 - acc: 0.6322 - val_loss: 0.6430 - val_mae: 0.6265 - val_acc: 0.6646 - 171ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "81/81 - 0s - loss: 0.6541 - mae: 0.6297 - acc: 0.6318 - val_loss: 0.6404 - val_mae: 0.6254 - val_acc: 0.6553 - 173ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 1.0322 - mae: 0.8225 - acc: 0.4175 - val_loss: 0.9454 - val_mae: 0.7885 - val_acc: 0.4239 - 684ms/epoch - 68ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.9499 - mae: 0.7895 - acc: 0.4528 - val_loss: 0.9012 - val_mae: 0.7683 - val_acc: 0.4643 - 30ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.9059 - mae: 0.7680 - acc: 0.4730 - val_loss: 0.8712 - val_mae: 0.7537 - val_acc: 0.4814 - 32ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.8742 - mae: 0.7522 - acc: 0.5107 - val_loss: 0.8505 - val_mae: 0.7445 - val_acc: 0.5870 - 33ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.8519 - mae: 0.7418 - acc: 0.5755 - val_loss: 0.8347 - val_mae: 0.7375 - val_acc: 0.5947 - 33ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.8113 - mae: 0.7131 - acc: 0.6124 - val_loss: 0.6703 - val_mae: 0.6423 - val_acc: 0.6475 - 776ms/epoch - 78ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.6503 - mae: 0.6316 - acc: 0.6485 - val_loss: 0.6355 - val_mae: 0.6297 - val_acc: 0.6584 - 34ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.6163 - mae: 0.6141 - acc: 0.6668 - val_loss: 0.6061 - val_mae: 0.6108 - val_acc: 0.6770 - 34ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.5908 - mae: 0.5970 - acc: 0.6715 - val_loss: 0.5835 - val_mae: 0.6015 - val_acc: 0.6879 - 36ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.5699 - mae: 0.5878 - acc: 0.6804 - val_loss: 0.5704 - val_mae: 0.5942 - val_acc: 0.6817 - 36ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 0.9225 - mae: 0.7827 - acc: 0.3883 - val_loss: 0.8007 - val_mae: 0.7191 - val_acc: 0.4534 - 2s/epoch - 168ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.7413 - mae: 0.6890 - acc: 0.5017 - val_loss: 0.7060 - val_mae: 0.6615 - val_acc: 0.6553 - 49ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.6862 - mae: 0.6515 - acc: 0.6299 - val_loss: 0.6635 - val_mae: 0.6356 - val_acc: 0.6630 - 50ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.6700 - mae: 0.6395 - acc: 0.6322 - val_loss: 0.6598 - val_mae: 0.6330 - val_acc: 0.6801 - 52ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6605 - mae: 0.6356 - acc: 0.6388 - val_loss: 0.6474 - val_mae: 0.6258 - val_acc: 0.6817 - 52ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "136/136 - 1s - loss: 0.7185 - mae: 0.6647 - acc: 0.6369 - val_loss: 0.6332 - val_mae: 0.6196 - val_acc: 0.6553 - 1s/epoch - 8ms/step\n", - "Epoch 2/5\n", - "136/136 - 0s - loss: 0.6094 - mae: 0.6042 - acc: 0.6707 - val_loss: 0.5857 - val_mae: 0.5947 - val_acc: 0.7034 - 204ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "136/136 - 0s - loss: 0.5826 - mae: 0.5909 - acc: 0.6742 - val_loss: 0.5684 - val_mae: 0.5855 - val_acc: 0.6988 - 194ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "136/136 - 0s - loss: 0.5643 - mae: 0.5810 - acc: 0.6784 - val_loss: 0.5541 - val_mae: 0.5780 - val_acc: 0.7081 - 191ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "136/136 - 0s - loss: 0.5528 - mae: 0.5753 - acc: 0.6866 - val_loss: 0.5455 - val_mae: 0.5744 - val_acc: 0.7112 - 196ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.9903 - mae: 0.8141 - acc: 0.3550 - val_loss: 0.9686 - val_mae: 0.8045 - val_acc: 0.4255 - 1s/epoch - 139ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.9791 - mae: 0.8102 - acc: 0.3724 - val_loss: 0.9599 - val_mae: 0.8018 - val_acc: 0.3975 - 33ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.9671 - mae: 0.8062 - acc: 0.3697 - val_loss: 0.9500 - val_mae: 0.7985 - val_acc: 0.3975 - 35ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.9524 - mae: 0.8008 - acc: 0.3662 - val_loss: 0.9369 - val_mae: 0.7933 - val_acc: 0.3975 - 35ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.9301 - mae: 0.7916 - acc: 0.4318 - val_loss: 0.9181 - val_mae: 0.7848 - val_acc: 0.4488 - 46ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9994 - mae: 0.8166 - acc: 0.3515 - val_loss: 0.9768 - val_mae: 0.8064 - val_acc: 0.3711 - 1s/epoch - 165ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.9950 - mae: 0.8152 - acc: 0.3596 - val_loss: 0.9751 - val_mae: 0.8064 - val_acc: 0.3711 - 37ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.9928 - mae: 0.8149 - acc: 0.3596 - val_loss: 0.9742 - val_mae: 0.8066 - val_acc: 0.3711 - 37ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.9913 - mae: 0.8147 - acc: 0.3596 - val_loss: 0.9737 - val_mae: 0.8069 - val_acc: 0.3711 - 40ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.9904 - mae: 0.8147 - acc: 0.3596 - val_loss: 0.9735 - val_mae: 0.8071 - val_acc: 0.3711 - 37ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2011/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2011/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model1610486646742423656/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model1610486646742423656/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 916us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model13625632237210402277/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model13625632237210402277/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 798us/step\n", - "Epoch 1/5\n", - "41/41 - 1s - loss: 1.0699 - mae: 0.8193 - acc: 0.4292 - val_loss: 0.9461 - val_mae: 0.7714 - val_acc: 0.6012 - 714ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 0.9017 - mae: 0.7499 - acc: 0.5949 - val_loss: 0.8463 - val_mae: 0.7256 - val_acc: 0.6199 - 64ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.8129 - mae: 0.7085 - acc: 0.6051 - val_loss: 0.7768 - val_mae: 0.6935 - val_acc: 0.6215 - 65ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.7412 - mae: 0.6743 - acc: 0.6129 - val_loss: 0.7130 - val_mae: 0.6607 - val_acc: 0.6246 - 66ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.6784 - mae: 0.6427 - acc: 0.6222 - val_loss: 0.6667 - val_mae: 0.6377 - val_acc: 0.6371 - 77ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9810 - mae: 0.8031 - acc: 0.3996 - val_loss: 0.9450 - val_mae: 0.7851 - val_acc: 0.4330 - 905ms/epoch - 101ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.9289 - mae: 0.7757 - acc: 0.4366 - val_loss: 0.9112 - val_mae: 0.7691 - val_acc: 0.4564 - 36ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.8852 - mae: 0.7556 - acc: 0.4616 - val_loss: 0.8742 - val_mae: 0.7492 - val_acc: 0.4860 - 38ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.8465 - mae: 0.7331 - acc: 0.5014 - val_loss: 0.8384 - val_mae: 0.7262 - val_acc: 0.5810 - 36ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.8142 - mae: 0.7150 - acc: 0.5762 - val_loss: 0.8061 - val_mae: 0.7097 - val_acc: 0.5997 - 41ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "78/78 - 2s - loss: 0.7415 - mae: 0.6787 - acc: 0.6522 - val_loss: 0.6355 - val_mae: 0.6218 - val_acc: 0.7056 - 2s/epoch - 23ms/step\n", - "Epoch 2/5\n", - "78/78 - 0s - loss: 0.6167 - mae: 0.6151 - acc: 0.6854 - val_loss: 0.6047 - val_mae: 0.6045 - val_acc: 0.7118 - 185ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "78/78 - 0s - loss: 0.5980 - mae: 0.6055 - acc: 0.6912 - val_loss: 0.6003 - val_mae: 0.6021 - val_acc: 0.7009 - 211ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "78/78 - 0s - loss: 0.5834 - mae: 0.5950 - acc: 0.6940 - val_loss: 0.5804 - val_mae: 0.5940 - val_acc: 0.7056 - 202ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "78/78 - 0s - loss: 0.5781 - mae: 0.5919 - acc: 0.6963 - val_loss: 0.5747 - val_mae: 0.5909 - val_acc: 0.7056 - 211ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "14/14 - 1s - loss: 0.9509 - mae: 0.7987 - acc: 0.2468 - val_loss: 0.9344 - val_mae: 0.7886 - val_acc: 0.4688 - 1s/epoch - 89ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.9269 - mae: 0.7879 - acc: 0.2982 - val_loss: 0.9123 - val_mae: 0.7778 - val_acc: 0.4844 - 41ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.9025 - mae: 0.7764 - acc: 0.4881 - val_loss: 0.8893 - val_mae: 0.7649 - val_acc: 0.4875 - 38ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.8791 - mae: 0.7642 - acc: 0.4901 - val_loss: 0.8705 - val_mae: 0.7536 - val_acc: 0.4984 - 40ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.8596 - mae: 0.7534 - acc: 0.5329 - val_loss: 0.8536 - val_mae: 0.7450 - val_acc: 0.6340 - 42ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "50/50 - 1s - loss: 0.7571 - mae: 0.6890 - acc: 0.6156 - val_loss: 0.6523 - val_mae: 0.6403 - val_acc: 0.6402 - 1s/epoch - 24ms/step\n", - "Epoch 2/5\n", - "50/50 - 0s - loss: 0.6177 - mae: 0.6153 - acc: 0.6402 - val_loss: 0.6097 - val_mae: 0.6165 - val_acc: 0.6776 - 97ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "50/50 - 0s - loss: 0.5864 - mae: 0.5994 - acc: 0.6639 - val_loss: 0.5984 - val_mae: 0.6095 - val_acc: 0.6838 - 93ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "50/50 - 0s - loss: 0.5714 - mae: 0.5884 - acc: 0.6702 - val_loss: 0.5779 - val_mae: 0.5979 - val_acc: 0.6978 - 93ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "50/50 - 0s - loss: 0.5619 - mae: 0.5849 - acc: 0.6686 - val_loss: 0.5699 - val_mae: 0.5916 - val_acc: 0.7087 - 91ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9005 - mae: 0.7701 - acc: 0.4351 - val_loss: 0.7508 - val_mae: 0.6993 - val_acc: 0.5592 - 809ms/epoch - 90ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.6899 - mae: 0.6642 - acc: 0.5942 - val_loss: 0.6735 - val_mae: 0.6517 - val_acc: 0.6293 - 40ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6471 - mae: 0.6343 - acc: 0.6441 - val_loss: 0.6435 - val_mae: 0.6301 - val_acc: 0.6480 - 37ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6163 - mae: 0.6137 - acc: 0.6608 - val_loss: 0.6146 - val_mae: 0.6166 - val_acc: 0.6573 - 39ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5946 - mae: 0.6019 - acc: 0.6663 - val_loss: 0.6024 - val_mae: 0.6086 - val_acc: 0.6620 - 36ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "33/33 - 1s - loss: 0.8062 - mae: 0.7172 - acc: 0.5832 - val_loss: 0.7139 - val_mae: 0.6687 - val_acc: 0.6480 - 1s/epoch - 42ms/step\n", - "Epoch 2/5\n", - "33/33 - 0s - loss: 0.6676 - mae: 0.6422 - acc: 0.6343 - val_loss: 0.6997 - val_mae: 0.6599 - val_acc: 0.6558 - 185ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "33/33 - 0s - loss: 0.6568 - mae: 0.6356 - acc: 0.6398 - val_loss: 0.6612 - val_mae: 0.6429 - val_acc: 0.6620 - 128ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "33/33 - 0s - loss: 0.6419 - mae: 0.6302 - acc: 0.6417 - val_loss: 0.6431 - val_mae: 0.6329 - val_acc: 0.6682 - 111ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "33/33 - 0s - loss: 0.6243 - mae: 0.6192 - acc: 0.6499 - val_loss: 0.6229 - val_mae: 0.6199 - val_acc: 0.6682 - 112ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "46/46 - 1s - loss: 0.7985 - mae: 0.7210 - acc: 0.5700 - val_loss: 0.6549 - val_mae: 0.6414 - val_acc: 0.6449 - 1s/epoch - 32ms/step\n", - "Epoch 2/5\n", - "46/46 - 0s - loss: 0.6137 - mae: 0.6151 - acc: 0.6480 - val_loss: 0.5963 - val_mae: 0.6067 - val_acc: 0.6526 - 100ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "46/46 - 0s - loss: 0.5714 - mae: 0.5907 - acc: 0.6737 - val_loss: 0.5636 - val_mae: 0.5884 - val_acc: 0.6667 - 93ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "46/46 - 0s - loss: 0.5490 - mae: 0.5758 - acc: 0.6795 - val_loss: 0.5505 - val_mae: 0.5805 - val_acc: 0.6869 - 119ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "46/46 - 0s - loss: 0.5340 - mae: 0.5677 - acc: 0.6842 - val_loss: 0.5324 - val_mae: 0.5712 - val_acc: 0.7103 - 132ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "62/62 - 2s - loss: 0.7025 - mae: 0.6597 - acc: 0.6023 - val_loss: 0.6621 - val_mae: 0.6386 - val_acc: 0.6449 - 2s/epoch - 25ms/step\n", - "Epoch 2/5\n", - "62/62 - 0s - loss: 0.6456 - mae: 0.6288 - acc: 0.6468 - val_loss: 0.6712 - val_mae: 0.6454 - val_acc: 0.6526 - 119ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "62/62 - 0s - loss: 0.6043 - mae: 0.6088 - acc: 0.6600 - val_loss: 0.5748 - val_mae: 0.5943 - val_acc: 0.6854 - 122ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "62/62 - 0s - loss: 0.5576 - mae: 0.5830 - acc: 0.6663 - val_loss: 0.5574 - val_mae: 0.5860 - val_acc: 0.6978 - 122ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "62/62 - 0s - loss: 0.5397 - mae: 0.5728 - acc: 0.6865 - val_loss: 0.5521 - val_mae: 0.5848 - val_acc: 0.7103 - 121ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "14/14 - 2s - loss: 0.9242 - mae: 0.7769 - acc: 0.5708 - val_loss: 0.7930 - val_mae: 0.7140 - val_acc: 0.6106 - 2s/epoch - 113ms/step\n", - "Epoch 2/5\n", - "14/14 - 0s - loss: 0.7250 - mae: 0.6762 - acc: 0.6117 - val_loss: 0.7171 - val_mae: 0.6697 - val_acc: 0.6184 - 52ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "14/14 - 0s - loss: 0.6801 - mae: 0.6486 - acc: 0.6222 - val_loss: 0.6882 - val_mae: 0.6553 - val_acc: 0.6480 - 49ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "14/14 - 0s - loss: 0.6658 - mae: 0.6423 - acc: 0.6355 - val_loss: 0.6730 - val_mae: 0.6461 - val_acc: 0.6526 - 49ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "14/14 - 0s - loss: 0.6595 - mae: 0.6372 - acc: 0.6499 - val_loss: 0.6618 - val_mae: 0.6389 - val_acc: 0.6480 - 49ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "15/15 - 1s - loss: 0.7808 - mae: 0.6975 - acc: 0.5895 - val_loss: 0.6621 - val_mae: 0.6405 - val_acc: 0.6667 - 688ms/epoch - 46ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.6198 - mae: 0.6144 - acc: 0.6569 - val_loss: 0.6011 - val_mae: 0.6065 - val_acc: 0.6760 - 44ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.5734 - mae: 0.5872 - acc: 0.6554 - val_loss: 0.5702 - val_mae: 0.5869 - val_acc: 0.6931 - 43ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.5469 - mae: 0.5716 - acc: 0.6795 - val_loss: 0.5486 - val_mae: 0.5746 - val_acc: 0.7087 - 42ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.5281 - mae: 0.5613 - acc: 0.6873 - val_loss: 0.5375 - val_mae: 0.5703 - val_acc: 0.7181 - 61ms/epoch - 4ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2010/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2010/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model4059763245913657293/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model4059763245913657293/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 958us/step\n", - "Epoch 1/5\n", - "41/41 - 1s - loss: 1.3868 - mae: 0.9350 - acc: 0.3171 - val_loss: 1.1183 - val_mae: 0.8551 - val_acc: 0.3328 - 722ms/epoch - 18ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 1.0605 - mae: 0.8282 - acc: 0.3829 - val_loss: 0.9211 - val_mae: 0.7809 - val_acc: 0.4308 - 66ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.8825 - mae: 0.7595 - acc: 0.5019 - val_loss: 0.7902 - val_mae: 0.7202 - val_acc: 0.6190 - 63ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.7666 - mae: 0.7045 - acc: 0.6128 - val_loss: 0.7069 - val_mae: 0.6743 - val_acc: 0.6579 - 67ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.6967 - mae: 0.6657 - acc: 0.6284 - val_loss: 0.6656 - val_mae: 0.6500 - val_acc: 0.6687 - 71ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.7499 - mae: 0.6868 - acc: 0.5984 - val_loss: 0.6531 - val_mae: 0.6424 - val_acc: 0.6672 - 1s/epoch - 101ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.6295 - mae: 0.6198 - acc: 0.6370 - val_loss: 0.6088 - val_mae: 0.6158 - val_acc: 0.6656 - 55ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.6069 - mae: 0.6050 - acc: 0.6405 - val_loss: 0.6106 - val_mae: 0.6152 - val_acc: 0.6485 - 52ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.6016 - mae: 0.5988 - acc: 0.6440 - val_loss: 0.5850 - val_mae: 0.5998 - val_acc: 0.6719 - 52ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5971 - mae: 0.5980 - acc: 0.6412 - val_loss: 0.5837 - val_mae: 0.5948 - val_acc: 0.6750 - 55ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.9379 - mae: 0.7840 - acc: 0.5393 - val_loss: 0.8155 - val_mae: 0.7263 - val_acc: 0.6019 - 1s/epoch - 133ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.7890 - mae: 0.7047 - acc: 0.6039 - val_loss: 0.7310 - val_mae: 0.6777 - val_acc: 0.6376 - 57ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.7162 - mae: 0.6671 - acc: 0.6284 - val_loss: 0.7214 - val_mae: 0.6727 - val_acc: 0.6392 - 58ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.7023 - mae: 0.6585 - acc: 0.6451 - val_loss: 0.6827 - val_mae: 0.6521 - val_acc: 0.6423 - 58ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.6639 - mae: 0.6395 - acc: 0.6490 - val_loss: 0.6675 - val_mae: 0.6401 - val_acc: 0.6485 - 87ms/epoch - 8ms/step\n", - "Epoch 1/5\n", - "30/30 - 1s - loss: 0.6784 - mae: 0.6425 - acc: 0.6105 - val_loss: 0.5529 - val_mae: 0.5888 - val_acc: 0.6921 - 1s/epoch - 48ms/step\n", - "Epoch 2/5\n", - "30/30 - 0s - loss: 0.5453 - mae: 0.5705 - acc: 0.6689 - val_loss: 0.5211 - val_mae: 0.5610 - val_acc: 0.7185 - 78ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "30/30 - 0s - loss: 0.5281 - mae: 0.5608 - acc: 0.6805 - val_loss: 0.5151 - val_mae: 0.5557 - val_acc: 0.7138 - 81ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "30/30 - 0s - loss: 0.5148 - mae: 0.5519 - acc: 0.6879 - val_loss: 0.5245 - val_mae: 0.5596 - val_acc: 0.7107 - 88ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "30/30 - 0s - loss: 0.5083 - mae: 0.5472 - acc: 0.6899 - val_loss: 0.5144 - val_mae: 0.5542 - val_acc: 0.6890 - 94ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 1.0129 - mae: 0.8172 - acc: 0.1887 - val_loss: 0.9369 - val_mae: 0.7900 - val_acc: 0.3639 - 859ms/epoch - 86ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.9235 - mae: 0.7835 - acc: 0.3533 - val_loss: 0.8782 - val_mae: 0.7646 - val_acc: 0.3639 - 35ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.8573 - mae: 0.7541 - acc: 0.3533 - val_loss: 0.8248 - val_mae: 0.7372 - val_acc: 0.3639 - 34ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.8021 - mae: 0.7266 - acc: 0.4568 - val_loss: 0.7853 - val_mae: 0.7162 - val_acc: 0.6485 - 34ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.7625 - mae: 0.7055 - acc: 0.6307 - val_loss: 0.7640 - val_mae: 0.7049 - val_acc: 0.6532 - 35ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.9503 - mae: 0.7923 - acc: 0.4638 - val_loss: 0.8921 - val_mae: 0.7704 - val_acc: 0.4728 - 1s/epoch - 103ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.8810 - mae: 0.7589 - acc: 0.5132 - val_loss: 0.8232 - val_mae: 0.7331 - val_acc: 0.5101 - 44ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.8201 - mae: 0.7305 - acc: 0.5323 - val_loss: 0.7868 - val_mae: 0.7153 - val_acc: 0.5350 - 51ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.7894 - mae: 0.7166 - acc: 0.5576 - val_loss: 0.7454 - val_mae: 0.6975 - val_acc: 0.5785 - 51ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.7635 - mae: 0.7025 - acc: 0.5778 - val_loss: 0.7208 - val_mae: 0.6833 - val_acc: 0.5925 - 45ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9551 - mae: 0.7945 - acc: 0.4856 - val_loss: 0.7977 - val_mae: 0.7187 - val_acc: 0.6812 - 778ms/epoch - 86ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7587 - mae: 0.6889 - acc: 0.6708 - val_loss: 0.6760 - val_mae: 0.6484 - val_acc: 0.6812 - 32ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6569 - mae: 0.6345 - acc: 0.6665 - val_loss: 0.6114 - val_mae: 0.6161 - val_acc: 0.6750 - 33ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6056 - mae: 0.6118 - acc: 0.6665 - val_loss: 0.5862 - val_mae: 0.6038 - val_acc: 0.6750 - 47ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5835 - mae: 0.5975 - acc: 0.6708 - val_loss: 0.5724 - val_mae: 0.5941 - val_acc: 0.6827 - 36ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "21/21 - 1s - loss: 0.9826 - mae: 0.8100 - acc: 0.3533 - val_loss: 0.9562 - val_mae: 0.8019 - val_acc: 0.3639 - 1s/epoch - 68ms/step\n", - "Epoch 2/5\n", - "21/21 - 0s - loss: 0.9780 - mae: 0.8081 - acc: 0.3533 - val_loss: 0.9564 - val_mae: 0.8021 - val_acc: 0.3639 - 56ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "21/21 - 0s - loss: 0.9771 - mae: 0.8075 - acc: 0.3533 - val_loss: 0.9564 - val_mae: 0.8020 - val_acc: 0.3639 - 53ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "21/21 - 0s - loss: 0.9770 - mae: 0.8076 - acc: 0.3533 - val_loss: 0.9571 - val_mae: 0.8027 - val_acc: 0.3639 - 53ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "21/21 - 0s - loss: 0.9772 - mae: 0.8084 - acc: 0.3533 - val_loss: 0.9580 - val_mae: 0.8034 - val_acc: 0.3639 - 50ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "17/17 - 1s - loss: 0.7063 - mae: 0.6657 - acc: 0.6113 - val_loss: 0.5977 - val_mae: 0.6078 - val_acc: 0.6703 - 1s/epoch - 59ms/step\n", - "Epoch 2/5\n", - "17/17 - 0s - loss: 0.5872 - mae: 0.5933 - acc: 0.6642 - val_loss: 0.5681 - val_mae: 0.5902 - val_acc: 0.6750 - 45ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "17/17 - 0s - loss: 0.5643 - mae: 0.5812 - acc: 0.6704 - val_loss: 0.5485 - val_mae: 0.5782 - val_acc: 0.6858 - 51ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "17/17 - 0s - loss: 0.5550 - mae: 0.5760 - acc: 0.6747 - val_loss: 0.5368 - val_mae: 0.5717 - val_acc: 0.6936 - 48ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "17/17 - 0s - loss: 0.5473 - mae: 0.5723 - acc: 0.6786 - val_loss: 0.5280 - val_mae: 0.5657 - val_acc: 0.7014 - 47ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "21/21 - 1s - loss: 1.0598 - mae: 0.8362 - acc: 0.3261 - val_loss: 0.9799 - val_mae: 0.8063 - val_acc: 0.4028 - 786ms/epoch - 37ms/step\n", - "Epoch 2/5\n", - "21/21 - 0s - loss: 0.9725 - mae: 0.8016 - acc: 0.4930 - val_loss: 0.9102 - val_mae: 0.7771 - val_acc: 0.5568 - 43ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "21/21 - 0s - loss: 0.8978 - mae: 0.7682 - acc: 0.5879 - val_loss: 0.8404 - val_mae: 0.7442 - val_acc: 0.6065 - 46ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "21/21 - 0s - loss: 0.8208 - mae: 0.7300 - acc: 0.6202 - val_loss: 0.7637 - val_mae: 0.7062 - val_acc: 0.6330 - 48ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "21/21 - 0s - loss: 0.7399 - mae: 0.6868 - acc: 0.6346 - val_loss: 0.6952 - val_mae: 0.6670 - val_acc: 0.6485 - 44ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 0.9474 - mae: 0.7911 - acc: 0.4105 - val_loss: 0.8624 - val_mae: 0.7603 - val_acc: 0.3639 - 2s/epoch - 164ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.7787 - mae: 0.7086 - acc: 0.5887 - val_loss: 0.6690 - val_mae: 0.6506 - val_acc: 0.6376 - 73ms/epoch - 7ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.6791 - mae: 0.6510 - acc: 0.6342 - val_loss: 0.6527 - val_mae: 0.6412 - val_acc: 0.6563 - 68ms/epoch - 7ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.6590 - mae: 0.6382 - acc: 0.6389 - val_loss: 0.6313 - val_mae: 0.6245 - val_acc: 0.6656 - 87ms/epoch - 9ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6444 - mae: 0.6280 - acc: 0.6494 - val_loss: 0.6507 - val_mae: 0.6407 - val_acc: 0.6703 - 76ms/epoch - 8ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2008/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2008/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model15716130791261837062/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model15716130791261837062/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 1ms/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model4172652405047637330/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model4172652405047637330/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 1ms/step\n", - "Epoch 1/5\n", - "38/38 - 1s - loss: 0.9799 - mae: 0.8084 - acc: 0.3752 - val_loss: 0.9445 - val_mae: 0.7911 - val_acc: 0.4530 - 811ms/epoch - 21ms/step\n", - "Epoch 2/5\n", - "38/38 - 0s - loss: 0.9147 - mae: 0.7788 - acc: 0.5090 - val_loss: 0.8975 - val_mae: 0.7685 - val_acc: 0.5856 - 82ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "38/38 - 0s - loss: 0.8529 - mae: 0.7478 - acc: 0.6404 - val_loss: 0.8169 - val_mae: 0.7250 - val_acc: 0.6678 - 70ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "38/38 - 0s - loss: 0.7516 - mae: 0.6940 - acc: 0.6668 - val_loss: 0.7027 - val_mae: 0.6577 - val_acc: 0.6829 - 63ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "38/38 - 0s - loss: 0.6573 - mae: 0.6391 - acc: 0.6643 - val_loss: 0.6449 - val_mae: 0.6250 - val_acc: 0.6762 - 63ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 1.3145 - mae: 0.9285 - acc: 0.2384 - val_loss: 1.1314 - val_mae: 0.8753 - val_acc: 0.2534 - 735ms/epoch - 57ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 1.0146 - mae: 0.8164 - acc: 0.3479 - val_loss: 0.9436 - val_mae: 0.7922 - val_acc: 0.3758 - 37ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.8732 - mae: 0.7496 - acc: 0.4280 - val_loss: 0.8589 - val_mae: 0.7494 - val_acc: 0.4480 - 37ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.8120 - mae: 0.7180 - acc: 0.4687 - val_loss: 0.8167 - val_mae: 0.7249 - val_acc: 0.4883 - 35ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.7795 - mae: 0.7008 - acc: 0.4809 - val_loss: 0.7880 - val_mae: 0.7086 - val_acc: 0.5017 - 35ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "149/149 - 1s - loss: 0.5851 - mae: 0.5984 - acc: 0.6534 - val_loss: 0.5678 - val_mae: 0.5910 - val_acc: 0.6896 - 953ms/epoch - 6ms/step\n", - "Epoch 2/5\n", - "149/149 - 0s - loss: 0.5280 - mae: 0.5635 - acc: 0.6937 - val_loss: 0.5571 - val_mae: 0.5837 - val_acc: 0.6846 - 203ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "149/149 - 0s - loss: 0.5141 - mae: 0.5574 - acc: 0.6970 - val_loss: 0.5389 - val_mae: 0.5736 - val_acc: 0.7081 - 204ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "149/149 - 0s - loss: 0.5053 - mae: 0.5523 - acc: 0.7000 - val_loss: 0.5410 - val_mae: 0.5733 - val_acc: 0.7097 - 199ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "149/149 - 0s - loss: 0.4983 - mae: 0.5473 - acc: 0.7012 - val_loss: 0.5294 - val_mae: 0.5658 - val_acc: 0.7097 - 230ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.8600 - mae: 0.7560 - acc: 0.3743 - val_loss: 0.8234 - val_mae: 0.7333 - val_acc: 0.4178 - 717ms/epoch - 65ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.7788 - mae: 0.7145 - acc: 0.4561 - val_loss: 0.7639 - val_mae: 0.7017 - val_acc: 0.6393 - 37ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.7262 - mae: 0.6859 - acc: 0.6320 - val_loss: 0.7240 - val_mae: 0.6792 - val_acc: 0.6577 - 37ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6901 - mae: 0.6650 - acc: 0.6416 - val_loss: 0.6949 - val_mae: 0.6613 - val_acc: 0.6661 - 35ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.6634 - mae: 0.6474 - acc: 0.6454 - val_loss: 0.6727 - val_mae: 0.6466 - val_acc: 0.6678 - 34ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "19/19 - 1s - loss: 0.8655 - mae: 0.7579 - acc: 0.4637 - val_loss: 0.8301 - val_mae: 0.7339 - val_acc: 0.5654 - 1s/epoch - 55ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.7683 - mae: 0.7017 - acc: 0.5548 - val_loss: 0.7291 - val_mae: 0.6766 - val_acc: 0.6057 - 55ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.6954 - mae: 0.6579 - acc: 0.5959 - val_loss: 0.6897 - val_mae: 0.6496 - val_acc: 0.6275 - 56ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.6639 - mae: 0.6386 - acc: 0.6127 - val_loss: 0.6744 - val_mae: 0.6422 - val_acc: 0.6393 - 61ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.6471 - mae: 0.6293 - acc: 0.6261 - val_loss: 0.6665 - val_mae: 0.6375 - val_acc: 0.6426 - 62ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "23/23 - 2s - loss: 0.7411 - mae: 0.6842 - acc: 0.5946 - val_loss: 0.6450 - val_mae: 0.6253 - val_acc: 0.6326 - 2s/epoch - 70ms/step\n", - "Epoch 2/5\n", - "23/23 - 0s - loss: 0.5829 - mae: 0.5933 - acc: 0.6483 - val_loss: 0.6096 - val_mae: 0.6094 - val_acc: 0.6594 - 68ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "23/23 - 0s - loss: 0.5554 - mae: 0.5801 - acc: 0.6710 - val_loss: 0.5803 - val_mae: 0.5935 - val_acc: 0.6829 - 77ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "23/23 - 0s - loss: 0.5344 - mae: 0.5678 - acc: 0.6802 - val_loss: 0.5665 - val_mae: 0.5888 - val_acc: 0.6711 - 75ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "23/23 - 0s - loss: 0.5291 - mae: 0.5667 - acc: 0.6815 - val_loss: 0.5622 - val_mae: 0.5873 - val_acc: 0.6762 - 72ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.6683 - mae: 0.6475 - acc: 0.6425 - val_loss: 0.5800 - val_mae: 0.5968 - val_acc: 0.6795 - 841ms/epoch - 93ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.5501 - mae: 0.5788 - acc: 0.6811 - val_loss: 0.5738 - val_mae: 0.5929 - val_acc: 0.6711 - 37ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.5375 - mae: 0.5705 - acc: 0.6769 - val_loss: 0.5434 - val_mae: 0.5718 - val_acc: 0.6779 - 42ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.5228 - mae: 0.5602 - acc: 0.6849 - val_loss: 0.5414 - val_mae: 0.5700 - val_acc: 0.6997 - 38ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5095 - mae: 0.5542 - acc: 0.6949 - val_loss: 0.5242 - val_mae: 0.5599 - val_acc: 0.7064 - 38ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "24/24 - 1s - loss: 0.8366 - mae: 0.7352 - acc: 0.5342 - val_loss: 0.8001 - val_mae: 0.7166 - val_acc: 0.5990 - 1s/epoch - 46ms/step\n", - "Epoch 2/5\n", - "24/24 - 0s - loss: 0.7510 - mae: 0.6898 - acc: 0.5992 - val_loss: 0.7355 - val_mae: 0.6759 - val_acc: 0.6174 - 63ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "24/24 - 0s - loss: 0.7105 - mae: 0.6676 - acc: 0.6144 - val_loss: 0.7240 - val_mae: 0.6699 - val_acc: 0.6309 - 83ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "24/24 - 0s - loss: 0.7011 - mae: 0.6623 - acc: 0.6223 - val_loss: 0.7112 - val_mae: 0.6610 - val_acc: 0.6376 - 70ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "24/24 - 0s - loss: 0.6908 - mae: 0.6553 - acc: 0.6253 - val_loss: 0.7051 - val_mae: 0.6567 - val_acc: 0.6376 - 68ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "83/83 - 1s - loss: 0.7064 - mae: 0.6749 - acc: 0.6278 - val_loss: 0.6156 - val_mae: 0.6184 - val_acc: 0.6544 - 1s/epoch - 12ms/step\n", - "Epoch 2/5\n", - "83/83 - 0s - loss: 0.5482 - mae: 0.5826 - acc: 0.6823 - val_loss: 0.5447 - val_mae: 0.5776 - val_acc: 0.6997 - 116ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "83/83 - 0s - loss: 0.5063 - mae: 0.5558 - acc: 0.6987 - val_loss: 0.5199 - val_mae: 0.5625 - val_acc: 0.7081 - 118ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "83/83 - 0s - loss: 0.4972 - mae: 0.5492 - acc: 0.6979 - val_loss: 0.5027 - val_mae: 0.5518 - val_acc: 0.7047 - 122ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "83/83 - 0s - loss: 0.4778 - mae: 0.5378 - acc: 0.7075 - val_loss: 0.5015 - val_mae: 0.5517 - val_acc: 0.6997 - 122ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "69/69 - 1s - loss: 0.7570 - mae: 0.6877 - acc: 0.5594 - val_loss: 0.6371 - val_mae: 0.6230 - val_acc: 0.6812 - 1s/epoch - 20ms/step\n", - "Epoch 2/5\n", - "69/69 - 0s - loss: 0.5887 - mae: 0.6000 - acc: 0.6735 - val_loss: 0.5910 - val_mae: 0.6011 - val_acc: 0.6829 - 96ms/epoch - 1ms/step\n", - "Epoch 3/5\n", - "69/69 - 0s - loss: 0.5429 - mae: 0.5752 - acc: 0.6819 - val_loss: 0.5665 - val_mae: 0.5900 - val_acc: 0.6762 - 96ms/epoch - 1ms/step\n", - "Epoch 4/5\n", - "69/69 - 0s - loss: 0.5217 - mae: 0.5626 - acc: 0.6878 - val_loss: 0.5497 - val_mae: 0.5834 - val_acc: 0.6795 - 99ms/epoch - 1ms/step\n", - "Epoch 5/5\n", - "69/69 - 0s - loss: 0.5089 - mae: 0.5553 - acc: 0.6924 - val_loss: 0.5379 - val_mae: 0.5762 - val_acc: 0.6879 - 102ms/epoch - 1ms/step\n", - "Epoch 1/5\n", - "52/52 - 1s - loss: 0.7177 - mae: 0.6686 - acc: 0.6169 - val_loss: 0.6006 - val_mae: 0.5979 - val_acc: 0.6628 - 1s/epoch - 28ms/step\n", - "Epoch 2/5\n", - "52/52 - 0s - loss: 0.5567 - mae: 0.5791 - acc: 0.6807 - val_loss: 0.5545 - val_mae: 0.5767 - val_acc: 0.7148 - 107ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "52/52 - 0s - loss: 0.5224 - mae: 0.5605 - acc: 0.7025 - val_loss: 0.5316 - val_mae: 0.5664 - val_acc: 0.7198 - 107ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "52/52 - 0s - loss: 0.5058 - mae: 0.5517 - acc: 0.7075 - val_loss: 0.5379 - val_mae: 0.5694 - val_acc: 0.7265 - 113ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "52/52 - 0s - loss: 0.4998 - mae: 0.5473 - acc: 0.7079 - val_loss: 0.5178 - val_mae: 0.5552 - val_acc: 0.7215 - 110ms/epoch - 2ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2013/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2013/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model887812237028367178/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model887812237028367178/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "15/15 [==============================] - 0s 822us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model13930401440135683816/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model13930401440135683816/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 1ms/step\n", - "Epoch 1/5\n", - "37/37 - 1s - loss: 0.9537 - mae: 0.7575 - acc: 0.4483 - val_loss: 0.8213 - val_mae: 0.7153 - val_acc: 0.5476 - 914ms/epoch - 25ms/step\n", - "Epoch 2/5\n", - "37/37 - 0s - loss: 0.7859 - mae: 0.6971 - acc: 0.5704 - val_loss: 0.7258 - val_mae: 0.6688 - val_acc: 0.6327 - 90ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "37/37 - 0s - loss: 0.6986 - mae: 0.6515 - acc: 0.6248 - val_loss: 0.6667 - val_mae: 0.6328 - val_acc: 0.6395 - 91ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "37/37 - 0s - loss: 0.6529 - mae: 0.6246 - acc: 0.6236 - val_loss: 0.6405 - val_mae: 0.6177 - val_acc: 0.6429 - 86ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "37/37 - 0s - loss: 0.6305 - mae: 0.6111 - acc: 0.6270 - val_loss: 0.6243 - val_mae: 0.6094 - val_acc: 0.6480 - 83ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "30/30 - 2s - loss: 0.8902 - mae: 0.7602 - acc: 0.4509 - val_loss: 0.8280 - val_mae: 0.7247 - val_acc: 0.6037 - 2s/epoch - 64ms/step\n", - "Epoch 2/5\n", - "30/30 - 0s - loss: 0.7653 - mae: 0.6885 - acc: 0.5823 - val_loss: 0.7074 - val_mae: 0.6590 - val_acc: 0.6241 - 134ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "30/30 - 0s - loss: 0.7084 - mae: 0.6595 - acc: 0.6019 - val_loss: 0.7381 - val_mae: 0.6742 - val_acc: 0.6241 - 132ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "30/30 - 0s - loss: 0.7172 - mae: 0.6624 - acc: 0.6112 - val_loss: 0.6843 - val_mae: 0.6491 - val_acc: 0.6224 - 133ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "30/30 - 0s - loss: 0.6969 - mae: 0.6495 - acc: 0.6138 - val_loss: 0.6705 - val_mae: 0.6424 - val_acc: 0.6327 - 137ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 1.0018 - mae: 0.8142 - acc: 0.3028 - val_loss: 0.9743 - val_mae: 0.8015 - val_acc: 0.2942 - 1s/epoch - 115ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.9945 - mae: 0.8129 - acc: 0.3011 - val_loss: 0.9688 - val_mae: 0.8003 - val_acc: 0.2942 - 43ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.9870 - mae: 0.8114 - acc: 0.3207 - val_loss: 0.9630 - val_mae: 0.7985 - val_acc: 0.3776 - 45ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.9787 - mae: 0.8089 - acc: 0.3539 - val_loss: 0.9541 - val_mae: 0.7944 - val_acc: 0.3980 - 45ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.9675 - mae: 0.8040 - acc: 0.3722 - val_loss: 0.9397 - val_mae: 0.7873 - val_acc: 0.3946 - 42ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "19/19 - 1s - loss: 0.8955 - mae: 0.7540 - acc: 0.5419 - val_loss: 0.8048 - val_mae: 0.7204 - val_acc: 0.6054 - 1s/epoch - 72ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.7366 - mae: 0.6780 - acc: 0.6104 - val_loss: 0.7250 - val_mae: 0.6673 - val_acc: 0.6344 - 69ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.6807 - mae: 0.6460 - acc: 0.6189 - val_loss: 0.6987 - val_mae: 0.6498 - val_acc: 0.6259 - 77ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.6580 - mae: 0.6326 - acc: 0.6346 - val_loss: 0.6786 - val_mae: 0.6445 - val_acc: 0.6190 - 90ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.6432 - mae: 0.6232 - acc: 0.6474 - val_loss: 0.6626 - val_mae: 0.6298 - val_acc: 0.6480 - 77ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 0.8542 - mae: 0.7452 - acc: 0.4126 - val_loss: 0.7726 - val_mae: 0.7024 - val_acc: 0.5799 - 2s/epoch - 182ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.7307 - mae: 0.6797 - acc: 0.5997 - val_loss: 0.6863 - val_mae: 0.6525 - val_acc: 0.5969 - 57ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.6674 - mae: 0.6359 - acc: 0.6070 - val_loss: 0.6616 - val_mae: 0.6353 - val_acc: 0.6088 - 59ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.6515 - mae: 0.6248 - acc: 0.6168 - val_loss: 0.6496 - val_mae: 0.6262 - val_acc: 0.6276 - 57ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6408 - mae: 0.6193 - acc: 0.6180 - val_loss: 0.6431 - val_mae: 0.6242 - val_acc: 0.6190 - 59ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "41/41 - 2s - loss: 0.7075 - mae: 0.6606 - acc: 0.5993 - val_loss: 0.6201 - val_mae: 0.6178 - val_acc: 0.6293 - 2s/epoch - 51ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 0.6175 - mae: 0.6148 - acc: 0.6491 - val_loss: 0.5858 - val_mae: 0.5968 - val_acc: 0.6803 - 141ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.5821 - mae: 0.5941 - acc: 0.6614 - val_loss: 0.5807 - val_mae: 0.5911 - val_acc: 0.6735 - 144ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.5708 - mae: 0.5883 - acc: 0.6567 - val_loss: 0.5972 - val_mae: 0.6065 - val_acc: 0.6463 - 141ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.5684 - mae: 0.5889 - acc: 0.6529 - val_loss: 0.5854 - val_mae: 0.5983 - val_acc: 0.6803 - 135ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "7/7 - 2s - loss: 0.9515 - mae: 0.7805 - acc: 0.4611 - val_loss: 0.8821 - val_mae: 0.7517 - val_acc: 0.5697 - 2s/epoch - 260ms/step\n", - "Epoch 2/5\n", - "7/7 - 0s - loss: 0.8837 - mae: 0.7513 - acc: 0.5598 - val_loss: 0.8207 - val_mae: 0.7212 - val_acc: 0.5714 - 45ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "7/7 - 0s - loss: 0.8124 - mae: 0.7149 - acc: 0.5738 - val_loss: 0.7649 - val_mae: 0.6891 - val_acc: 0.6020 - 45ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "7/7 - 0s - loss: 0.7654 - mae: 0.6913 - acc: 0.5793 - val_loss: 0.7450 - val_mae: 0.6828 - val_acc: 0.6003 - 48ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "7/7 - 0s - loss: 0.7525 - mae: 0.6852 - acc: 0.5883 - val_loss: 0.7353 - val_mae: 0.6757 - val_acc: 0.6020 - 45ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "11/11 - 2s - loss: 0.8293 - mae: 0.7222 - acc: 0.6023 - val_loss: 0.6728 - val_mae: 0.6359 - val_acc: 0.6207 - 2s/epoch - 160ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.6706 - mae: 0.6363 - acc: 0.6095 - val_loss: 0.6614 - val_mae: 0.6310 - val_acc: 0.6105 - 53ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.6490 - mae: 0.6244 - acc: 0.6125 - val_loss: 0.6347 - val_mae: 0.6152 - val_acc: 0.6344 - 59ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6298 - mae: 0.6152 - acc: 0.6236 - val_loss: 0.6205 - val_mae: 0.6090 - val_acc: 0.6446 - 55ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.6104 - mae: 0.6060 - acc: 0.6359 - val_loss: 0.6067 - val_mae: 0.6032 - val_acc: 0.6531 - 56ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9091 - mae: 0.7672 - acc: 0.5572 - val_loss: 0.7169 - val_mae: 0.6612 - val_acc: 0.6310 - 1s/epoch - 160ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.6848 - mae: 0.6431 - acc: 0.6129 - val_loss: 0.6578 - val_mae: 0.6281 - val_acc: 0.6378 - 54ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6522 - mae: 0.6206 - acc: 0.6172 - val_loss: 0.6459 - val_mae: 0.6214 - val_acc: 0.6395 - 60ms/epoch - 7ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6277 - mae: 0.6124 - acc: 0.6453 - val_loss: 0.6263 - val_mae: 0.6159 - val_acc: 0.6548 - 80ms/epoch - 9ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6121 - mae: 0.6016 - acc: 0.6457 - val_loss: 0.6206 - val_mae: 0.6116 - val_acc: 0.6395 - 68ms/epoch - 8ms/step\n", - "Epoch 1/5\n", - "48/48 - 2s - loss: 0.7188 - mae: 0.6700 - acc: 0.5678 - val_loss: 0.6428 - val_mae: 0.6301 - val_acc: 0.6259 - 2s/epoch - 36ms/step\n", - "Epoch 2/5\n", - "48/48 - 0s - loss: 0.6102 - mae: 0.6090 - acc: 0.6299 - val_loss: 0.6046 - val_mae: 0.6101 - val_acc: 0.6361 - 151ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "48/48 - 0s - loss: 0.5891 - mae: 0.5978 - acc: 0.6376 - val_loss: 0.6131 - val_mae: 0.6114 - val_acc: 0.6344 - 157ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "48/48 - 0s - loss: 0.5815 - mae: 0.5932 - acc: 0.6363 - val_loss: 0.6007 - val_mae: 0.6049 - val_acc: 0.6514 - 138ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "48/48 - 0s - loss: 0.5799 - mae: 0.5911 - acc: 0.6385 - val_loss: 0.6054 - val_mae: 0.6051 - val_acc: 0.6633 - 144ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "17/17 - 2s - loss: 0.8123 - mae: 0.7122 - acc: 0.5257 - val_loss: 0.7104 - val_mae: 0.6646 - val_acc: 0.6259 - 2s/epoch - 111ms/step\n", - "Epoch 2/5\n", - "17/17 - 0s - loss: 0.6687 - mae: 0.6380 - acc: 0.6231 - val_loss: 0.6471 - val_mae: 0.6244 - val_acc: 0.6207 - 91ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "17/17 - 0s - loss: 0.6226 - mae: 0.6157 - acc: 0.6444 - val_loss: 0.6202 - val_mae: 0.6084 - val_acc: 0.6735 - 100ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "17/17 - 0s - loss: 0.6189 - mae: 0.6127 - acc: 0.6546 - val_loss: 0.6284 - val_mae: 0.6106 - val_acc: 0.6156 - 98ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "17/17 - 0s - loss: 0.5981 - mae: 0.5996 - acc: 0.6618 - val_loss: 0.6153 - val_mae: 0.6018 - val_acc: 0.6752 - 113ms/epoch - 7ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2016/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2016/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model1039220476052257255/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model1039220476052257255/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "17/17 [==============================] - 0s 2ms/step\n", - "Epoch 1/5\n", - "41/41 - 1s - loss: 1.0917 - mae: 0.8569 - acc: 0.2947 - val_loss: 1.0019 - val_mae: 0.8195 - val_acc: 0.4339 - 802ms/epoch - 20ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 0.9543 - mae: 0.7903 - acc: 0.5482 - val_loss: 0.9094 - val_mae: 0.7707 - val_acc: 0.6034 - 76ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.8745 - mae: 0.7458 - acc: 0.6065 - val_loss: 0.8343 - val_mae: 0.7302 - val_acc: 0.6190 - 77ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.7943 - mae: 0.7047 - acc: 0.6209 - val_loss: 0.7519 - val_mae: 0.6842 - val_acc: 0.6299 - 70ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.7139 - mae: 0.6624 - acc: 0.6225 - val_loss: 0.6841 - val_mae: 0.6469 - val_acc: 0.6407 - 74ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "15/15 - 1s - loss: 0.9021 - mae: 0.7663 - acc: 0.4953 - val_loss: 0.7607 - val_mae: 0.6871 - val_acc: 0.6532 - 1s/epoch - 100ms/step\n", - "Epoch 2/5\n", - "15/15 - 0s - loss: 0.6808 - mae: 0.6458 - acc: 0.6256 - val_loss: 0.6597 - val_mae: 0.6373 - val_acc: 0.6579 - 79ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "15/15 - 0s - loss: 0.6254 - mae: 0.6128 - acc: 0.6345 - val_loss: 0.6189 - val_mae: 0.6178 - val_acc: 0.6610 - 75ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "15/15 - 0s - loss: 0.5867 - mae: 0.5924 - acc: 0.6512 - val_loss: 0.5816 - val_mae: 0.5920 - val_acc: 0.6890 - 67ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "15/15 - 0s - loss: 0.5635 - mae: 0.5781 - acc: 0.6785 - val_loss: 0.5633 - val_mae: 0.5820 - val_acc: 0.6967 - 67ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "37/37 - 1s - loss: 0.6871 - mae: 0.6519 - acc: 0.6030 - val_loss: 0.6162 - val_mae: 0.6117 - val_acc: 0.6672 - 1s/epoch - 33ms/step\n", - "Epoch 2/5\n", - "37/37 - 0s - loss: 0.5765 - mae: 0.5935 - acc: 0.6722 - val_loss: 0.5552 - val_mae: 0.5818 - val_acc: 0.7076 - 84ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "37/37 - 0s - loss: 0.5427 - mae: 0.5739 - acc: 0.6843 - val_loss: 0.5813 - val_mae: 0.5888 - val_acc: 0.6983 - 85ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "37/37 - 0s - loss: 0.5408 - mae: 0.5726 - acc: 0.6882 - val_loss: 0.5580 - val_mae: 0.5831 - val_acc: 0.7232 - 88ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "37/37 - 0s - loss: 0.5225 - mae: 0.5600 - acc: 0.7006 - val_loss: 0.5487 - val_mae: 0.5744 - val_acc: 0.6858 - 84ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.9359 - mae: 0.7767 - acc: 0.5183 - val_loss: 0.8408 - val_mae: 0.7311 - val_acc: 0.6547 - 1s/epoch - 126ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.8047 - mae: 0.7068 - acc: 0.6353 - val_loss: 0.7266 - val_mae: 0.6691 - val_acc: 0.6594 - 52ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.7091 - mae: 0.6599 - acc: 0.6419 - val_loss: 0.6725 - val_mae: 0.6392 - val_acc: 0.6998 - 53ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.6842 - mae: 0.6432 - acc: 0.6804 - val_loss: 0.6516 - val_mae: 0.6290 - val_acc: 0.7107 - 57ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.6601 - mae: 0.6338 - acc: 0.6773 - val_loss: 0.6393 - val_mae: 0.6215 - val_acc: 0.7138 - 57ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "65/65 - 1s - loss: 0.6957 - mae: 0.6547 - acc: 0.6213 - val_loss: 0.5967 - val_mae: 0.6017 - val_acc: 0.6594 - 1s/epoch - 22ms/step\n", - "Epoch 2/5\n", - "65/65 - 0s - loss: 0.5825 - mae: 0.5931 - acc: 0.6575 - val_loss: 0.5712 - val_mae: 0.5908 - val_acc: 0.6750 - 132ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "65/65 - 0s - loss: 0.5646 - mae: 0.5833 - acc: 0.6649 - val_loss: 0.5696 - val_mae: 0.5913 - val_acc: 0.6827 - 148ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "65/65 - 0s - loss: 0.5548 - mae: 0.5783 - acc: 0.6668 - val_loss: 0.5626 - val_mae: 0.5883 - val_acc: 0.6796 - 131ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "65/65 - 0s - loss: 0.5463 - mae: 0.5731 - acc: 0.6777 - val_loss: 0.5553 - val_mae: 0.5824 - val_acc: 0.7107 - 151ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.9716 - mae: 0.8019 - acc: 0.5222 - val_loss: 0.9369 - val_mae: 0.7908 - val_acc: 0.6112 - 991ms/epoch - 76ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.8955 - mae: 0.7682 - acc: 0.6116 - val_loss: 0.8582 - val_mae: 0.7526 - val_acc: 0.6392 - 39ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.8218 - mae: 0.7305 - acc: 0.6221 - val_loss: 0.7927 - val_mae: 0.7173 - val_acc: 0.6439 - 39ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.7559 - mae: 0.6957 - acc: 0.6205 - val_loss: 0.7330 - val_mae: 0.6865 - val_acc: 0.6439 - 40ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.6971 - mae: 0.6632 - acc: 0.6229 - val_loss: 0.6833 - val_mae: 0.6553 - val_acc: 0.6439 - 51ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.7266 - mae: 0.6730 - acc: 0.5673 - val_loss: 0.6257 - val_mae: 0.6079 - val_acc: 0.6858 - 872ms/epoch - 73ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.5888 - mae: 0.5922 - acc: 0.6625 - val_loss: 0.5705 - val_mae: 0.5844 - val_acc: 0.6890 - 44ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.5500 - mae: 0.5728 - acc: 0.6734 - val_loss: 0.5569 - val_mae: 0.5784 - val_acc: 0.7014 - 45ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.5305 - mae: 0.5621 - acc: 0.6656 - val_loss: 0.5498 - val_mae: 0.5774 - val_acc: 0.6967 - 46ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.5206 - mae: 0.5574 - acc: 0.6753 - val_loss: 0.5456 - val_mae: 0.5748 - val_acc: 0.6983 - 44ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "34/34 - 2s - loss: 0.6952 - mae: 0.6600 - acc: 0.6034 - val_loss: 0.5979 - val_mae: 0.6127 - val_acc: 0.6936 - 2s/epoch - 48ms/step\n", - "Epoch 2/5\n", - "34/34 - 0s - loss: 0.5803 - mae: 0.5919 - acc: 0.6816 - val_loss: 0.5631 - val_mae: 0.5877 - val_acc: 0.7138 - 80ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "34/34 - 0s - loss: 0.5594 - mae: 0.5801 - acc: 0.6761 - val_loss: 0.5583 - val_mae: 0.5865 - val_acc: 0.7154 - 87ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "34/34 - 0s - loss: 0.5453 - mae: 0.5717 - acc: 0.6835 - val_loss: 0.5472 - val_mae: 0.5764 - val_acc: 0.7247 - 82ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "34/34 - 0s - loss: 0.5335 - mae: 0.5663 - acc: 0.6909 - val_loss: 0.5515 - val_mae: 0.5830 - val_acc: 0.7216 - 83ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "21/21 - 2s - loss: 0.9338 - mae: 0.7862 - acc: 0.5560 - val_loss: 0.7780 - val_mae: 0.7099 - val_acc: 0.6485 - 2s/epoch - 82ms/step\n", - "Epoch 2/5\n", - "21/21 - 0s - loss: 0.6806 - mae: 0.6536 - acc: 0.6248 - val_loss: 0.6389 - val_mae: 0.6297 - val_acc: 0.6610 - 70ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "21/21 - 0s - loss: 0.6129 - mae: 0.6123 - acc: 0.6470 - val_loss: 0.6057 - val_mae: 0.6108 - val_acc: 0.6656 - 72ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "21/21 - 0s - loss: 0.5901 - mae: 0.6001 - acc: 0.6544 - val_loss: 0.6097 - val_mae: 0.6161 - val_acc: 0.6687 - 75ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "21/21 - 0s - loss: 0.5872 - mae: 0.5992 - acc: 0.6610 - val_loss: 0.6024 - val_mae: 0.6117 - val_acc: 0.6781 - 77ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.9764 - mae: 0.8070 - acc: 0.3585 - val_loss: 0.9417 - val_mae: 0.7914 - val_acc: 0.4759 - 1s/epoch - 99ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.8847 - mae: 0.7641 - acc: 0.5191 - val_loss: 0.8034 - val_mae: 0.7253 - val_acc: 0.5848 - 47ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.7728 - mae: 0.7016 - acc: 0.5840 - val_loss: 0.7251 - val_mae: 0.6840 - val_acc: 0.6128 - 50ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.7214 - mae: 0.6733 - acc: 0.6131 - val_loss: 0.7080 - val_mae: 0.6743 - val_acc: 0.6345 - 49ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.6964 - mae: 0.6580 - acc: 0.6225 - val_loss: 0.6808 - val_mae: 0.6538 - val_acc: 0.6314 - 50ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "19/19 - 2s - loss: 0.9761 - mae: 0.8033 - acc: 0.3581 - val_loss: 0.9520 - val_mae: 0.7954 - val_acc: 0.3686 - 2s/epoch - 79ms/step\n", - "Epoch 2/5\n", - "19/19 - 0s - loss: 0.9270 - mae: 0.7772 - acc: 0.4168 - val_loss: 0.8904 - val_mae: 0.7623 - val_acc: 0.5770 - 78ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "19/19 - 0s - loss: 0.8391 - mae: 0.7336 - acc: 0.6038 - val_loss: 0.7659 - val_mae: 0.7004 - val_acc: 0.6641 - 58ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "19/19 - 0s - loss: 0.6976 - mae: 0.6595 - acc: 0.6509 - val_loss: 0.6322 - val_mae: 0.6225 - val_acc: 0.6610 - 59ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "19/19 - 0s - loss: 0.6019 - mae: 0.6069 - acc: 0.6742 - val_loss: 0.5880 - val_mae: 0.6025 - val_acc: 0.6905 - 63ms/epoch - 3ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2009/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2009/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model3972899803280025885/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model3972899803280025885/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 939us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model1115342717912128608/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model1115342717912128608/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 720us/step\n", - "Epoch 1/5\n", - "41/41 - 1s - loss: 0.9959 - mae: 0.7958 - acc: 0.2957 - val_loss: 0.8654 - val_mae: 0.7370 - val_acc: 0.3818 - 691ms/epoch - 17ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 0.7747 - mae: 0.6964 - acc: 0.4764 - val_loss: 0.7496 - val_mae: 0.6822 - val_acc: 0.5734 - 71ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.6940 - mae: 0.6553 - acc: 0.6176 - val_loss: 0.7000 - val_mae: 0.6564 - val_acc: 0.6507 - 87ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.6570 - mae: 0.6356 - acc: 0.6401 - val_loss: 0.6716 - val_mae: 0.6422 - val_acc: 0.6522 - 76ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.6335 - mae: 0.6230 - acc: 0.6509 - val_loss: 0.6484 - val_mae: 0.6298 - val_acc: 0.6584 - 73ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "96/96 - 2s - loss: 0.7165 - mae: 0.6638 - acc: 0.6180 - val_loss: 0.6481 - val_mae: 0.6222 - val_acc: 0.6538 - 2s/epoch - 18ms/step\n", - "Epoch 2/5\n", - "96/96 - 0s - loss: 0.5971 - mae: 0.5984 - acc: 0.6629 - val_loss: 0.6158 - val_mae: 0.6037 - val_acc: 0.6924 - 178ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "96/96 - 0s - loss: 0.5715 - mae: 0.5852 - acc: 0.6741 - val_loss: 0.5893 - val_mae: 0.5981 - val_acc: 0.7017 - 174ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "96/96 - 0s - loss: 0.5542 - mae: 0.5753 - acc: 0.6757 - val_loss: 0.5829 - val_mae: 0.5917 - val_acc: 0.6847 - 181ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "96/96 - 0s - loss: 0.5417 - mae: 0.5674 - acc: 0.6800 - val_loss: 0.5708 - val_mae: 0.5820 - val_acc: 0.6940 - 167ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "30/30 - 1s - loss: 0.9141 - mae: 0.7768 - acc: 0.5410 - val_loss: 0.7688 - val_mae: 0.7003 - val_acc: 0.6430 - 1s/epoch - 50ms/step\n", - "Epoch 2/5\n", - "30/30 - 0s - loss: 0.6780 - mae: 0.6481 - acc: 0.6250 - val_loss: 0.6730 - val_mae: 0.6465 - val_acc: 0.6368 - 96ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "30/30 - 0s - loss: 0.6428 - mae: 0.6274 - acc: 0.6385 - val_loss: 0.6564 - val_mae: 0.6389 - val_acc: 0.6538 - 82ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "30/30 - 0s - loss: 0.6341 - mae: 0.6237 - acc: 0.6436 - val_loss: 0.6430 - val_mae: 0.6305 - val_acc: 0.6491 - 90ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "30/30 - 0s - loss: 0.6223 - mae: 0.6186 - acc: 0.6544 - val_loss: 0.6400 - val_mae: 0.6308 - val_acc: 0.6692 - 111ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "22/22 - 1s - loss: 0.9129 - mae: 0.7625 - acc: 0.4737 - val_loss: 0.8663 - val_mae: 0.7404 - val_acc: 0.5920 - 898ms/epoch - 41ms/step\n", - "Epoch 2/5\n", - "22/22 - 0s - loss: 0.8170 - mae: 0.7114 - acc: 0.6026 - val_loss: 0.7971 - val_mae: 0.7045 - val_acc: 0.6352 - 49ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "22/22 - 0s - loss: 0.7474 - mae: 0.6764 - acc: 0.6188 - val_loss: 0.7367 - val_mae: 0.6704 - val_acc: 0.6430 - 51ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "22/22 - 0s - loss: 0.7088 - mae: 0.6582 - acc: 0.6184 - val_loss: 0.7168 - val_mae: 0.6615 - val_acc: 0.6399 - 50ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "22/22 - 0s - loss: 0.7062 - mae: 0.6614 - acc: 0.5878 - val_loss: 0.7088 - val_mae: 0.6575 - val_acc: 0.6399 - 48ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "259/259 - 2s - loss: 0.6744 - mae: 0.6374 - acc: 0.6115 - val_loss: 0.6585 - val_mae: 0.6347 - val_acc: 0.6569 - 2s/epoch - 8ms/step\n", - "Epoch 2/5\n", - "259/259 - 0s - loss: 0.6233 - mae: 0.6115 - acc: 0.6440 - val_loss: 0.6342 - val_mae: 0.6194 - val_acc: 0.6739 - 443ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "259/259 - 0s - loss: 0.6067 - mae: 0.6032 - acc: 0.6540 - val_loss: 0.6067 - val_mae: 0.6051 - val_acc: 0.7017 - 425ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "259/259 - 0s - loss: 0.5738 - mae: 0.5870 - acc: 0.6641 - val_loss: 0.5844 - val_mae: 0.5911 - val_acc: 0.6646 - 410ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "259/259 - 0s - loss: 0.5460 - mae: 0.5714 - acc: 0.6567 - val_loss: 0.5634 - val_mae: 0.5840 - val_acc: 0.6893 - 398ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.9808 - mae: 0.8085 - acc: 0.3843 - val_loss: 0.9853 - val_mae: 0.8117 - val_acc: 0.4900 - 997ms/epoch - 83ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.9506 - mae: 0.7938 - acc: 0.4926 - val_loss: 0.9527 - val_mae: 0.7955 - val_acc: 0.5224 - 35ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.8999 - mae: 0.7677 - acc: 0.5306 - val_loss: 0.8942 - val_mae: 0.7623 - val_acc: 0.5641 - 37ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.8265 - mae: 0.7265 - acc: 0.5592 - val_loss: 0.8227 - val_mae: 0.7187 - val_acc: 0.5873 - 36ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.7550 - mae: 0.6853 - acc: 0.5863 - val_loss: 0.7718 - val_mae: 0.6879 - val_acc: 0.5703 - 36ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "12/12 - 1s - loss: 0.8787 - mae: 0.7607 - acc: 0.5132 - val_loss: 0.7578 - val_mae: 0.6909 - val_acc: 0.6244 - 1s/epoch - 84ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.6687 - mae: 0.6412 - acc: 0.6165 - val_loss: 0.6693 - val_mae: 0.6403 - val_acc: 0.6522 - 42ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.6175 - mae: 0.6114 - acc: 0.6273 - val_loss: 0.6427 - val_mae: 0.6271 - val_acc: 0.6662 - 39ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.5964 - mae: 0.6011 - acc: 0.6416 - val_loss: 0.6147 - val_mae: 0.6142 - val_acc: 0.6801 - 40ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.5749 - mae: 0.5884 - acc: 0.6567 - val_loss: 0.5980 - val_mae: 0.6076 - val_acc: 0.6924 - 41ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "16/16 - 2s - loss: 0.8405 - mae: 0.7294 - acc: 0.5611 - val_loss: 0.8179 - val_mae: 0.7205 - val_acc: 0.6291 - 2s/epoch - 112ms/step\n", - "Epoch 2/5\n", - "16/16 - 0s - loss: 0.7385 - mae: 0.6792 - acc: 0.6138 - val_loss: 0.7273 - val_mae: 0.6639 - val_acc: 0.6321 - 68ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "16/16 - 0s - loss: 0.6958 - mae: 0.6520 - acc: 0.6304 - val_loss: 0.6842 - val_mae: 0.6358 - val_acc: 0.6538 - 68ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "16/16 - 0s - loss: 0.6466 - mae: 0.6200 - acc: 0.6432 - val_loss: 0.6465 - val_mae: 0.6186 - val_acc: 0.6754 - 81ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "16/16 - 0s - loss: 0.6159 - mae: 0.6065 - acc: 0.6672 - val_loss: 0.6054 - val_mae: 0.6024 - val_acc: 0.6862 - 65ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "11/11 - 1s - loss: 0.8854 - mae: 0.7585 - acc: 0.4725 - val_loss: 0.7871 - val_mae: 0.7023 - val_acc: 0.5580 - 806ms/epoch - 73ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.7227 - mae: 0.6727 - acc: 0.5995 - val_loss: 0.7295 - val_mae: 0.6734 - val_acc: 0.6244 - 40ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.6843 - mae: 0.6489 - acc: 0.6180 - val_loss: 0.6769 - val_mae: 0.6416 - val_acc: 0.6321 - 36ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6454 - mae: 0.6252 - acc: 0.6324 - val_loss: 0.6540 - val_mae: 0.6281 - val_acc: 0.6399 - 36ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.6247 - mae: 0.6132 - acc: 0.6455 - val_loss: 0.6365 - val_mae: 0.6185 - val_acc: 0.6600 - 38ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "18/18 - 1s - loss: 0.7294 - mae: 0.6732 - acc: 0.5971 - val_loss: 0.6550 - val_mae: 0.6348 - val_acc: 0.6569 - 857ms/epoch - 48ms/step\n", - "Epoch 2/5\n", - "18/18 - 0s - loss: 0.6395 - mae: 0.6204 - acc: 0.6389 - val_loss: 0.6347 - val_mae: 0.6222 - val_acc: 0.6600 - 44ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "18/18 - 0s - loss: 0.6120 - mae: 0.6058 - acc: 0.6474 - val_loss: 0.6140 - val_mae: 0.6075 - val_acc: 0.6662 - 47ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "18/18 - 0s - loss: 0.5956 - mae: 0.5966 - acc: 0.6533 - val_loss: 0.6015 - val_mae: 0.6010 - val_acc: 0.6677 - 46ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "18/18 - 0s - loss: 0.5766 - mae: 0.5875 - acc: 0.6649 - val_loss: 0.5818 - val_mae: 0.5913 - val_acc: 0.6708 - 48ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "18/18 - 1s - loss: 0.7385 - mae: 0.6747 - acc: 0.6107 - val_loss: 0.6821 - val_mae: 0.6480 - val_acc: 0.6445 - 1s/epoch - 83ms/step\n", - "Epoch 2/5\n", - "18/18 - 0s - loss: 0.6376 - mae: 0.6195 - acc: 0.6316 - val_loss: 0.6559 - val_mae: 0.6290 - val_acc: 0.6646 - 57ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "18/18 - 0s - loss: 0.6327 - mae: 0.6142 - acc: 0.6354 - val_loss: 0.6536 - val_mae: 0.6339 - val_acc: 0.6615 - 59ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "18/18 - 0s - loss: 0.6133 - mae: 0.6055 - acc: 0.6467 - val_loss: 0.6371 - val_mae: 0.6252 - val_acc: 0.6615 - 60ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "18/18 - 0s - loss: 0.5988 - mae: 0.5987 - acc: 0.6509 - val_loss: 0.6280 - val_mae: 0.6171 - val_acc: 0.6754 - 61ms/epoch - 3ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2007/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2007/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model4048021476322914017/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model4048021476322914017/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8/8 [==============================] - 0s 1ms/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model7071315192686730038/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model7071315192686730038/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 913us/step\n", - "Epoch 1/5\n", - "40/40 - 1s - loss: 1.1398 - mae: 0.8510 - acc: 0.4982 - val_loss: 0.9581 - val_mae: 0.7820 - val_acc: 0.5446 - 775ms/epoch - 19ms/step\n", - "Epoch 2/5\n", - "40/40 - 0s - loss: 0.8878 - mae: 0.7595 - acc: 0.5785 - val_loss: 0.8284 - val_mae: 0.7299 - val_acc: 0.5790 - 70ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "40/40 - 0s - loss: 0.7843 - mae: 0.7141 - acc: 0.6071 - val_loss: 0.7620 - val_mae: 0.6966 - val_acc: 0.6150 - 69ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "40/40 - 0s - loss: 0.7241 - mae: 0.6829 - acc: 0.6436 - val_loss: 0.7173 - val_mae: 0.6726 - val_acc: 0.6416 - 68ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "40/40 - 0s - loss: 0.6788 - mae: 0.6584 - acc: 0.6600 - val_loss: 0.6823 - val_mae: 0.6544 - val_acc: 0.6526 - 71ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9604 - mae: 0.8021 - acc: 0.3008 - val_loss: 0.9537 - val_mae: 0.7936 - val_acc: 0.4053 - 1s/epoch - 144ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.9470 - mae: 0.7956 - acc: 0.4328 - val_loss: 0.9431 - val_mae: 0.7878 - val_acc: 0.4163 - 37ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.9349 - mae: 0.7890 - acc: 0.4422 - val_loss: 0.9331 - val_mae: 0.7814 - val_acc: 0.4272 - 41ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.9229 - mae: 0.7821 - acc: 0.4434 - val_loss: 0.9232 - val_mae: 0.7755 - val_acc: 0.4319 - 38ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.9109 - mae: 0.7756 - acc: 0.4469 - val_loss: 0.9132 - val_mae: 0.7698 - val_acc: 0.4382 - 39ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "10/10 - 1s - loss: 0.9761 - mae: 0.8099 - acc: 0.3756 - val_loss: 0.9596 - val_mae: 0.7962 - val_acc: 0.3787 - 1s/epoch - 142ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.9476 - mae: 0.7952 - acc: 0.3823 - val_loss: 0.9418 - val_mae: 0.7845 - val_acc: 0.3772 - 57ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.9304 - mae: 0.7856 - acc: 0.3972 - val_loss: 0.9361 - val_mae: 0.7814 - val_acc: 0.4069 - 58ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.9199 - mae: 0.7796 - acc: 0.4152 - val_loss: 0.9280 - val_mae: 0.7772 - val_acc: 0.4100 - 62ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.9124 - mae: 0.7748 - acc: 0.4269 - val_loss: 0.9208 - val_mae: 0.7727 - val_acc: 0.4366 - 64ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.8156 - mae: 0.7298 - acc: 0.5170 - val_loss: 0.6925 - val_mae: 0.6618 - val_acc: 0.6182 - 1s/epoch - 147ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.6297 - mae: 0.6306 - acc: 0.6361 - val_loss: 0.6343 - val_mae: 0.6267 - val_acc: 0.6541 - 50ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.5856 - mae: 0.5977 - acc: 0.6588 - val_loss: 0.6076 - val_mae: 0.6086 - val_acc: 0.6541 - 51ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.5677 - mae: 0.5876 - acc: 0.6686 - val_loss: 0.6048 - val_mae: 0.6082 - val_acc: 0.6620 - 57ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.5637 - mae: 0.5863 - acc: 0.6667 - val_loss: 0.5897 - val_mae: 0.6015 - val_acc: 0.6698 - 57ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.8817 - mae: 0.7541 - acc: 0.5284 - val_loss: 0.7414 - val_mae: 0.6782 - val_acc: 0.6182 - 1s/epoch - 80ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.6770 - mae: 0.6508 - acc: 0.6259 - val_loss: 0.6383 - val_mae: 0.6216 - val_acc: 0.6667 - 44ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.6113 - mae: 0.6152 - acc: 0.6627 - val_loss: 0.5929 - val_mae: 0.5989 - val_acc: 0.6917 - 56ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.5794 - mae: 0.5954 - acc: 0.6780 - val_loss: 0.5764 - val_mae: 0.5898 - val_acc: 0.6964 - 45ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5632 - mae: 0.5862 - acc: 0.6812 - val_loss: 0.5645 - val_mae: 0.5848 - val_acc: 0.7089 - 53ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "41/41 - 2s - loss: 0.7743 - mae: 0.6939 - acc: 0.5954 - val_loss: 0.6649 - val_mae: 0.6326 - val_acc: 0.6291 - 2s/epoch - 38ms/step\n", - "Epoch 2/5\n", - "41/41 - 0s - loss: 0.6283 - mae: 0.6191 - acc: 0.6334 - val_loss: 0.6367 - val_mae: 0.6213 - val_acc: 0.6401 - 94ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "41/41 - 0s - loss: 0.5976 - mae: 0.6018 - acc: 0.6404 - val_loss: 0.6175 - val_mae: 0.6104 - val_acc: 0.6651 - 90ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "41/41 - 0s - loss: 0.5816 - mae: 0.5930 - acc: 0.6577 - val_loss: 0.6021 - val_mae: 0.6013 - val_acc: 0.6745 - 90ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "41/41 - 0s - loss: 0.5652 - mae: 0.5821 - acc: 0.6753 - val_loss: 0.5871 - val_mae: 0.5979 - val_acc: 0.6886 - 97ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "13/13 - 2s - loss: 0.7524 - mae: 0.6925 - acc: 0.6044 - val_loss: 0.6729 - val_mae: 0.6389 - val_acc: 0.6182 - 2s/epoch - 184ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.6221 - mae: 0.6196 - acc: 0.6342 - val_loss: 0.6194 - val_mae: 0.6159 - val_acc: 0.6510 - 64ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.5930 - mae: 0.6058 - acc: 0.6506 - val_loss: 0.6078 - val_mae: 0.6047 - val_acc: 0.6682 - 72ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.5928 - mae: 0.6030 - acc: 0.6471 - val_loss: 0.5987 - val_mae: 0.6021 - val_acc: 0.6620 - 75ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5645 - mae: 0.5887 - acc: 0.6596 - val_loss: 0.5810 - val_mae: 0.5917 - val_acc: 0.6870 - 79ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.8019 - mae: 0.7150 - acc: 0.5582 - val_loss: 0.6760 - val_mae: 0.6441 - val_acc: 0.6416 - 776ms/epoch - 60ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.6467 - mae: 0.6333 - acc: 0.6361 - val_loss: 0.6445 - val_mae: 0.6285 - val_acc: 0.6541 - 43ms/epoch - 3ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.6081 - mae: 0.6074 - acc: 0.6436 - val_loss: 0.6192 - val_mae: 0.6134 - val_acc: 0.6651 - 42ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.5862 - mae: 0.5938 - acc: 0.6494 - val_loss: 0.6031 - val_mae: 0.6082 - val_acc: 0.6870 - 45ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5708 - mae: 0.5858 - acc: 0.6553 - val_loss: 0.5881 - val_mae: 0.5960 - val_acc: 0.6714 - 43ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "8/8 - 2s - loss: 0.9642 - mae: 0.8002 - acc: 0.4242 - val_loss: 0.9188 - val_mae: 0.7743 - val_acc: 0.4898 - 2s/epoch - 227ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.9086 - mae: 0.7718 - acc: 0.5221 - val_loss: 0.8925 - val_mae: 0.7629 - val_acc: 0.5039 - 96ms/epoch - 12ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.8663 - mae: 0.7559 - acc: 0.5358 - val_loss: 0.8635 - val_mae: 0.7468 - val_acc: 0.5258 - 78ms/epoch - 10ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.8400 - mae: 0.7426 - acc: 0.5531 - val_loss: 0.8744 - val_mae: 0.7515 - val_acc: 0.5430 - 76ms/epoch - 10ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.8289 - mae: 0.7365 - acc: 0.5597 - val_loss: 0.8421 - val_mae: 0.7367 - val_acc: 0.5540 - 75ms/epoch - 9ms/step\n", - "Epoch 1/5\n", - "9/9 - 2s - loss: 0.9164 - mae: 0.7737 - acc: 0.5398 - val_loss: 0.8378 - val_mae: 0.7322 - val_acc: 0.6056 - 2s/epoch - 187ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7635 - mae: 0.6961 - acc: 0.6122 - val_loss: 0.7279 - val_mae: 0.6767 - val_acc: 0.6228 - 52ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6742 - mae: 0.6504 - acc: 0.6099 - val_loss: 0.7111 - val_mae: 0.6723 - val_acc: 0.6072 - 54ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6614 - mae: 0.6421 - acc: 0.6075 - val_loss: 0.7045 - val_mae: 0.6650 - val_acc: 0.6150 - 54ms/epoch - 6ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6552 - mae: 0.6376 - acc: 0.6150 - val_loss: 0.6928 - val_mae: 0.6587 - val_acc: 0.6182 - 55ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "11/11 - 2s - loss: 0.8448 - mae: 0.7526 - acc: 0.3956 - val_loss: 0.8016 - val_mae: 0.7252 - val_acc: 0.5947 - 2s/epoch - 168ms/step\n", - "Epoch 2/5\n", - "11/11 - 0s - loss: 0.7532 - mae: 0.7046 - acc: 0.6126 - val_loss: 0.7562 - val_mae: 0.6980 - val_acc: 0.5931 - 52ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "11/11 - 0s - loss: 0.7016 - mae: 0.6732 - acc: 0.6142 - val_loss: 0.7017 - val_mae: 0.6715 - val_acc: 0.5962 - 48ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "11/11 - 0s - loss: 0.6662 - mae: 0.6474 - acc: 0.6212 - val_loss: 0.6885 - val_mae: 0.6613 - val_acc: 0.5994 - 50ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "11/11 - 0s - loss: 0.6574 - mae: 0.6421 - acc: 0.6228 - val_loss: 0.6845 - val_mae: 0.6596 - val_acc: 0.6056 - 52ms/epoch - 5ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2012/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2012/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model8736919601318700885/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model8736919601318700885/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "9/9 [==============================] - 0s 919us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model13484292352512950362/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model13484292352512950362/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 831us/step\n", - "Epoch 1/5\n", - "38/38 - 1s - loss: 0.9719 - mae: 0.7823 - acc: 0.4743 - val_loss: 0.8851 - val_mae: 0.7512 - val_acc: 0.5750 - 740ms/epoch - 19ms/step\n", - "Epoch 2/5\n", - "38/38 - 0s - loss: 0.8617 - mae: 0.7338 - acc: 0.6203 - val_loss: 0.8188 - val_mae: 0.7197 - val_acc: 0.6374 - 66ms/epoch - 2ms/step\n", - "Epoch 3/5\n", - "38/38 - 0s - loss: 0.8017 - mae: 0.7054 - acc: 0.6422 - val_loss: 0.7699 - val_mae: 0.6945 - val_acc: 0.6644 - 66ms/epoch - 2ms/step\n", - "Epoch 4/5\n", - "38/38 - 0s - loss: 0.7487 - mae: 0.6802 - acc: 0.6591 - val_loss: 0.7217 - val_mae: 0.6670 - val_acc: 0.6830 - 73ms/epoch - 2ms/step\n", - "Epoch 5/5\n", - "38/38 - 0s - loss: 0.7006 - mae: 0.6563 - acc: 0.6633 - val_loss: 0.6849 - val_mae: 0.6465 - val_acc: 0.6931 - 66ms/epoch - 2ms/step\n", - "Epoch 1/5\n", - "17/17 - 2s - loss: 0.8884 - mae: 0.7647 - acc: 0.4662 - val_loss: 0.8049 - val_mae: 0.7211 - val_acc: 0.6256 - 2s/epoch - 99ms/step\n", - "Epoch 2/5\n", - "17/17 - 0s - loss: 0.7516 - mae: 0.6879 - acc: 0.6008 - val_loss: 0.8061 - val_mae: 0.7170 - val_acc: 0.6374 - 81ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "17/17 - 0s - loss: 0.7349 - mae: 0.6756 - acc: 0.6173 - val_loss: 0.7349 - val_mae: 0.6768 - val_acc: 0.6391 - 108ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "17/17 - 0s - loss: 0.7041 - mae: 0.6605 - acc: 0.6321 - val_loss: 0.6928 - val_mae: 0.6572 - val_acc: 0.6459 - 85ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "17/17 - 0s - loss: 0.6850 - mae: 0.6493 - acc: 0.6376 - val_loss: 0.6796 - val_mae: 0.6497 - val_acc: 0.6577 - 90ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.9488 - mae: 0.7830 - acc: 0.4797 - val_loss: 0.8977 - val_mae: 0.7585 - val_acc: 0.6003 - 1s/epoch - 143ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.8817 - mae: 0.7412 - acc: 0.5996 - val_loss: 0.8683 - val_mae: 0.7438 - val_acc: 0.6492 - 37ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.8444 - mae: 0.7248 - acc: 0.6430 - val_loss: 0.8248 - val_mae: 0.7241 - val_acc: 0.6307 - 39ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.8015 - mae: 0.7050 - acc: 0.6494 - val_loss: 0.7871 - val_mae: 0.7034 - val_acc: 0.6391 - 37ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.7596 - mae: 0.6849 - acc: 0.6456 - val_loss: 0.7470 - val_mae: 0.6805 - val_acc: 0.6492 - 39ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "13/13 - 2s - loss: 0.9217 - mae: 0.7896 - acc: 0.4346 - val_loss: 0.8439 - val_mae: 0.7512 - val_acc: 0.5413 - 2s/epoch - 157ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.8142 - mae: 0.7331 - acc: 0.5473 - val_loss: 0.7939 - val_mae: 0.7205 - val_acc: 0.5548 - 80ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.7674 - mae: 0.7080 - acc: 0.5776 - val_loss: 0.7652 - val_mae: 0.7015 - val_acc: 0.5700 - 107ms/epoch - 8ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.7306 - mae: 0.6858 - acc: 0.6017 - val_loss: 0.7197 - val_mae: 0.6788 - val_acc: 0.6155 - 96ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.6944 - mae: 0.6623 - acc: 0.6270 - val_loss: 0.6902 - val_mae: 0.6624 - val_acc: 0.6290 - 100ms/epoch - 8ms/step\n", - "Epoch 1/5\n", - "9/9 - 2s - loss: 0.9984 - mae: 0.8148 - acc: 0.3494 - val_loss: 0.9550 - val_mae: 0.7952 - val_acc: 0.4874 - 2s/epoch - 176ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.9321 - mae: 0.7784 - acc: 0.5148 - val_loss: 0.8807 - val_mae: 0.7526 - val_acc: 0.6003 - 37ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.8498 - mae: 0.7338 - acc: 0.5751 - val_loss: 0.8094 - val_mae: 0.7146 - val_acc: 0.6374 - 36ms/epoch - 4ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.7763 - mae: 0.6996 - acc: 0.5928 - val_loss: 0.7382 - val_mae: 0.6750 - val_acc: 0.6408 - 36ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.7147 - mae: 0.6635 - acc: 0.6156 - val_loss: 0.6854 - val_mae: 0.6454 - val_acc: 0.6813 - 36ms/epoch - 4ms/step\n", - "Epoch 1/5\n", - "8/8 - 1s - loss: 0.9461 - mae: 0.7871 - acc: 0.4515 - val_loss: 0.9021 - val_mae: 0.7747 - val_acc: 0.4418 - 828ms/epoch - 104ms/step\n", - "Epoch 2/5\n", - "8/8 - 0s - loss: 0.9005 - mae: 0.7712 - acc: 0.4954 - val_loss: 0.8779 - val_mae: 0.7637 - val_acc: 0.4772 - 37ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "8/8 - 0s - loss: 0.8781 - mae: 0.7632 - acc: 0.5013 - val_loss: 0.8568 - val_mae: 0.7539 - val_acc: 0.4890 - 39ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "8/8 - 0s - loss: 0.8567 - mae: 0.7533 - acc: 0.5127 - val_loss: 0.8393 - val_mae: 0.7432 - val_acc: 0.5245 - 39ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "8/8 - 0s - loss: 0.8403 - mae: 0.7450 - acc: 0.5283 - val_loss: 0.8265 - val_mae: 0.7349 - val_acc: 0.5363 - 71ms/epoch - 9ms/step\n", - "Epoch 1/5\n", - "12/12 - 2s - loss: 0.9016 - mae: 0.7655 - acc: 0.5937 - val_loss: 0.6857 - val_mae: 0.6544 - val_acc: 0.6492 - 2s/epoch - 173ms/step\n", - "Epoch 2/5\n", - "12/12 - 0s - loss: 0.6287 - mae: 0.6211 - acc: 0.6422 - val_loss: 0.6098 - val_mae: 0.6138 - val_acc: 0.6627 - 73ms/epoch - 6ms/step\n", - "Epoch 3/5\n", - "12/12 - 0s - loss: 0.5908 - mae: 0.6000 - acc: 0.6620 - val_loss: 0.5972 - val_mae: 0.6050 - val_acc: 0.6847 - 75ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "12/12 - 0s - loss: 0.5755 - mae: 0.5920 - acc: 0.6730 - val_loss: 0.5827 - val_mae: 0.5947 - val_acc: 0.6914 - 80ms/epoch - 7ms/step\n", - "Epoch 5/5\n", - "12/12 - 0s - loss: 0.5692 - mae: 0.5883 - acc: 0.6726 - val_loss: 0.5871 - val_mae: 0.6001 - val_acc: 0.6897 - 72ms/epoch - 6ms/step\n", - "Epoch 1/5\n", - "13/13 - 1s - loss: 0.8678 - mae: 0.7409 - acc: 0.5823 - val_loss: 0.6895 - val_mae: 0.6446 - val_acc: 0.7049 - 1s/epoch - 107ms/step\n", - "Epoch 2/5\n", - "13/13 - 0s - loss: 0.6228 - mae: 0.6098 - acc: 0.6751 - val_loss: 0.5910 - val_mae: 0.5909 - val_acc: 0.7116 - 62ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "13/13 - 0s - loss: 0.5646 - mae: 0.5795 - acc: 0.6857 - val_loss: 0.5721 - val_mae: 0.5849 - val_acc: 0.7083 - 62ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "13/13 - 0s - loss: 0.5385 - mae: 0.5672 - acc: 0.6966 - val_loss: 0.5570 - val_mae: 0.5723 - val_acc: 0.7150 - 55ms/epoch - 4ms/step\n", - "Epoch 5/5\n", - "13/13 - 0s - loss: 0.5301 - mae: 0.5610 - acc: 0.6966 - val_loss: 0.5426 - val_mae: 0.5687 - val_acc: 0.7234 - 63ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "9/9 - 1s - loss: 0.9272 - mae: 0.7825 - acc: 0.5730 - val_loss: 0.8023 - val_mae: 0.7182 - val_acc: 0.6560 - 1s/epoch - 147ms/step\n", - "Epoch 2/5\n", - "9/9 - 0s - loss: 0.7031 - mae: 0.6583 - acc: 0.6414 - val_loss: 0.7034 - val_mae: 0.6635 - val_acc: 0.6728 - 45ms/epoch - 5ms/step\n", - "Epoch 3/5\n", - "9/9 - 0s - loss: 0.6460 - mae: 0.6261 - acc: 0.6367 - val_loss: 0.6571 - val_mae: 0.6346 - val_acc: 0.6627 - 47ms/epoch - 5ms/step\n", - "Epoch 4/5\n", - "9/9 - 0s - loss: 0.6299 - mae: 0.6175 - acc: 0.6591 - val_loss: 0.6561 - val_mae: 0.6344 - val_acc: 0.6678 - 45ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "9/9 - 0s - loss: 0.6153 - mae: 0.6087 - acc: 0.6624 - val_loss: 0.6349 - val_mae: 0.6235 - val_acc: 0.6948 - 49ms/epoch - 5ms/step\n", - "Epoch 1/5\n", - "18/18 - 1s - loss: 0.9981 - mae: 0.8167 - acc: 0.3354 - val_loss: 0.9768 - val_mae: 0.8105 - val_acc: 0.3676 - 1s/epoch - 70ms/step\n", - "Epoch 2/5\n", - "18/18 - 0s - loss: 0.9650 - mae: 0.8046 - acc: 0.3426 - val_loss: 0.9317 - val_mae: 0.7920 - val_acc: 0.3676 - 65ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "18/18 - 0s - loss: 0.8953 - mae: 0.7767 - acc: 0.3477 - val_loss: 0.8411 - val_mae: 0.7478 - val_acc: 0.5953 - 62ms/epoch - 3ms/step\n", - "Epoch 4/5\n", - "18/18 - 0s - loss: 0.8018 - mae: 0.7300 - acc: 0.5916 - val_loss: 0.7750 - val_mae: 0.7047 - val_acc: 0.6509 - 57ms/epoch - 3ms/step\n", - "Epoch 5/5\n", - "18/18 - 0s - loss: 0.7413 - mae: 0.6899 - acc: 0.6241 - val_loss: 0.7144 - val_mae: 0.6694 - val_acc: 0.6509 - 53ms/epoch - 3ms/step\n", - "Epoch 1/5\n", - "10/10 - 2s - loss: 0.9973 - mae: 0.8139 - acc: 0.5114 - val_loss: 0.9500 - val_mae: 0.7935 - val_acc: 0.5801 - 2s/epoch - 185ms/step\n", - "Epoch 2/5\n", - "10/10 - 0s - loss: 0.9085 - mae: 0.7626 - acc: 0.5793 - val_loss: 0.8616 - val_mae: 0.7413 - val_acc: 0.6037 - 44ms/epoch - 4ms/step\n", - "Epoch 3/5\n", - "10/10 - 0s - loss: 0.8383 - mae: 0.7255 - acc: 0.5840 - val_loss: 0.7959 - val_mae: 0.7069 - val_acc: 0.6121 - 57ms/epoch - 6ms/step\n", - "Epoch 4/5\n", - "10/10 - 0s - loss: 0.7666 - mae: 0.6905 - acc: 0.5941 - val_loss: 0.7393 - val_mae: 0.6754 - val_acc: 0.6138 - 46ms/epoch - 5ms/step\n", - "Epoch 5/5\n", - "10/10 - 0s - loss: 0.7199 - mae: 0.6664 - acc: 0.6139 - val_loss: 0.7447 - val_mae: 0.6798 - val_acc: 0.6256 - 52ms/epoch - 5ms/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2015/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/all_years/optimized_model_2015/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model13679092158472862218/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model13679092158472862218/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "16/16 [==============================] - 0s 817us/step\n", - "INFO:tensorflow:Assets written to: /tmp/tmp_model13767359795051392114/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: /tmp/tmp_model13767359795051392114/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52/52 [==============================] - 0s 800us/step\n", - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/best_optimized_model_2015/assets\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "INFO:tensorflow:Assets written to: ./dnn_examples/results/gpi5/best_optimized_model_2015/assets\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "=========================================\n", - " GPI 5 done\n", - " aprior performance(RMSE): \n", - "[[0.24258]\n", - " [0.09105]\n", - " [0.27377]]\n", - "=========================================\n", - " post performance(RMSE): \n", - "[[0.06875]\n", - " [0.13189]\n", - " [0.30721]]\n", - "=========================================\n", - "Training is finished! Shutdown the cluster to release resources.\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "2023-12-05 14:52:28,929 - distributed.client - ERROR - Failed to reconnect to scheduler after 30.00 seconds, closing client\n" + "GPI 1\n", + " aprior performance(RMSE):\n", + "[[0.26438]\n", + " [0.03295]\n", + " [0.14362]]\n", + "post performance(RMSE):\n", + "[[0.34483]\n", + " [0.00631]\n", + " [0.00686]]\n", + "=========================================\n", + "GPI 2\n", + " aprior performance(RMSE):\n", + "[[0.37801]\n", + " [0.02598]\n", + " [0.26245]]\n", + "post performance(RMSE):\n", + "[[0.70249]\n", + " [0.22075]\n", + " [0.24423]]\n", + "=========================================\n", + "GPI 3\n", + " aprior performance(RMSE):\n", + "[[0.31875]\n", + " [0.24323]\n", + " [0.05353]]\n", + "post performance(RMSE):\n", + "[[0.03498]\n", + " [0.19958]\n", + " [0.24324]]\n", + "=========================================\n", + "GPI 4\n", + " aprior performance(RMSE):\n", + "[[0.19431]\n", + " [0.10026]\n", + " [0.16398]]\n", + "post performance(RMSE):\n", + "[[0.20526]\n", + " [0.02813]\n", + " [0.21003]]\n", + "=========================================\n", + "GPI 5\n", + " aprior performance(RMSE):\n", + "[[0.23724]\n", + " [0.1104 ]\n", + " [0.28052]]\n", + "post performance(RMSE):\n", + "[[0.10751]\n", + " [0.08874]\n", + " [0.26091]]\n", + "=========================================\n" ] } ], "source": [ - "aprior, post = [], []\n", - "# Loop all gpi\n", - "for gpi_num, df in enumerate(train_bags):\n", - " \n", - " # remove NA data\n", - " gpi_data = df.compute()\n", - " gpi_data.dropna(inplace=True)\n", - "\n", - " # add time to index\n", - " gpi_data.set_index(\"time\", inplace=True, drop=True)\n", - "\n", - " gpi = JackknifeGPI(gpi_data,\n", - " val_split_year,\n", - " input_list,\n", - " output_list,\n", - " outpath=f'{out_path}/gpi{gpi_num+1}')\n", - "\n", - " gpi.train(searching_space=searching_space,\n", - " optimize_space=optimize_space,\n", - " normalize_method='standard',\n", - " training_method='dnn',\n", - " performance_method='rmse',\n", - " verbose=2)\n", - "\n", - " gpi.export_best()\n", - "\n", - " # Export apriori performance\n", - " path_apriori_performance = f'{gpi.outpath}/apriori_performance_{gpi.best_year}'\n", - " with open(path_apriori_performance, 'wb') as f:\n", - " pickle.dump(gpi.apr_perf, f)\n", - "\n", - " # Export postpriori performance\n", - " path_postpriori_performance = f'{gpi.outpath}/postpriori_performance_{gpi.best_year}'\n", - " with open(path_postpriori_performance, 'wb') as f:\n", - " pickle.dump(gpi.post_perf, f)\n", - "\n", - " aprior.append(gpi.apr_perf)\n", - " post.append(gpi.post_perf)\n", - " print(\"=========================================\")\n", - " print(f\" GPI {gpi_num + 1} done\")\n", - " print(\" aprior performance(RMSE): \")\n", - " print(gpi.apr_perf)\n", - " print(\"=========================================\")\n", - " print(\" post performance(RMSE): \")\n", - " print(gpi.post_perf)\n", - " print(\"=========================================\")\n", - "print(\"Training is finished! Shutdown the cluster to release resources.\")" + "# print the results\n", + "for gpi_num, performance in enumerate(results):\n", + " print(f\"GPI {(gpi_num + 1)}\")\n", + " print(\" aprior performance(RMSE):\")\n", + " print(performance[0])\n", + " print(\"post performance(RMSE):\")\n", + " print(performance[1])\n", + " print(\"=========================================\")" ] }, { "cell_type": "code", "execution_count": null, - "id": "e2144daf-8f9a-45b2-bbf3-88e207c76922", + "id": "7d90eec7-119b-4ab1-ba64-764babf5f453", "metadata": {}, "outputs": [], "source": []