Skip to content

๐Ÿช๐Ÿ”ฎ A cookiecutter template to bootstrap machine learning prediction experiments, and integrate the predictions to a Translator Reasoner API

License

Notifications You must be signed in to change notification settings

MaastrichtU-IDS/cookiecutter-trapi-predict-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿช๐Ÿ”ฎ Template to create Translator Reasoner APIs with the TRAPI Predict Kit

A cookiecutter template to bootstrap machine learning prediction experiments, and integrate the predictions generated by this experiment to a Translator Reasoner API.

๐Ÿ› ๏ธ Getting Started

  1. Install cookiecutter with:
pip install cookiecutter
  1. Run cookiecutter with:
cookiecutter https://github.com/MaastrichtU-IDS/cookiecutter-trapi-predict-kit
  1. Enter the requested information, then win! Remember, package names should only have letters, numbers, and underscores.

  2. If you're working under version control, copy the repository into your folder tracked under git, commit the files, and push to your remote.

๐Ÿ’ช Features

Your new python package will have the following:

  • Standard src/ layout
  • Declarative setup with pyproject.toml
  • Reproducible tests with pytest
  • Data management with dvc
  • Automated running of tests on each push with GitHub Actions

๐Ÿ—๏ธ Development

One liner to quickly reset a create default repo and run training:

cd .. && rm -rf my-model && cookiecutter ./cookiecutter-trapi-predict-kit && cd my-model && hatch run train

About

๐Ÿช๐Ÿ”ฎ A cookiecutter template to bootstrap machine learning prediction experiments, and integrate the predictions to a Translator Reasoner API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published