kernels.harness.RetroTask
One unit of work: fit one model to one company x line cohort as of a
Usage
kernels.harness.RetroTask(
model,
warehouse,
line,
company_code,
as_of,
loss_field=None,
clamp_paid=False,
seed=None,
fit_kwargs=dict()
)training cutoff, score it against the realized outcome.
warehouse must already be concrete (a local path or a pinned github://owner/repo@publish_id with the mart cached) - see data.schedule_p.pinned_source. fit_kwargs carries entry-specific arguments (variant, growth_curve) verbatim: unlike sampler settings they are NOT signature-filtered, so a typo fails loudly as an error row instead of silently fitting the default.
Parameter Attributes
model: strwarehouse: strline: strcompany_code: stras_of: strloss_field: str | None = Noneclamp_paid: bool = Falseseed: int | None = Nonefit_kwargs: dict = dict()