OTTO
Otto is a simple Boilerplate for Machine Learning projects integrated with MLflow that creates a basic directory structure to organize your code and data. Otto is strongly based on Cookiecutter, if you need something more complete is a good desition to visit they repo.
├── MLproject
├── README.md
├── Dockerfile
├── build_image.sh
├── .gitignore
├── data
│ ├── processed/
│ └── raw/
├── notebooks/
├── src/
│ ├── data/
│ │ └── __init__.py
│ │ └── data_preparation.py
│ ├── features/
│ │ └── __init__.py
│ ├── models/
│ │ └── __init__.py
│ │ └── model.py
│ ├── train.py
│ ├── settings.py
│ └── __init__.py
└── tests/
Usage
Simple install otto using pip as follows
pip install otto-ml
and use otto
otto --name new-project
or simple use it with out params and let otto guides you 😉
otto
and that's it, Now you can jump to code your model!
Ok, but... what this solve?
That is a pretty good question. The first attempt is to simplify the startup of a new machine learning project generating most, not machine-learning related code. Like the configuration of the docker image via Dockerfile or the MLProject setup and the connection with the Mlflow tracking server if you have set up one using ENV variables.
But to make it cristal water, let show how it will be a standard use of the otto package.
The Titanic Competition Example
... In development ...
Release files for otto-ml 0.1.31
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| otto-ml-0.1.31.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| otto_ml-0.1.31-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.5 kB
Release files / otto-ml-0.1.31.tar.gz
| Download URL | otto-ml-0.1.31.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf14c36e597cf19b1ef9d27296ded1f1bd06c71079d669316c5ebe91fe623331
|
|
BLAKE2b-256 checksum How to use checksums |
abc81fefcd269267770b14007bf83eedae72bd3a80f01da8cba779ba84c212d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Release files / otto_ml-0.1.31-py3-none-any.whl
| Download URL | otto_ml-0.1.31-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bcf5ea71e4683d9f770e56d635bcd43231617422564c738e50fc2be6be46fd5e
|
|
BLAKE2b-256 checksum How to use checksums |
c535cec5e23ef304f52da2d429da84aafc55abc7d0a4c04451e4b097bb911e8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|