You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/examples/sales_forecasting/index.rst
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,8 @@ What You'll Need
28
28
29
29
You’ll need to:
30
30
31
-
* Set up `AI-Lab <https://github.com/exasol/ai-lab>`_ (We recommend the Docker version because it comes with the Docker database. Alternatively, you can use `Exasol SaaS <https://cloud.exasol.com>`_).
31
+
* Set up `AI-Lab <https://github.com/exasol/ai-lab>`_ (We recommend the Docker version because it comes with the Docker database. Alternatively, you can use onPrem DB).
32
+
* This version of the demo is not compatible with SaaS database.
32
33
* Download and import the notebooks zip file from :ref:`setup-sf`.
Copy file name to clipboardExpand all lines: doc/examples/sales_forecasting/setup.rst
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,7 @@
4
4
Setup
5
5
======
6
6
7
-
You will be needing `AI-Lab <https://github.com/exasol/ai-lab>`_ and an Exasol database. You can choose the Docker DB that comes with AI-Lab or
8
-
use `Exasol SaaS <https://cloud.exasol.com>`_ and start with the free trial.
7
+
You will be needing `AI-Lab <https://github.com/exasol/ai-lab>`_ and an Exasol database. You can use the Docker DB that comes with AI-Lab or an onPrem one.
9
8
10
9
Once you have finished setting up with `AI-Lab <https://github.com/exasol/ai-lab>`_, we can proceed.
11
10
@@ -14,9 +13,9 @@ Beginner to `AI-Lab <https://github.com/exasol/ai-lab>`_
14
13
15
14
If this is your first time using `AI-Lab <https://github.com/exasol/ai-lab>`_, follow these steps:
16
15
17
-
* Start with the `main_config` file.
18
-
* Go through all of the cells in the `main_config` file.
19
-
* You have multiple database options: Docker (recommended), SaaS, and On-Prem.
16
+
* Start with the `main_config` notebook.
17
+
* Go through all of the cells in the `main_config` notebook.
18
+
* You have multiple database options: Docker DB(recommended) and On-Prem.
20
19
* The last cell creates a **schema** for you and ensures that you are connected to a database.
21
20
* We can now proceed with our demo.
22
21
@@ -28,20 +27,23 @@ Download the Sales Forecasting Demo File
28
27
* **Extract** the contents of the .zip file using your file explorer.
29
28
* **Create** a folder inside the root folder of AI-Lab and name it "sales_forecasting".
30
29
* **Upload** the files inside extracted folder into the "sales_forecasting" folder. Using the import button on the top right.
31
-
* **Alternatively** you can just upload the .zip file to JupyterLabs and unzip it using :ref:`below`.
30
+
* **Alternatively** you can just upload the .zip file to JupyterLabs and unzip it using the :ref:`below`.
32
31
* **Congratulations!** You’re all set, and now **we shall meet in AI-Lab**.
33
-
* The notebooks are **numbered** so you can know which one to visit **first**.
32
+
* Start from the `export_store_data` notebook and then move onto the `main`` notebook.
34
33
35
34
.. _below:
36
35
37
-
Unzip Files in JupyterLab
38
-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36
+
Code to Unzip Files in JupyterLab
37
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38
+
39
39
.. code-block:: python
40
40
41
41
import zipfile as zf
42
-
files = zf.ZipFile("sales_forecasting.zip", 'r')
43
-
files.extractall('sales_forecasting')
44
-
files.close()
42
+
43
+
# Open the zip file
44
+
with zf.ZipFile("sales_forecasting.zip", 'r') as files:
45
+
# Extract all contents directly to the current directory
0 commit comments