A collection of Jupyter notebooks for various ML tasks.
Local copies of the following datasets have been saved in */datasets directories for reproducibility.
You will need to install the optional jupyter
dependencies to export the notebooks.
From the project root, run:
pip install -e .[jupyter]
To export the notebooks to HTML, use the following commands:
jupyter nbconvert --to html --embed-images notebooks/time_for_crab/0-eda/eda.ipynb
jupyter nbconvert --to html --embed-images notebooks/time_for_crab/0-eda/overfit.ipynb
jupyter nbconvert --to html --embed-images notebooks/time_for_crab/1-models/models.ipynb
jupyter nbconvert --to html --embed-images notebooks/time_for_crab/2-features/features.ipynb
jupyter nbconvert --to html --embed-images notebooks/time_for_crab/3-evaluation/evaluation.ipynb
To export the notebooks to LaTeX or PDF, you'll need some additional packages:
pandoc
- install withpip install -e .[latex]
from the project root.texlive
- install for your OS using the instructions here.- TexLive focuses more on user security than MikTeX, hence the recommendation.
- This takes a while to install, so be patient.
Then use the following commands to generate the LaTeX files:
jupyter nbconvert --to latex notebooks/time_for_crab/0-eda/eda.ipynb
Or to generate the PDF files:
jupyter nbconvert --to pdf notebooks/time_for_crab/0-eda/eda.ipynb