QTZPOC-20

QTZPOC-20: Add skip_predict_timestamp flag to model_config to prevent timestamp reinsertion in prediction data, and document other ad-hoc behavioral flags.
This commit is contained in:
2026-09-03 12:04:47 -03:00
parent 086b65c45f
commit 09027bc93b
3 changed files with 23 additions and 4 deletions

View File

@@ -18,6 +18,16 @@ reads the artifact's `MLmodel` manifest to guess it.
`predict_flavor` drives `load_predict_model` (artifact `prediction_model`); `transform_flavor` drives
`load_transform_model` (artifact `data_model`). Both default to `sklearn` when the key is absent.
## Other `model_config` flags
Ad-hoc behavioral overrides, read directly with `.get(key, default)` — not part of the model
document written by import (`model-import.md` § 12), and not validated against a schema:
| Key | Default | Effect |
|---|---|---|
| `skip_transform` | `False` | `fit_models` (retrain) skips calling `transform` before fitting. |
| `skip_predict_timestamp` | `False` | `request_predict` skips reinserting the `timestamp` column (from the index) into the transformed data before calling predict. |
## Accepted values
| Flavor | Read | Write (retrain) | How it loads |