Assemble a unit pipeline's training matrix as of each unit row's decision date: the pipeline's steps resolve into
typed columns (the bound protocol's exclusions and the pipeline's LeakageGuard deny lists excluded,
EffectiveExclusions) and the as-of assembler reads them. This is the one
assembly function training uses; the scoring path calls the same assembler with the columns and levels training
stored. With prepared (a training run) the pipeline, unit and rows already read are reused; without it (a check
that only needs the matrix) the pipeline, its bound protocol's exclusions, the unit and its rows are read here, and
a pipeline without a unit is refused (unit-required). A training run's carve (UnitAssemblyInputs.Carve)
limits the assembled rows to the ones it keeps and the categorical fold to its development rows; the series history
lags read from is still built from every unit row.
the MJ: ML Training Pipelines row
the training deps (provider, user and the unit seams; history defaults to complete Record Changes reads)
Optionalprepared: UnitAssemblyInputswhat a training run has already read
Train a model end-to-end from a pipeline definition.
the pipeline id + optional session-iteration inputs
the injected dependency bundle (entity factory, loader, trainer, stores)
the produced Draft model (null when the gate ships nothing) and the training run
StaticCarveThe bound protocol's carve over a run's unit rows (TrainingRowCarve), by the carver the protocol declares (HoldoutCarvers.CarverForProtocol).
StaticEffectiveThe fields and sources kept out of a unit pipeline's matrix: the union of the bound protocol's exclusions (a guard
field, set only in protocol configuration) and the pipeline's LeakageGuard deny lists. A union, so neither list
can bring back a column the other keeps out.
the pipeline's leakage guard
the bound protocol's exclusions, or null when the pipeline has no protocol
StaticMemberThe driver a shippable baseline member is fitted with, as the trainer fits it: the GLM and the one-feature baseline use the GLM of the task's family (a forecast's family is its value kind); the forecast baselines are their own series drivers. The dummy and the incumbent heuristic are yardsticks and never ship.
StaticNoWhy a completed training run shipped no model: the reason of its stored gate decision (no-signal, or the unit's
existing rule kept), or the run's notes when it stored no gate record.
StaticSeriesThe series history a unit with a Temporal Spec reads its lags and rolling windows from: the unit rows' labels by entity and period. Null for a unit without one.
StaticTimeoutThe trainer's timeout: the protocol's compute budget, or the seconds an enclosing budget has left when that is less.
??: 0 seconds left in an enclosing budget is a real value, and only an absent one leaves the protocol's budget.
StaticUnitThe refusal of a pipeline without a Prediction Unit, raised before any run row is written; the reason names how to bind one (a held pipeline's Description names what to declare).
Training orchestrator. Stateless across calls; construct once and reuse. All dependencies are supplied per call via TrainingDeps.