wording fixes
This commit is contained in:
@@ -36,9 +36,14 @@ fi
|
||||
|
||||
# One-shot training of the CaCu model on the loaded data (compose profile
|
||||
# `entrenar`): the trained version goes into production and the worker's next
|
||||
# cycle estimates with it.
|
||||
# cycle estimates with it. `--source dbt` (dbt's cohort, not the kit's numbered
|
||||
# builds) is required: a PROD run needs its cohort build named (ML-03), and
|
||||
# --export --source dbt is the only way to do that without knowing the build
|
||||
# number ahead of time; it also makes the promotion gate's cohort-link check
|
||||
# portable (tag-based, no live lookup of a local build row), unlike the kit's.
|
||||
if [ "$1" = "entrenar" ]; then
|
||||
exec uv run --no-sync python -m models run cacu cin2_logistic --export --train --promote
|
||||
exec uv run --no-sync python -m models run cacu cin2_logistic --export --source dbt --manifest "$DBT_MANIFEST" \
|
||||
--environment prod --train --promote
|
||||
fi
|
||||
|
||||
# --no-sync: the environment was synced at build time; syncing at startup
|
||||
|
||||
Reference in New Issue
Block a user