For example, create modules based on each step of a CRISP-DM process:
src/
__init__.py
preprocess.py # put functions you need to join, clean, transform and prepare features.
modeling.py # put functions you need to train the model and also perform predictions
evaluate.py # put functions you need to validate your model
For example, create modules based on each step of a CRISP-DM process: