A decision tree for practitioners needing uncertainty quantification for their deep learning project
The paper is written using Sphinx with Markdown files. The documentation is automatically built and deployed to GitHub Pages.
- Install Python dependencies:
pip install -r docs/requirements.txt- Build the HTML documentation:
cd docs
make html- View the documentation by opening
docs/_build/html/index.htmlin your browser.
The workflow automatically generates a PDF version of the paper from the markdown files. The PDF is available as an artifact in the GitHub Actions workflow runs.
When a new release is created (by pushing a git tag like v1.0.0), the LaTeX and PDF files are automatically built and attached to the release as downloadable assets. To create a release:
git tag -a v1.0.0 -m "Release version 1.0.0"
git push origin v1.0.0The release assets will include:
uq-tree-v1.0.0.tex- LaTeX source fileuq-tree-v1.0.0.pdf- PDF of the paper
This repository uses pre-commit hooks for linting and formatting. To set up:
- Install pre-commit:
pip install pre-commit- Install the git hook scripts:
pre-commit install- (Optional) Run against all files:
pre-commit run --all-filesThe hooks will automatically run on git commit and will check:
- Trailing whitespace
- End-of-file fixers
- YAML syntax
- Large files
- Markdown linting and formatting
- Python code formatting (Black)
- Python import sorting (isort)
- Python linting (flake8)
Contributions are welcome! Please ensure that:
- Pre-commit hooks pass
- Documentation builds successfully
- Changes follow the existing structure and style
See LICENSE file for details.