nirs4all.pipeline.dagml.target_domains module

Owner-side bin-domain provenance for native fold-local classification.

This module extracts the fitted target operator’s state. Scoring, selection and the admission of incompatible domains remain native DAG-ML responsibilities.

nirs4all.pipeline.dagml.target_domains.bin_domain_policy(transformer: Any, node_id: str) → dict[str, Any][source]

Build a native graph policy; constructing it does not enable execution.

nirs4all.pipeline.dagml.target_domains.bin_domain_recipe(transformer: Any) → dict[str, Any][source]

Describe one supported mono-target bin recipe without fitting it.

nirs4all.pipeline.dagml.target_domains.fitted_bin_domain(transformer: Any, fit_sample_ids: list[str], policy: dict[str, Any]) → dict[str, Any][source]

Capture exact fitted boundaries and the training cohort for native lineage.

nirs4all.pipeline.dagml.target_domains.fold_local_domains_available() → bool[source]

Require an explicit native capability; package versions are insufficient.

nirs4all.pipeline.dagml.target_domains.learned_bin_transform(pipeline: list[Any]) → Any | None[source]

Find the bounded flat, single-model target recipe eligible for native CV.