diff --git a/doc/examples/sales_forecasting/index.rst b/doc/examples/sales_forecasting/index.rst index 82f1de3..52e9cff 100644 --- a/doc/examples/sales_forecasting/index.rst +++ b/doc/examples/sales_forecasting/index.rst @@ -28,7 +28,8 @@ What You'll Need You’ll need to: -* Set up `AI-Lab `_ (We recommend the Docker version because it comes with the Docker database. Alternatively, you can use `Exasol SaaS `_). +* Set up `AI-Lab `_ (We recommend the Docker version because it comes with the Docker database. Alternatively, you can use onPrem DB). +* This version of the demo is not compatible with SaaS database. * Download and import the notebooks zip file from :ref:`setup-sf`. What You'll Learn diff --git a/doc/examples/sales_forecasting/sales_forecasting.zip b/doc/examples/sales_forecasting/sales_forecasting.zip index 4832a94..1c0a82b 100644 Binary files a/doc/examples/sales_forecasting/sales_forecasting.zip and b/doc/examples/sales_forecasting/sales_forecasting.zip differ diff --git a/doc/examples/sales_forecasting/setup.rst b/doc/examples/sales_forecasting/setup.rst index c4e59b9..39eaeec 100644 --- a/doc/examples/sales_forecasting/setup.rst +++ b/doc/examples/sales_forecasting/setup.rst @@ -4,8 +4,7 @@ Setup ====== -You will be needing `AI-Lab `_ and an Exasol database. You can choose the Docker DB that comes with AI-Lab or -use `Exasol SaaS `_ and start with the free trial. +You will be needing `AI-Lab `_ and an Exasol database. You can use the Docker DB that comes with AI-Lab or an onPrem one. Once you have finished setting up with `AI-Lab `_, we can proceed. @@ -14,9 +13,9 @@ Beginner to `AI-Lab `_ If this is your first time using `AI-Lab `_, follow these steps: -* Start with the `main_config` file. -* Go through all of the cells in the `main_config` file. -* You have multiple database options: Docker (recommended), SaaS, and On-Prem. +* Start with the `main_config` notebook. +* Go through all of the cells in the `main_config` notebook. +* You have multiple database options: Docker DB(recommended) and On-Prem. * The last cell creates a **schema** for you and ensures that you are connected to a database. * We can now proceed with our demo. @@ -28,20 +27,23 @@ Download the Sales Forecasting Demo File * **Extract** the contents of the .zip file using your file explorer. * **Create** a folder inside the root folder of AI-Lab and name it "sales_forecasting". * **Upload** the files inside extracted folder into the "sales_forecasting" folder. Using the import button on the top right. -* **Alternatively** you can just upload the .zip file to JupyterLabs and unzip it using :ref:`below`. +* **Alternatively** you can just upload the .zip file to JupyterLabs and unzip it using the :ref:`below`. * **Congratulations!** You’re all set, and now **we shall meet in AI-Lab**. -* The notebooks are **numbered** so you can know which one to visit **first**. +* Start from the `export_store_data` notebook and then move onto the `main`` notebook. .. _below: -Unzip Files in JupyterLab -^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Code to Unzip Files in JupyterLab +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + .. code-block:: python import zipfile as zf - files = zf.ZipFile("sales_forecasting.zip", 'r') - files.extractall('sales_forecasting') - files.close() + + # Open the zip file + with zf.ZipFile("sales_forecasting.zip", 'r') as files: + # Extract all contents directly to the current directory + files.extractall()