EpochLib is the base for Team Epoch competitions.
This library package contains many modules and classes necessary to construct the src code for machine learning competitions.
Install epochlib using Rye:
rye add epochlibOr via pip:
pip install epochlibDepending on what data libraries you use, you can install the following optional dependencies:
rye add epochlib[numpy,pandas,dask,polars] # Pick one or more of theseDepending on what type of competition you are participating in, you can install the following optional dependencies:
rye add epochlib[image,audio] # Pick one or more of theseAside from that, you can install the following optional dependencies:
rye add epochlib[onnx,openvino] # Optimizing model inferenceTo generate pytest coverage report run
rye run pytest --cov=epochlib --cov-branch --cov-report=html:coverage_reThis repository uses pre-commit with Ruff and MyPy hooks for code quality checks and auto-formatting. To install the pre-commit hooks, run:
rye run pre-commit installTo run the pre-commit checks on all files, run:
rye run pre-commit run --all-filesDocumentation is generated using Sphinx and can be found here.
To make the documentation yourself, run make html with docs as the working directory.
The documentation can then be found in docs/_build/html/index.html.
- Generally 'one class = one file' unless they are very tightly coupled.
- Use init.py to change import paths so they are shorter for the end user
EpochLib is maintained by Team Epoch, based in the Dream Hall of the Delft University of Technology.