1. Create a predictor
Add a file insrc/air_travel_model/predictors/your_mode.py:
2. Create a trainer
Addsrc/air_travel_model/trainers/your_mode.py:
data/your_mode_model.pkl.
3. Register the model
Insrc/air_travel_model/registry.py, add an entry to the _REGISTRY dict:
4. Export from __init__.py
TransportPredictor is the only public export, so no changes to __init__.py are needed — the registry entry is enough.
5. Add tests
Add a test intests/ that calls both predict() and estimate() for your new mode: