From 9c14c96f8a9a29035670457f630efa2e33ac4dad Mon Sep 17 00:00:00 2001 From: Anirban Mukherjee Date: Mon, 11 Oct 2021 23:14:58 +0530 Subject: [PATCH] Removed duplicates of 'data\energy.csv' from SVR Placed one 'data\energy.csv' in the folder '7-TimeSeries' --- 7-TimeSeries/3-SVR/working/notebook.ipynb | 83 +++++++++++++++++-- .../{3-SVR/solution => }/data/energy.csv | 0 2 files changed, 78 insertions(+), 5 deletions(-) rename 7-TimeSeries/{3-SVR/solution => }/data/energy.csv (100%) diff --git a/7-TimeSeries/3-SVR/working/notebook.ipynb b/7-TimeSeries/3-SVR/working/notebook.ipynb index 60968530..6700ad55 100644 --- a/7-TimeSeries/3-SVR/working/notebook.ipynb +++ b/7-TimeSeries/3-SVR/working/notebook.ipynb @@ -29,7 +29,17 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, + "metadata": {}, + "outputs": [], + "source": [ + "import sys\n", + "sys.path.append('../../')" + ] + }, + { + "cell_type": "code", + "execution_count": 2, "metadata": { "id": "M687KNlQFp0-" }, @@ -68,7 +78,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -77,9 +87,72 @@ "id": "aBDkEB11Fumg", "outputId": "99cf7987-0509-4b73-8cc2-75d7da0d2740" }, - "outputs": [], - "source": [ - "energy = load_data('./data')[['load']]\n", + "outputs": [ + { + "data": { + "text/html": [ + "
\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", + "
load
2012-01-01 00:00:002698.0
2012-01-01 01:00:002558.0
2012-01-01 02:00:002444.0
2012-01-01 03:00:002402.0
2012-01-01 04:00:002403.0
\n", + "
" + ], + "text/plain": [ + " load\n", + "2012-01-01 00:00:00 2698.0\n", + "2012-01-01 01:00:00 2558.0\n", + "2012-01-01 02:00:00 2444.0\n", + "2012-01-01 03:00:00 2402.0\n", + "2012-01-01 04:00:00 2403.0" + ] + }, + "execution_count": 3, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "energy = load_data('../../data')[['load']]\n", "energy.head(5)" ] }, diff --git a/7-TimeSeries/3-SVR/solution/data/energy.csv b/7-TimeSeries/data/energy.csv similarity index 100% rename from 7-TimeSeries/3-SVR/solution/data/energy.csv rename to 7-TimeSeries/data/energy.csv