The lib contains 3 main modules:
- data.py: data loading, handling, preprocessing
- trainer.py: model training
- inference.py: model inference for deployment
- Python 3.5+
Install via pip:
pip install --upgrade git+https://github.com/ml-tooling/ml-project-template#subdirectory=production/python-utils-lib
or directly from the source code:
git clone https://github.com/ml-tooling/ml-project-template.git
cd ./production/python-utils-lib/
python setup.py install
After installation, the package can be imported:
import utils