- Install Vagrant
- In a console change to the repository folder
- Edit the memory / cpu settings and the forwarded ports (8888, 8889) in
Vagrantfileif necessary - Run
vagrant up(takes a while, likely 30min+) - SSH into the virtual machine with
vagrant ssh - Set
Jupyterpassword withjupyter notebook password
- Change into the
jupyterfolder - Start Jupyter notebook server with
jupyter notebook - Open browser at http://localhost:8888/
- Open the notebook
XGBoost explainability.ipynb
The cells in the notebook feature a slide show configuration, which can be inspected with the
menu entry View -> Cell Toolbar -> Slideshow.
For presenting the notebook as slide show, you may either use RISE
or the built-in slide conversion with nbconvert. RISE features live cell evaluation and seems to cause less issues
in Chrome, while nbconvert supports speaker notes with the local reveal.js installation.
- Open browser at http://localhost:8888/
- Open the notebook
XGBoost explainability.ipynb - Switch to the live slide show mode by pressing
Alt+Ror by clicking the button in the toolbar (on the far right)
- Change into
jupyterfolder jupyter nbconvert XGBoost\ explainability.ipynb --to slides --reveal-prefix lib/reveal.js --post serve --ServePostProcessor.ip='0.0.0.0'- Open browser at http://localhost:8889