Please install Miniconda or Anaconda before proceeding to the next steps.
There are two sets of packages in the requirements.txt. Firstly, we have the packages required to train/evaluate the models and the second set is for the visualization module. Activate the python environment and install the required packages as:
pip install -r install/requirements.txt
We use widgets in Jupyter Notebook for the Visualization. Build the ipywidgets and qgrid for jupyterlab as:
conda install -c conda-forge nodejs
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install qgrid2
NOTE: If you do not wish to use conda and install nodejs with pip, it will not work. The nodejs version in the pip wheel is outdated. If you only wish to use jupyter notebook, you can enable them with:
jupyter nbextension enable --py widgetsnbextension
jupyter nbextension enable --py --sys-prefix qgrid
More details can be found under: