- Install Vagrant
- In a console change to the repository folder
- Edit the memory / cpu settings and the forwarded ports (8888, 8889) in
Vagrantfile
if necessary - Run
vagrant up
(takes a while, likely 30min+) - SSH into the virtual machine with
vagrant ssh
- Set
Jupyter
password withjupyter notebook password
- Change into the
jupyter
folder - 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+R
or by clicking the button in the toolbar (on the far right)
- Change into
jupyter
folder 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