{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "id": "JlxI4QyQk468" }, "outputs": [], "source": [ "#import liraries \n", "import pandas as pd\n", "import seaborn as sns\n", "import numpy as np \n", "import matplotlib.pyplot as plt\n", "import matplotlib as mpl\n", "import warnings\n", "warnings.filterwarnings(\"ignore\")\n", "\n", "from matplotlib import patches\n", "from scipy.spatial import ConvexHull" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 392 }, "id": "9FWKnEGklaaO", "outputId": "25a6e3cc-36a7-4945-e6a3-fd9fb2bd38e2" }, "outputs": [ { "output_type": "execute_result", "data": { "text/plain": [ " Date Rented Bike Count Hour Temperature(°C) Humidity(%) \\\n", "0 01/12/2017 254 0 -5.2 37 \n", "1 01/12/2017 204 1 -5.5 38 \n", "2 01/12/2017 173 2 -6.0 39 \n", "3 01/12/2017 107 3 -6.2 40 \n", "4 01/12/2017 78 4 -6.0 36 \n", "\n", " Wind speed (m/s) Visibility (10m) Dew point temperature(°C) \\\n", "0 2.2 2000 -17.6 \n", "1 0.8 2000 -17.6 \n", "2 1.0 2000 -17.7 \n", "3 0.9 2000 -17.6 \n", "4 2.3 2000 -18.6 \n", "\n", " Solar Radiation (MJ/m2) Rainfall(mm) Snowfall (cm) Seasons Holiday \\\n", "0 0.0 0.0 0.0 Winter No Holiday \n", "1 0.0 0.0 0.0 Winter No Holiday \n", "2 0.0 0.0 0.0 Winter No Holiday \n", "3 0.0 0.0 0.0 Winter No Holiday \n", "4 0.0 0.0 0.0 Winter No Holiday \n", "\n", " Functioning Day \n", "0 Yes \n", "1 Yes \n", "2 Yes \n", "3 Yes \n", "4 Yes " ], "text/html": [ "\n", "
\n", " | Date | \n", "Rented Bike Count | \n", "Hour | \n", "Temperature(°C) | \n", "Humidity(%) | \n", "Wind speed (m/s) | \n", "Visibility (10m) | \n", "Dew point temperature(°C) | \n", "Solar Radiation (MJ/m2) | \n", "Rainfall(mm) | \n", "Snowfall (cm) | \n", "Seasons | \n", "Holiday | \n", "Functioning Day | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "01/12/2017 | \n", "254 | \n", "0 | \n", "-5.2 | \n", "37 | \n", "2.2 | \n", "2000 | \n", "-17.6 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "Winter | \n", "No Holiday | \n", "Yes | \n", "
1 | \n", "01/12/2017 | \n", "204 | \n", "1 | \n", "-5.5 | \n", "38 | \n", "0.8 | \n", "2000 | \n", "-17.6 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "Winter | \n", "No Holiday | \n", "Yes | \n", "
2 | \n", "01/12/2017 | \n", "173 | \n", "2 | \n", "-6.0 | \n", "39 | \n", "1.0 | \n", "2000 | \n", "-17.7 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "Winter | \n", "No Holiday | \n", "Yes | \n", "
3 | \n", "01/12/2017 | \n", "107 | \n", "3 | \n", "-6.2 | \n", "40 | \n", "0.9 | \n", "2000 | \n", "-17.6 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "Winter | \n", "No Holiday | \n", "Yes | \n", "
4 | \n", "01/12/2017 | \n", "78 | \n", "4 | \n", "-6.0 | \n", "36 | \n", "2.3 | \n", "2000 | \n", "-18.6 | \n", "0.0 | \n", "0.0 | \n", "0.0 | \n", "Winter | \n", "No Holiday | \n", "Yes | \n", "