This is an example experiment repository for the 'Best practices in Machine Learning-based Research Software' course given in February 2026 at Heidelberg University.
-
install uv
-
Clone this repository to your systme
git clone git@github.com:MaHaWo/MLbRS_example.gitand create a virtual environment:
uv venvand activate it
source ./.venv/bin/activate then clone the library. See here for instructions.
- go to the root directory of the repository and install the library into your virtual environment. It doesn't have a pip release, so we need to install from source
uv pip install ./path/to/MLbRS_example_library - install the dependencies of the experiment library
uv install - run the example:
python3 ./src/main.py --config ./configs/config_basic.yamlyou then should see your model train and get a data/MNIST directory and a results/experiment_YYYYMMDD_HHmmSS directory containing the results and the last model snapshot.