Skip to content

Instantly share code, notes, and snippets.

@ngupta23
Created May 18, 2023 19:15
Show Gist options
  • Save ngupta23/aab9598df11072f2d995973124100856 to your computer and use it in GitHub Desktop.
Save ngupta23/aab9598df11072f2d995973124100856 to your computer and use it in GitHub Desktop.
blind_test.ipynb
Display the source blob
Display the rendered blob
Raw
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": [],
"authorship_tag": "ABX9TyMdv2JH5o6BN8Npo05Jp2hE",
"include_colab_link": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"0efcd5d487734edbbc3707bc2323dd2b": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HBoxModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_23d0d1ce1e484f48814a9d9606728fb4",
"IPY_MODEL_d02671a4ceaf4f1b9ced321bd22b5dbe",
"IPY_MODEL_11c57e1a7e8f4d88a6c82cb6481c357c"
],
"layout": "IPY_MODEL_80b07b573976438e89a9c6b7aca6cf23"
}
},
"23d0d1ce1e484f48814a9d9606728fb4": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_b1040ef0fbe943dcb07a3b36bb68b250",
"placeholder": "​",
"style": "IPY_MODEL_2ae8b464841b4b81a1464342351934a0",
"value": "Processing: 100%"
}
},
"d02671a4ceaf4f1b9ced321bd22b5dbe": {
"model_module": "@jupyter-widgets/controls",
"model_name": "FloatProgressModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "FloatProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "ProgressView",
"bar_style": "",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_cabc281e28f142a6b62c57c7caec9924",
"max": 17,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_c8fc2373bd2a44ad990f2654c539c2c5",
"value": 17
}
},
"11c57e1a7e8f4d88a6c82cb6481c357c": {
"model_module": "@jupyter-widgets/controls",
"model_name": "HTMLModel",
"model_module_version": "1.5.0",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "1.5.0",
"_view_name": "HTMLView",
"description": "",
"description_tooltip": null,
"layout": "IPY_MODEL_c986d5a5063d4510b43673c99e3ba1bb",
"placeholder": "​",
"style": "IPY_MODEL_a5938ae42a5042a0ac1275015cebee59",
"value": " 17/17 [00:23<00:00, 1.07it/s]"
}
},
"80b07b573976438e89a9c6b7aca6cf23": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": "hidden",
"width": null
}
},
"b1040ef0fbe943dcb07a3b36bb68b250": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"2ae8b464841b4b81a1464342351934a0": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"cabc281e28f142a6b62c57c7caec9924": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"c8fc2373bd2a44ad990f2654c539c2c5": {
"model_module": "@jupyter-widgets/controls",
"model_name": "ProgressStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"c986d5a5063d4510b43673c99e3ba1bb": {
"model_module": "@jupyter-widgets/base",
"model_name": "LayoutModel",
"model_module_version": "1.2.0",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "1.2.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"overflow_x": null,
"overflow_y": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"a5938ae42a5042a0ac1275015cebee59": {
"model_module": "@jupyter-widgets/controls",
"model_name": "DescriptionStyleModel",
"model_module_version": "1.5.0",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "1.5.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "1.2.0",
"_view_name": "StyleView",
"description_width": ""
}
}
}
}
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/gist/ngupta23/aab9598df11072f2d995973124100856/blind_test.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"id": "Q6p3iyub7VGt"
},
"outputs": [],
"source": [
"# !pip install pycaret"
]
},
{
"cell_type": "code",
"source": [
"# Set the warning filter to \"ignore\"\n",
"import warnings\n",
"warnings.filterwarnings(\"ignore\")"
],
"metadata": {
"id": "-n76AyZL9cZL"
},
"execution_count": 2,
"outputs": []
},
{
"cell_type": "code",
"source": [
"import pandas as pd\n",
"from pycaret.datasets import get_data\n",
"from pycaret.time_series import TSForecastingExperiment"
],
"metadata": {
"id": "1oIpdltX7YfJ"
},
"execution_count": 3,
"outputs": []
},
{
"cell_type": "code",
"source": [
"data = get_data(\"airline\", verbose=False)\n",
"data = data[-48:]\n",
"data.index = pd.period_range(end=\"2023-04\", periods = len(data), freq=\"M\")\n",
"data.name = \"Sales\""
],
"metadata": {
"id": "UXW6u1I477ka"
},
"execution_count": 4,
"outputs": []
},
{
"cell_type": "code",
"source": [
"exp = TSForecastingExperiment()\n",
"exp.setup(data=data, fh=6, fold=1, session_id=42, verbose=False)"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "Da0T0fID8Ic4",
"outputId": "141e4d14-f172-4aed-83c5-e5e393108c31"
},
"execution_count": 7,
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"<pycaret.time_series.forecasting.oop.TSForecastingExperiment at 0x7fd3c557d900>"
]
},
"metadata": {},
"execution_count": 7
}
]
},
{
"cell_type": "code",
"source": [
"exp.plot_model(plot=\"train_test_split\")\n",
"exp.plot_model(plot=\"cv\")"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 1000
},
"id": "DO3SYqjS8xrI",
"outputId": "67bb191e-3bdb-4490-e516-aa4cd75b15c5"
},
"execution_count": 8,
"outputs": [
{
"output_type": "display_data",
"data": {
"text/html": [
"<html>\n",
"<head><meta charset=\"utf-8\" /></head>\n",
"<body>\n",
" <div> <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG\"></script><script type=\"text/javascript\">if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}</script> <script type=\"text/javascript\">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n",
" <script src=\"https://cdn.plot.ly/plotly-2.18.2.min.js\"></script> <div id=\"ece50943-1509-4539-ade7-4869e9a69d86\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div> <script type=\"text/javascript\"> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById(\"ece50943-1509-4539-ade7-4869e9a69d86\")) { Plotly.newPlot( \"ece50943-1509-4539-ade7-4869e9a69d86\", [{\"line\":{\"color\":\"rgb(31, 119, 180)\",\"width\":2},\"marker\":{\"color\":\"rgb(31, 119, 180)\",\"size\":5},\"mode\":\"lines+markers\",\"name\":\"Train (original)\",\"x\":[\"2019-05-01T00:00:00\",\"2019-06-01T00:00:00\",\"2019-07-01T00:00:00\",\"2019-08-01T00:00:00\",\"2019-09-01T00:00:00\",\"2019-10-01T00:00:00\",\"2019-11-01T00:00:00\",\"2019-12-01T00:00:00\",\"2020-01-01T00:00:00\",\"2020-02-01T00:00:00\",\"2020-03-01T00:00:00\",\"2020-04-01T00:00:00\",\"2020-05-01T00:00:00\",\"2020-06-01T00:00:00\",\"2020-07-01T00:00:00\",\"2020-08-01T00:00:00\",\"2020-09-01T00:00:00\",\"2020-10-01T00:00:00\",\"2020-11-01T00:00:00\",\"2020-12-01T00:00:00\",\"2021-01-01T00:00:00\",\"2021-02-01T00:00:00\",\"2021-03-01T00:00:00\",\"2021-04-01T00:00:00\",\"2021-05-01T00:00:00\",\"2021-06-01T00:00:00\",\"2021-07-01T00:00:00\",\"2021-08-01T00:00:00\",\"2021-09-01T00:00:00\",\"2021-10-01T00:00:00\",\"2021-11-01T00:00:00\",\"2021-12-01T00:00:00\",\"2022-01-01T00:00:00\",\"2022-02-01T00:00:00\",\"2022-03-01T00:00:00\",\"2022-04-01T00:00:00\",\"2022-05-01T00:00:00\",\"2022-06-01T00:00:00\",\"2022-07-01T00:00:00\",\"2022-08-01T00:00:00\",\"2022-09-01T00:00:00\",\"2022-10-01T00:00:00\",\"2022-11-01T00:00:00\",\"2022-12-01T00:00:00\",\"2023-01-01T00:00:00\",\"2023-02-01T00:00:00\",\"2023-03-01T00:00:00\",\"2023-04-01T00:00:00\"],\"y\":[315.0,301.0,356.0,348.0,355.0,422.0,465.0,467.0,404.0,347.0,305.0,336.0,340.0,318.0,362.0,348.0,363.0,435.0,491.0,505.0,404.0,359.0,310.0,337.0,360.0,342.0,406.0,396.0,420.0,472.0,548.0,559.0,463.0,407.0,362.0,405.0,417.0,391.0,419.0,461.0,472.0,535.0,null,null,null,null,null,null],\"type\":\"scattergl\",\"xaxis\":\"x\",\"yaxis\":\"y\"},{\"line\":{\"color\":\"rgb(255, 127, 14)\",\"width\":2},\"marker\":{\"color\":\"rgb(255, 127, 14)\",\"size\":5},\"mode\":\"lines+markers\",\"name\":\"Test (original)\",\"x\":[\"2019-05-01T00:00:00\",\"2019-06-01T00:00:00\",\"2019-07-01T00:00:00\",\"2019-08-01T00:00:00\",\"2019-09-01T00:00:00\",\"2019-10-01T00:00:00\",\"2019-11-01T00:00:00\",\"2019-12-01T00:00:00\",\"2020-01-01T00:00:00\",\"2020-02-01T00:00:00\",\"2020-03-01T00:00:00\",\"2020-04-01T00:00:00\",\"2020-05-01T00:00:00\",\"2020-06-01T00:00:00\",\"2020-07-01T00:00:00\",\"2020-08-01T00:00:00\",\"2020-09-01T00:00:00\",\"2020-10-01T00:00:00\",\"2020-11-01T00:00:00\",\"2020-12-01T00:00:00\",\"2021-01-01T00:00:00\",\"2021-02-01T00:00:00\",\"2021-03-01T00:00:00\",\"2021-04-01T00:00:00\",\"2021-05-01T00:00:00\",\"2021-06-01T00:00:00\",\"2021-07-01T00:00:00\",\"2021-08-01T00:00:00\",\"2021-09-01T00:00:00\",\"2021-10-01T00:00:00\",\"2021-11-01T00:00:00\",\"2021-12-01T00:00:00\",\"2022-01-01T00:00:00\",\"2022-02-01T00:00:00\",\"2022-03-01T00:00:00\",\"2022-04-01T00:00:00\",\"2022-05-01T00:00:00\",\"2022-06-01T00:00:00\",\"2022-07-01T00:00:00\",\"2022-08-01T00:00:00\",\"2022-09-01T00:00:00\",\"2022-10-01T00:00:00\",\"2022-11-01T00:00:00\",\"2022-12-01T00:00:00\",\"2023-01-01T00:00:00\",\"2023-02-01T00:00:00\",\"2023-03-01T00:00:00\",\"2023-04-01T00:00:00\"],\"y\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,622.0,606.0,508.0,461.0,390.0,432.0],\"type\":\"scattergl\",\"xaxis\":\"x\",\"yaxis\":\"y\"}], {\"template\":{\"data\":{\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"rgb(237,237,237)\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"bar\":[{\"error_x\":{\"color\":\"rgb(51,51,51)\"},\"error_y\":{\"color\":\"rgb(51,51,51)\"},\"marker\":{\"line\":{\"color\":\"rgb(237,237,237)\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"rgb(51,51,51)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(51,51,51)\"},\"baxis\":{\"endlinecolor\":\"rgb(51,51,51)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(51,51,51)\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"type\":\"choropleth\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"type\":\"contourcarpet\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"contour\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"heatmapgl\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"heatmap\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"histogram2dcontour\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"histogram2d\"}],\"histogram\":[{\"marker\":{\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"histogram\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scattermapbox\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scatterpolargl\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scatterpolar\"}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"rgb(237,237,237)\"},\"line\":{\"color\":\"white\"}},\"header\":{\"fill\":{\"color\":\"rgb(217,217,217)\"},\"line\":{\"color\":\"white\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"colorscale\":{\"sequential\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"sequentialminus\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]]},\"colorway\":[\"#F8766D\",\"#A3A500\",\"#00BF7D\",\"#00B0F6\",\"#E76BF3\"],\"font\":{\"color\":\"rgb(51,51,51)\"},\"geo\":{\"bgcolor\":\"white\",\"lakecolor\":\"white\",\"landcolor\":\"rgb(237,237,237)\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"white\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"paper_bgcolor\":\"white\",\"plot_bgcolor\":\"rgb(237,237,237)\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"},\"bgcolor\":\"rgb(237,237,237)\",\"radialaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"rgb(237,237,237)\",\"gridcolor\":\"white\",\"gridwidth\":2,\"linecolor\":\"white\",\"showbackground\":true,\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"zerolinecolor\":\"white\"},\"yaxis\":{\"backgroundcolor\":\"rgb(237,237,237)\",\"gridcolor\":\"white\",\"gridwidth\":2,\"linecolor\":\"white\",\"showbackground\":true,\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"zerolinecolor\":\"white\"},\"zaxis\":{\"backgroundcolor\":\"rgb(237,237,237)\",\"gridcolor\":\"white\",\"gridwidth\":2,\"linecolor\":\"white\",\"showbackground\":true,\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"zerolinecolor\":\"white\"}},\"shapedefaults\":{\"fillcolor\":\"black\",\"line\":{\"width\":0},\"opacity\":0.3},\"ternary\":{\"aaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"},\"baxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"},\"bgcolor\":\"rgb(237,237,237)\",\"caxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"}},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zerolinecolor\":\"white\"},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zerolinecolor\":\"white\"}}},\"xaxis\":{\"anchor\":\"y\",\"domain\":[0.0,1.0]},\"yaxis\":{\"anchor\":\"x\",\"domain\":[0.0,1.0]},\"annotations\":[{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"Sales\",\"x\":0.5,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":1.0,\"yanchor\":\"bottom\",\"yref\":\"paper\"}],\"title\":{\"text\":\"Time Series | Target = Sales\"},\"showlegend\":true}, {\"responsive\": true} ).then(function(){\n",
" \n",
"var gd = document.getElementById('ece50943-1509-4539-ade7-4869e9a69d86');\n",
"var x = new MutationObserver(function (mutations, observer) {{\n",
" var display = window.getComputedStyle(gd).display;\n",
" if (!display || display === 'none') {{\n",
" console.log([gd, 'removed!']);\n",
" Plotly.purge(gd);\n",
" observer.disconnect();\n",
" }}\n",
"}});\n",
"\n",
"// Listen for the removal of the full notebook cells\n",
"var notebookContainer = gd.closest('#notebook-container');\n",
"if (notebookContainer) {{\n",
" x.observe(notebookContainer, {childList: true});\n",
"}}\n",
"\n",
"// Listen for the clearing of the current output cell\n",
"var outputEl = gd.closest('.output');\n",
"if (outputEl) {{\n",
" x.observe(outputEl, {childList: true});\n",
"}}\n",
"\n",
" }) }; </script> </div>\n",
"</body>\n",
"</html>"
]
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/html": [
"<html>\n",
"<head><meta charset=\"utf-8\" /></head>\n",
"<body>\n",
" <div> <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG\"></script><script type=\"text/javascript\">if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}</script> <script type=\"text/javascript\">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n",
" <script src=\"https://cdn.plot.ly/plotly-2.18.2.min.js\"></script> <div id=\"5e108786-2747-4afc-8c10-b8a398c9bc1f\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div> <script type=\"text/javascript\"> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById(\"5e108786-2747-4afc-8c10-b8a398c9bc1f\")) { Plotly.newPlot( \"5e108786-2747-4afc-8c10-b8a398c9bc1f\", [{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2019-05-01T00:00:00\",\"2019-06-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2019-06-01T00:00:00\",\"2019-07-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2019-07-01T00:00:00\",\"2019-08-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2019-08-01T00:00:00\",\"2019-09-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2019-09-01T00:00:00\",\"2019-10-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2019-10-01T00:00:00\",\"2019-11-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2019-11-01T00:00:00\",\"2019-12-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2019-12-01T00:00:00\",\"2020-01-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2020-01-01T00:00:00\",\"2020-02-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2020-02-01T00:00:00\",\"2020-03-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2020-03-01T00:00:00\",\"2020-04-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2020-04-01T00:00:00\",\"2020-05-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2020-05-01T00:00:00\",\"2020-06-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2020-06-01T00:00:00\",\"2020-07-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2020-07-01T00:00:00\",\"2020-08-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2020-08-01T00:00:00\",\"2020-09-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2020-09-01T00:00:00\",\"2020-10-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2020-10-01T00:00:00\",\"2020-11-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2020-11-01T00:00:00\",\"2020-12-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2020-12-01T00:00:00\",\"2021-01-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2021-01-01T00:00:00\",\"2021-02-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2021-02-01T00:00:00\",\"2021-03-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2021-03-01T00:00:00\",\"2021-04-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2021-04-01T00:00:00\",\"2021-05-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2021-05-01T00:00:00\",\"2021-06-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2021-06-01T00:00:00\",\"2021-07-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2021-07-01T00:00:00\",\"2021-08-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2021-08-01T00:00:00\",\"2021-09-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2021-09-01T00:00:00\",\"2021-10-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2021-10-01T00:00:00\",\"2021-11-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2021-11-01T00:00:00\",\"2021-12-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2021-12-01T00:00:00\",\"2022-01-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2022-01-01T00:00:00\",\"2022-02-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2022-02-01T00:00:00\",\"2022-03-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2022-03-01T00:00:00\",\"2022-04-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2022-04-01T00:00:00\",\"2022-05-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2022-05-01T00:00:00\",\"2022-06-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2022-06-01T00:00:00\",\"2022-07-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2022-07-01T00:00:00\",\"2022-08-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2022-08-01T00:00:00\",\"2022-09-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#C0C0C0\"},\"mode\":\"lines+markers\",\"name\":\"Unchanged\",\"x\":[\"2022-09-01T00:00:00\",\"2022-10-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2019-05-01T00:00:00\",\"2019-06-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2019-06-01T00:00:00\",\"2019-07-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2019-07-01T00:00:00\",\"2019-08-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2019-08-01T00:00:00\",\"2019-09-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2019-09-01T00:00:00\",\"2019-10-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2019-10-01T00:00:00\",\"2019-11-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2019-11-01T00:00:00\",\"2019-12-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2019-12-01T00:00:00\",\"2020-01-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2020-01-01T00:00:00\",\"2020-02-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2020-02-01T00:00:00\",\"2020-03-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2020-03-01T00:00:00\",\"2020-04-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2020-04-01T00:00:00\",\"2020-05-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2020-05-01T00:00:00\",\"2020-06-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2020-06-01T00:00:00\",\"2020-07-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2020-07-01T00:00:00\",\"2020-08-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2020-08-01T00:00:00\",\"2020-09-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2020-09-01T00:00:00\",\"2020-10-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2020-10-01T00:00:00\",\"2020-11-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2020-11-01T00:00:00\",\"2020-12-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2020-12-01T00:00:00\",\"2021-01-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2021-01-01T00:00:00\",\"2021-02-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2021-02-01T00:00:00\",\"2021-03-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2021-03-01T00:00:00\",\"2021-04-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2021-04-01T00:00:00\",\"2021-05-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2021-05-01T00:00:00\",\"2021-06-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2021-06-01T00:00:00\",\"2021-07-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2021-07-01T00:00:00\",\"2021-08-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2021-08-01T00:00:00\",\"2021-09-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2021-09-01T00:00:00\",\"2021-10-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2021-10-01T00:00:00\",\"2021-11-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2021-11-01T00:00:00\",\"2021-12-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2021-12-01T00:00:00\",\"2022-01-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2022-01-01T00:00:00\",\"2022-02-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2022-02-01T00:00:00\",\"2022-03-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#1f77b4\"},\"mode\":\"lines+markers\",\"name\":\"Train\",\"showlegend\":false,\"x\":[\"2022-03-01T00:00:00\",\"2022-04-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\"},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#DE970B\"},\"mode\":\"lines+markers\",\"name\":\"ForecastHorizon\",\"x\":[\"2022-05-01T00:00:00\",\"2022-06-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#DE970B\"},\"mode\":\"lines+markers\",\"name\":\"ForecastHorizon\",\"x\":[\"2022-06-01T00:00:00\",\"2022-07-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#DE970B\"},\"mode\":\"lines+markers\",\"name\":\"ForecastHorizon\",\"x\":[\"2022-07-01T00:00:00\",\"2022-08-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#DE970B\"},\"mode\":\"lines+markers\",\"name\":\"ForecastHorizon\",\"x\":[\"2022-08-01T00:00:00\",\"2022-09-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false},{\"hoverinfo\":\"skip\",\"line\":{\"color\":\"#DE970B\"},\"mode\":\"lines+markers\",\"name\":\"ForecastHorizon\",\"x\":[\"2022-09-01T00:00:00\",\"2022-10-01T00:00:00\"],\"y\":[\"0\",\"0\"],\"type\":\"scattergl\",\"showlegend\":false}], {\"template\":{\"data\":{\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"rgb(237,237,237)\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"bar\":[{\"error_x\":{\"color\":\"rgb(51,51,51)\"},\"error_y\":{\"color\":\"rgb(51,51,51)\"},\"marker\":{\"line\":{\"color\":\"rgb(237,237,237)\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"rgb(51,51,51)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(51,51,51)\"},\"baxis\":{\"endlinecolor\":\"rgb(51,51,51)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(51,51,51)\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"type\":\"choropleth\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"type\":\"contourcarpet\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"contour\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"heatmapgl\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"heatmap\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"histogram2dcontour\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"histogram2d\"}],\"histogram\":[{\"marker\":{\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"histogram\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scattermapbox\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scatterpolargl\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scatterpolar\"}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"rgb(237,237,237)\"},\"line\":{\"color\":\"white\"}},\"header\":{\"fill\":{\"color\":\"rgb(217,217,217)\"},\"line\":{\"color\":\"white\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"colorscale\":{\"sequential\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"sequentialminus\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]]},\"colorway\":[\"#F8766D\",\"#A3A500\",\"#00BF7D\",\"#00B0F6\",\"#E76BF3\"],\"font\":{\"color\":\"rgb(51,51,51)\"},\"geo\":{\"bgcolor\":\"white\",\"lakecolor\":\"white\",\"landcolor\":\"rgb(237,237,237)\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"white\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"paper_bgcolor\":\"white\",\"plot_bgcolor\":\"rgb(237,237,237)\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"},\"bgcolor\":\"rgb(237,237,237)\",\"radialaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"rgb(237,237,237)\",\"gridcolor\":\"white\",\"gridwidth\":2,\"linecolor\":\"white\",\"showbackground\":true,\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"zerolinecolor\":\"white\"},\"yaxis\":{\"backgroundcolor\":\"rgb(237,237,237)\",\"gridcolor\":\"white\",\"gridwidth\":2,\"linecolor\":\"white\",\"showbackground\":true,\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"zerolinecolor\":\"white\"},\"zaxis\":{\"backgroundcolor\":\"rgb(237,237,237)\",\"gridcolor\":\"white\",\"gridwidth\":2,\"linecolor\":\"white\",\"showbackground\":true,\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"zerolinecolor\":\"white\"}},\"shapedefaults\":{\"fillcolor\":\"black\",\"line\":{\"width\":0},\"opacity\":0.3},\"ternary\":{\"aaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"},\"baxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"},\"bgcolor\":\"rgb(237,237,237)\",\"caxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"}},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zerolinecolor\":\"white\"},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zerolinecolor\":\"white\"}}},\"xaxis\":{\"title\":{\"text\":\"Time\"},\"zeroline\":false},\"title\":{\"text\":\"Train Cross-Validation Splits\"},\"yaxis\":{\"title\":{\"text\":\"Windows\"}},\"showlegend\":true}, {\"responsive\": true} ).then(function(){\n",
" \n",
"var gd = document.getElementById('5e108786-2747-4afc-8c10-b8a398c9bc1f');\n",
"var x = new MutationObserver(function (mutations, observer) {{\n",
" var display = window.getComputedStyle(gd).display;\n",
" if (!display || display === 'none') {{\n",
" console.log([gd, 'removed!']);\n",
" Plotly.purge(gd);\n",
" observer.disconnect();\n",
" }}\n",
"}});\n",
"\n",
"// Listen for the removal of the full notebook cells\n",
"var notebookContainer = gd.closest('#notebook-container');\n",
"if (notebookContainer) {{\n",
" x.observe(notebookContainer, {childList: true});\n",
"}}\n",
"\n",
"// Listen for the clearing of the current output cell\n",
"var outputEl = gd.closest('.output');\n",
"if (outputEl) {{\n",
" x.observe(outputEl, {childList: true});\n",
"}}\n",
"\n",
" }) }; </script> </div>\n",
"</body>\n",
"</html>"
]
},
"metadata": {}
}
]
},
{
"cell_type": "code",
"source": [
"# Best fit using validation period (used to select the best model from multiple candidates)\n",
"best = exp.compare_models([\"arima\", \"ets\", \"stlf\"])"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 143,
"referenced_widgets": [
"0efcd5d487734edbbc3707bc2323dd2b",
"23d0d1ce1e484f48814a9d9606728fb4",
"d02671a4ceaf4f1b9ced321bd22b5dbe",
"11c57e1a7e8f4d88a6c82cb6481c357c",
"80b07b573976438e89a9c6b7aca6cf23",
"b1040ef0fbe943dcb07a3b36bb68b250",
"2ae8b464841b4b81a1464342351934a0",
"cabc281e28f142a6b62c57c7caec9924",
"c8fc2373bd2a44ad990f2654c539c2c5",
"c986d5a5063d4510b43673c99e3ba1bb",
"a5938ae42a5042a0ac1275015cebee59"
]
},
"id": "QckMKPZ885XB",
"outputId": "08916584-9910-4031-f9ad-3c526b9c0e64"
},
"execution_count": 9,
"outputs": [
{
"output_type": "display_data",
"data": {
"text/plain": [
"<IPython.core.display.HTML object>"
],
"text/html": []
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"<pandas.io.formats.style.Styler at 0x7fd3b0716440>"
],
"text/html": [
"<style type=\"text/css\">\n",
"#T_0e035 th {\n",
" text-align: left;\n",
"}\n",
"#T_0e035_row0_col0, #T_0e035_row1_col0, #T_0e035_row1_col1, #T_0e035_row1_col2, #T_0e035_row1_col3, #T_0e035_row1_col4, #T_0e035_row1_col5, #T_0e035_row1_col6, #T_0e035_row1_col7, #T_0e035_row2_col0, #T_0e035_row2_col1, #T_0e035_row2_col2, #T_0e035_row2_col3, #T_0e035_row2_col4, #T_0e035_row2_col5, #T_0e035_row2_col6, #T_0e035_row2_col7 {\n",
" text-align: left;\n",
"}\n",
"#T_0e035_row0_col1, #T_0e035_row0_col2, #T_0e035_row0_col3, #T_0e035_row0_col4, #T_0e035_row0_col5, #T_0e035_row0_col6, #T_0e035_row0_col7 {\n",
" text-align: left;\n",
" background-color: yellow;\n",
"}\n",
"#T_0e035_row0_col8, #T_0e035_row2_col8 {\n",
" text-align: left;\n",
" background-color: lightgrey;\n",
"}\n",
"#T_0e035_row1_col8 {\n",
" text-align: left;\n",
" background-color: yellow;\n",
" background-color: lightgrey;\n",
"}\n",
"</style>\n",
"<table id=\"T_0e035\" class=\"dataframe\">\n",
" <thead>\n",
" <tr>\n",
" <th class=\"blank level0\" >&nbsp;</th>\n",
" <th id=\"T_0e035_level0_col0\" class=\"col_heading level0 col0\" >Model</th>\n",
" <th id=\"T_0e035_level0_col1\" class=\"col_heading level0 col1\" >MASE</th>\n",
" <th id=\"T_0e035_level0_col2\" class=\"col_heading level0 col2\" >RMSSE</th>\n",
" <th id=\"T_0e035_level0_col3\" class=\"col_heading level0 col3\" >MAE</th>\n",
" <th id=\"T_0e035_level0_col4\" class=\"col_heading level0 col4\" >RMSE</th>\n",
" <th id=\"T_0e035_level0_col5\" class=\"col_heading level0 col5\" >MAPE</th>\n",
" <th id=\"T_0e035_level0_col6\" class=\"col_heading level0 col6\" >SMAPE</th>\n",
" <th id=\"T_0e035_level0_col7\" class=\"col_heading level0 col7\" >R2</th>\n",
" <th id=\"T_0e035_level0_col8\" class=\"col_heading level0 col8\" >TT (Sec)</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th id=\"T_0e035_level0_row0\" class=\"row_heading level0 row0\" >ets</th>\n",
" <td id=\"T_0e035_row0_col0\" class=\"data row0 col0\" >ETS</td>\n",
" <td id=\"T_0e035_row0_col1\" class=\"data row0 col1\" >0.3994</td>\n",
" <td id=\"T_0e035_row0_col2\" class=\"data row0 col2\" >0.4874</td>\n",
" <td id=\"T_0e035_row0_col3\" class=\"data row0 col3\" >11.9660</td>\n",
" <td id=\"T_0e035_row0_col4\" class=\"data row0 col4\" >17.9594</td>\n",
" <td id=\"T_0e035_row0_col5\" class=\"data row0 col5\" >0.0273</td>\n",
" <td id=\"T_0e035_row0_col6\" class=\"data row0 col6\" >0.0267</td>\n",
" <td id=\"T_0e035_row0_col7\" class=\"data row0 col7\" >0.8551</td>\n",
" <td id=\"T_0e035_row0_col8\" class=\"data row0 col8\" >11.8000</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_0e035_level0_row1\" class=\"row_heading level0 row1\" >stlf</th>\n",
" <td id=\"T_0e035_row1_col0\" class=\"data row1 col0\" >STLF</td>\n",
" <td id=\"T_0e035_row1_col1\" class=\"data row1 col1\" >0.4872</td>\n",
" <td id=\"T_0e035_row1_col2\" class=\"data row1 col2\" >0.5009</td>\n",
" <td id=\"T_0e035_row1_col3\" class=\"data row1 col3\" >14.5944</td>\n",
" <td id=\"T_0e035_row1_col4\" class=\"data row1 col4\" >18.4553</td>\n",
" <td id=\"T_0e035_row1_col5\" class=\"data row1 col5\" >0.0325</td>\n",
" <td id=\"T_0e035_row1_col6\" class=\"data row1 col6\" >0.0322</td>\n",
" <td id=\"T_0e035_row1_col7\" class=\"data row1 col7\" >0.8470</td>\n",
" <td id=\"T_0e035_row1_col8\" class=\"data row1 col8\" >0.2000</td>\n",
" </tr>\n",
" <tr>\n",
" <th id=\"T_0e035_level0_row2\" class=\"row_heading level0 row2\" >arima</th>\n",
" <td id=\"T_0e035_row2_col0\" class=\"data row2 col0\" >ARIMA</td>\n",
" <td id=\"T_0e035_row2_col1\" class=\"data row2 col1\" >0.5175</td>\n",
" <td id=\"T_0e035_row2_col2\" class=\"data row2 col2\" >0.5291</td>\n",
" <td id=\"T_0e035_row2_col3\" class=\"data row2 col3\" >15.5036</td>\n",
" <td id=\"T_0e035_row2_col4\" class=\"data row2 col4\" >19.4968</td>\n",
" <td id=\"T_0e035_row2_col5\" class=\"data row2 col5\" >0.0346</td>\n",
" <td id=\"T_0e035_row2_col6\" class=\"data row2 col6\" >0.0341</td>\n",
" <td id=\"T_0e035_row2_col7\" class=\"data row2 col7\" >0.8292</td>\n",
" <td id=\"T_0e035_row2_col8\" class=\"data row2 col8\" >8.2000</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n"
]
},
"metadata": {}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"Processing: 0%| | 0/17 [00:00<?, ?it/s]"
],
"application/vnd.jupyter.widget-view+json": {
"version_major": 2,
"version_minor": 0,
"model_id": "0efcd5d487734edbbc3707bc2323dd2b"
}
},
"metadata": {
"application/vnd.jupyter.widget-view+json": {
"colab": {
"custom_widget_manager": {
"url": "https://ssl.gstatic.com/colaboratory-static/widgets/colab-cdn-widget-manager/b3e629b1971e1542/manager.min.js"
}
}
}
}
},
{
"output_type": "display_data",
"data": {
"text/plain": [
"<IPython.core.display.HTML object>"
],
"text/html": []
},
"metadata": {}
}
]
},
{
"cell_type": "markdown",
"source": [
"**Observations**\n",
"- ETS got selected as the best fit.\n",
"- Validation period metric (MASE) = 0.3994"
],
"metadata": {
"id": "smwzGXLVE28R"
}
},
{
"cell_type": "code",
"source": [
"# Blind Test Period (not used to select model, only used to test the unbiased assessment of the models of choice)\n",
"exp.predict_model(best)"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 301
},
"id": "Foq2l9gJDrMY",
"outputId": "6f46893f-c36e-42ae-c2c3-84ee9d872faf"
},
"execution_count": 10,
"outputs": [
{
"output_type": "display_data",
"data": {
"text/plain": [
"<pandas.io.formats.style.Styler at 0x7fd3b0b41f30>"
],
"text/html": [
"<style type=\"text/css\">\n",
"</style>\n",
"<table id=\"T_cf0d2\" class=\"dataframe\">\n",
" <thead>\n",
" <tr>\n",
" <th class=\"blank level0\" >&nbsp;</th>\n",
" <th id=\"T_cf0d2_level0_col0\" class=\"col_heading level0 col0\" >Model</th>\n",
" <th id=\"T_cf0d2_level0_col1\" class=\"col_heading level0 col1\" >MASE</th>\n",
" <th id=\"T_cf0d2_level0_col2\" class=\"col_heading level0 col2\" >RMSSE</th>\n",
" <th id=\"T_cf0d2_level0_col3\" class=\"col_heading level0 col3\" >MAE</th>\n",
" <th id=\"T_cf0d2_level0_col4\" class=\"col_heading level0 col4\" >RMSE</th>\n",
" <th id=\"T_cf0d2_level0_col5\" class=\"col_heading level0 col5\" >MAPE</th>\n",
" <th id=\"T_cf0d2_level0_col6\" class=\"col_heading level0 col6\" >SMAPE</th>\n",
" <th id=\"T_cf0d2_level0_col7\" class=\"col_heading level0 col7\" >R2</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th id=\"T_cf0d2_level0_row0\" class=\"row_heading level0 row0\" >0</th>\n",
" <td id=\"T_cf0d2_row0_col0\" class=\"data row0 col0\" >ETS</td>\n",
" <td id=\"T_cf0d2_row0_col1\" class=\"data row0 col1\" >0.2417</td>\n",
" <td id=\"T_cf0d2_row0_col2\" class=\"data row0 col2\" >0.2333</td>\n",
" <td id=\"T_cf0d2_row0_col3\" class=\"data row0 col3\" >8.2000</td>\n",
" <td id=\"T_cf0d2_row0_col4\" class=\"data row0 col4\" >9.4588</td>\n",
" <td id=\"T_cf0d2_row0_col5\" class=\"data row0 col5\" >0.0155</td>\n",
" <td id=\"T_cf0d2_row0_col6\" class=\"data row0 col6\" >0.0156</td>\n",
" <td id=\"T_cf0d2_row0_col7\" class=\"data row0 col7\" >0.9879</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n"
]
},
"metadata": {}
},
{
"output_type": "execute_result",
"data": {
"text/plain": [
" y_pred\n",
"2022-11 609.1518\n",
"2022-12 619.4359\n",
"2023-01 513.1137\n",
"2023-02 448.8338\n",
"2023-03 393.5797\n",
"2023-04 434.0564"
],
"text/html": [
"\n",
" <div id=\"df-ed51e8ab-60a8-4559-9c0c-d5ce7bba91c9\">\n",
" <div class=\"colab-df-container\">\n",
" <div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>y_pred</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>2022-11</th>\n",
" <td>609.1518</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2022-12</th>\n",
" <td>619.4359</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2023-01</th>\n",
" <td>513.1137</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2023-02</th>\n",
" <td>448.8338</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2023-03</th>\n",
" <td>393.5797</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2023-04</th>\n",
" <td>434.0564</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>\n",
" <button class=\"colab-df-convert\" onclick=\"convertToInteractive('df-ed51e8ab-60a8-4559-9c0c-d5ce7bba91c9')\"\n",
" title=\"Convert this dataframe to an interactive table.\"\n",
" style=\"display:none;\">\n",
" \n",
" <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
" width=\"24px\">\n",
" <path d=\"M0 0h24v24H0V0z\" fill=\"none\"/>\n",
" <path d=\"M18.56 5.44l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94zm-11 1L8.5 8.5l.94-2.06 2.06-.94-2.06-.94L8.5 2.5l-.94 2.06-2.06.94zm10 10l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94z\"/><path d=\"M17.41 7.96l-1.37-1.37c-.4-.4-.92-.59-1.43-.59-.52 0-1.04.2-1.43.59L10.3 9.45l-7.72 7.72c-.78.78-.78 2.05 0 2.83L4 21.41c.39.39.9.59 1.41.59.51 0 1.02-.2 1.41-.59l7.78-7.78 2.81-2.81c.8-.78.8-2.07 0-2.86zM5.41 20L4 18.59l7.72-7.72 1.47 1.35L5.41 20z\"/>\n",
" </svg>\n",
" </button>\n",
" \n",
" <style>\n",
" .colab-df-container {\n",
" display:flex;\n",
" flex-wrap:wrap;\n",
" gap: 12px;\n",
" }\n",
"\n",
" .colab-df-convert {\n",
" background-color: #E8F0FE;\n",
" border: none;\n",
" border-radius: 50%;\n",
" cursor: pointer;\n",
" display: none;\n",
" fill: #1967D2;\n",
" height: 32px;\n",
" padding: 0 0 0 0;\n",
" width: 32px;\n",
" }\n",
"\n",
" .colab-df-convert:hover {\n",
" background-color: #E2EBFA;\n",
" box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
" fill: #174EA6;\n",
" }\n",
"\n",
" [theme=dark] .colab-df-convert {\n",
" background-color: #3B4455;\n",
" fill: #D2E3FC;\n",
" }\n",
"\n",
" [theme=dark] .colab-df-convert:hover {\n",
" background-color: #434B5C;\n",
" box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
" filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
" fill: #FFFFFF;\n",
" }\n",
" </style>\n",
"\n",
" <script>\n",
" const buttonEl =\n",
" document.querySelector('#df-ed51e8ab-60a8-4559-9c0c-d5ce7bba91c9 button.colab-df-convert');\n",
" buttonEl.style.display =\n",
" google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
"\n",
" async function convertToInteractive(key) {\n",
" const element = document.querySelector('#df-ed51e8ab-60a8-4559-9c0c-d5ce7bba91c9');\n",
" const dataTable =\n",
" await google.colab.kernel.invokeFunction('convertToInteractive',\n",
" [key], {});\n",
" if (!dataTable) return;\n",
"\n",
" const docLinkHtml = 'Like what you see? Visit the ' +\n",
" '<a target=\"_blank\" href=https://colab.research.google.com/notebooks/data_table.ipynb>data table notebook</a>'\n",
" + ' to learn more about interactive tables.';\n",
" element.innerHTML = '';\n",
" dataTable['output_type'] = 'display_data';\n",
" await google.colab.output.renderOutput(dataTable, element);\n",
" const docLink = document.createElement('div');\n",
" docLink.innerHTML = docLinkHtml;\n",
" element.appendChild(docLink);\n",
" }\n",
" </script>\n",
" </div>\n",
" </div>\n",
" "
]
},
"metadata": {},
"execution_count": 10
}
]
},
{
"cell_type": "markdown",
"source": [
"**Observations**\n",
"\n",
"- So in this case, we can say that the ETS performance remains consistent between validation period and the blind test period.\n",
"- If the blind test period MASE were way more than validation period, then it would mean that the model is overfitting the validation period.\n",
"- In this case, we have to find an alternate model as our final choice."
],
"metadata": {
"id": "oOIYHvnuFHYA"
}
},
{
"cell_type": "code",
"source": [
"# Future predictions (repeat with best model into the future)\n",
"best_final = exp.finalize_model(best)"
],
"metadata": {
"id": "-FzB_T4BD33f"
},
"execution_count": 11,
"outputs": []
},
{
"cell_type": "code",
"source": [
"exp.plot_model(best_final, data_kwargs={\"fh\": 12})"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 542
},
"id": "BU97wd7SEPF_",
"outputId": "3a80c84a-a197-4517-d21e-0946c0e57a1e"
},
"execution_count": 12,
"outputs": [
{
"output_type": "display_data",
"data": {
"text/html": [
"<html>\n",
"<head><meta charset=\"utf-8\" /></head>\n",
"<body>\n",
" <div> <script src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG\"></script><script type=\"text/javascript\">if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}</script> <script type=\"text/javascript\">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>\n",
" <script src=\"https://cdn.plot.ly/plotly-2.18.2.min.js\"></script> <div id=\"34439590-c30d-48a0-b362-95ae13f337f2\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div> <script type=\"text/javascript\"> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById(\"34439590-c30d-48a0-b362-95ae13f337f2\")) { Plotly.newPlot( \"34439590-c30d-48a0-b362-95ae13f337f2\", [{\"line\":{\"color\":\"#1f77b4\"},\"marker\":{\"size\":5},\"mode\":\"lines+markers\",\"name\":\"Forecast | ETS\",\"showlegend\":true,\"x\":[\"2023-05-01T00:00:00\",\"2023-06-01T00:00:00\",\"2023-07-01T00:00:00\",\"2023-08-01T00:00:00\",\"2023-09-01T00:00:00\",\"2023-10-01T00:00:00\",\"2023-11-01T00:00:00\",\"2023-12-01T00:00:00\",\"2024-01-01T00:00:00\",\"2024-02-01T00:00:00\",\"2024-03-01T00:00:00\",\"2024-04-01T00:00:00\"],\"y\":[447.1067,421.2068,478.4977,483.0172,500.1625,576.9865,658.4387,659.8871,548.5458,485.4581,420.5231,464.2593],\"type\":\"scatter\"},{\"line\":{\"width\":0},\"marker\":{\"color\":\"#68BBE3\"},\"mode\":\"lines\",\"name\":\"Lower Interval\",\"showlegend\":false,\"x\":[\"2023-05-01T00:00:00\",\"2023-06-01T00:00:00\",\"2023-07-01T00:00:00\",\"2023-08-01T00:00:00\",\"2023-09-01T00:00:00\",\"2023-10-01T00:00:00\",\"2023-11-01T00:00:00\",\"2023-12-01T00:00:00\",\"2024-01-01T00:00:00\",\"2024-02-01T00:00:00\",\"2024-03-01T00:00:00\",\"2024-04-01T00:00:00\"],\"y\":[432.4182,405.5975,460.9066,463.51,479.2408,553.7671,632.4475,633.73,524.6491,462.2502,398.5921,440.2303],\"type\":\"scatter\"},{\"fill\":\"tonexty\",\"fillcolor\":\"rgba(104,187,227,0.5)\",\"line\":{\"width\":0},\"marker\":{\"color\":\"#68BBE3\"},\"mode\":\"lines\",\"name\":\"Prediction Interval | ETS\",\"showlegend\":true,\"x\":[\"2023-05-01T00:00:00\",\"2023-06-01T00:00:00\",\"2023-07-01T00:00:00\",\"2023-08-01T00:00:00\",\"2023-09-01T00:00:00\",\"2023-10-01T00:00:00\",\"2023-11-01T00:00:00\",\"2023-12-01T00:00:00\",\"2024-01-01T00:00:00\",\"2024-02-01T00:00:00\",\"2024-03-01T00:00:00\",\"2024-04-01T00:00:00\"],\"y\":[462.4609,439.1434,497.2727,502.9367,521.5822,600.9508,685.7188,688.1098,572.5585,510.3697,443.0566,489.5569],\"type\":\"scatter\"},{\"marker\":{\"color\":\"#3f3f3f\",\"size\":5},\"mode\":\"lines+markers\",\"name\":\"Original\",\"showlegend\":true,\"x\":[\"2019-05-01T00:00:00\",\"2019-06-01T00:00:00\",\"2019-07-01T00:00:00\",\"2019-08-01T00:00:00\",\"2019-09-01T00:00:00\",\"2019-10-01T00:00:00\",\"2019-11-01T00:00:00\",\"2019-12-01T00:00:00\",\"2020-01-01T00:00:00\",\"2020-02-01T00:00:00\",\"2020-03-01T00:00:00\",\"2020-04-01T00:00:00\",\"2020-05-01T00:00:00\",\"2020-06-01T00:00:00\",\"2020-07-01T00:00:00\",\"2020-08-01T00:00:00\",\"2020-09-01T00:00:00\",\"2020-10-01T00:00:00\",\"2020-11-01T00:00:00\",\"2020-12-01T00:00:00\",\"2021-01-01T00:00:00\",\"2021-02-01T00:00:00\",\"2021-03-01T00:00:00\",\"2021-04-01T00:00:00\",\"2021-05-01T00:00:00\",\"2021-06-01T00:00:00\",\"2021-07-01T00:00:00\",\"2021-08-01T00:00:00\",\"2021-09-01T00:00:00\",\"2021-10-01T00:00:00\",\"2021-11-01T00:00:00\",\"2021-12-01T00:00:00\",\"2022-01-01T00:00:00\",\"2022-02-01T00:00:00\",\"2022-03-01T00:00:00\",\"2022-04-01T00:00:00\",\"2022-05-01T00:00:00\",\"2022-06-01T00:00:00\",\"2022-07-01T00:00:00\",\"2022-08-01T00:00:00\",\"2022-09-01T00:00:00\",\"2022-10-01T00:00:00\",\"2022-11-01T00:00:00\",\"2022-12-01T00:00:00\",\"2023-01-01T00:00:00\",\"2023-02-01T00:00:00\",\"2023-03-01T00:00:00\",\"2023-04-01T00:00:00\"],\"y\":[315.0,301.0,356.0,348.0,355.0,422.0,465.0,467.0,404.0,347.0,305.0,336.0,340.0,318.0,362.0,348.0,363.0,435.0,491.0,505.0,404.0,359.0,310.0,337.0,360.0,342.0,406.0,396.0,420.0,472.0,548.0,559.0,463.0,407.0,362.0,405.0,417.0,391.0,419.0,461.0,472.0,535.0,622.0,606.0,508.0,461.0,390.0,432.0],\"type\":\"scatter\"}], {\"title\":{\"text\":\"Actual vs. 'Out-of-Sample' Forecast | Sales\"},\"xaxis\":{\"title\":{\"text\":\"Time\"}},\"yaxis\":{\"title\":{\"text\":\"Values\"}},\"template\":{\"data\":{\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"rgb(237,237,237)\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"bar\":[{\"error_x\":{\"color\":\"rgb(51,51,51)\"},\"error_y\":{\"color\":\"rgb(51,51,51)\"},\"marker\":{\"line\":{\"color\":\"rgb(237,237,237)\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"rgb(51,51,51)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(51,51,51)\"},\"baxis\":{\"endlinecolor\":\"rgb(51,51,51)\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"rgb(51,51,51)\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"type\":\"choropleth\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"type\":\"contourcarpet\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"contour\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"heatmapgl\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"heatmap\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"histogram2dcontour\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"histogram2d\"}],\"histogram\":[{\"marker\":{\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"histogram\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scattermapbox\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scatterpolargl\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scatterpolar\"}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"},\"colorscale\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"rgb(237,237,237)\"},\"line\":{\"color\":\"white\"}},\"header\":{\"fill\":{\"color\":\"rgb(217,217,217)\"},\"line\":{\"color\":\"white\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":0,\"tickcolor\":\"rgb(237,237,237)\",\"ticklen\":6,\"ticks\":\"inside\"}},\"colorscale\":{\"sequential\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]],\"sequentialminus\":[[0,\"rgb(20,44,66)\"],[1,\"rgb(90,179,244)\"]]},\"colorway\":[\"#F8766D\",\"#A3A500\",\"#00BF7D\",\"#00B0F6\",\"#E76BF3\"],\"font\":{\"color\":\"rgb(51,51,51)\"},\"geo\":{\"bgcolor\":\"white\",\"lakecolor\":\"white\",\"landcolor\":\"rgb(237,237,237)\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"white\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"paper_bgcolor\":\"white\",\"plot_bgcolor\":\"rgb(237,237,237)\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"},\"bgcolor\":\"rgb(237,237,237)\",\"radialaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"rgb(237,237,237)\",\"gridcolor\":\"white\",\"gridwidth\":2,\"linecolor\":\"white\",\"showbackground\":true,\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"zerolinecolor\":\"white\"},\"yaxis\":{\"backgroundcolor\":\"rgb(237,237,237)\",\"gridcolor\":\"white\",\"gridwidth\":2,\"linecolor\":\"white\",\"showbackground\":true,\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"zerolinecolor\":\"white\"},\"zaxis\":{\"backgroundcolor\":\"rgb(237,237,237)\",\"gridcolor\":\"white\",\"gridwidth\":2,\"linecolor\":\"white\",\"showbackground\":true,\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"zerolinecolor\":\"white\"}},\"shapedefaults\":{\"fillcolor\":\"black\",\"line\":{\"width\":0},\"opacity\":0.3},\"ternary\":{\"aaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"},\"baxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"},\"bgcolor\":\"rgb(237,237,237)\",\"caxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\"}},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zerolinecolor\":\"white\"},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"white\",\"linecolor\":\"white\",\"showgrid\":true,\"tickcolor\":\"rgb(51,51,51)\",\"ticks\":\"outside\",\"title\":{\"standoff\":15},\"zerolinecolor\":\"white\"}}},\"showlegend\":true}, {\"responsive\": true} ).then(function(){\n",
" \n",
"var gd = document.getElementById('34439590-c30d-48a0-b362-95ae13f337f2');\n",
"var x = new MutationObserver(function (mutations, observer) {{\n",
" var display = window.getComputedStyle(gd).display;\n",
" if (!display || display === 'none') {{\n",
" console.log([gd, 'removed!']);\n",
" Plotly.purge(gd);\n",
" observer.disconnect();\n",
" }}\n",
"}});\n",
"\n",
"// Listen for the removal of the full notebook cells\n",
"var notebookContainer = gd.closest('#notebook-container');\n",
"if (notebookContainer) {{\n",
" x.observe(notebookContainer, {childList: true});\n",
"}}\n",
"\n",
"// Listen for the clearing of the current output cell\n",
"var outputEl = gd.closest('.output');\n",
"if (outputEl) {{\n",
" x.observe(outputEl, {childList: true});\n",
"}}\n",
"\n",
" }) }; </script> </div>\n",
"</body>\n",
"</html>"
]
},
"metadata": {}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment