How to run a workflow - Sarailidis/Interactive-Decision-Trees GitHub Wiki
How to run a workflow
For those who are unfamiliar with Jupyter Lab below I provide some guidelines on what to do after the installation. These include how to open the Jupyter Lab application and run a workflow.
*If you haven't closed the Anaconda Prompt used for the installation you can skip steps 1 and 2 and start from step 3.
-
Open the Anaconda prompt and activate the virtual environment in which the package was installed. If you followed the installation instructions of the repository's README then just type and run the following:
conda activate InteractiveDecisionTrees
-
Create the working directory by typing and running:
cd [add_working_directory_path]
-
Open the Anaconda prompt, type and run the following:
jupyter lab
This should open the Jupyter Lab application and it should look similar to this:
- On the left hand side find and click on the folder icon:
- This should show you the contents of the repository:
To run the Graphical User Interface click on the InteractiveDecisionTrees.ipynb. To run a workflow follow the steps below.
- Click on the "Workflows" folder. The contents of this folder should be three subfloders with the 3 case studies workflows:
- Click on the one you want to practice. For example, click on the 1st_case_study and it will show you the contents on the 1st_case_study which should be as below:
- Finally, click on the file named "Workflow_1st_case_study.ipynb" and it should open a notebook that looks like this:
To run the workflow read the contents of the workflow and you will be guided on what to do in the case study. To run the cells in the workflow you just need to click on the play button on the top of the workflow.