nirs4all.pipeline.dagml.native_pls_phase_controls module
Closed public declarations for the explicitly selected native PLS profile.
This adapter validates declarations and builds signed request inputs. Methods owns preprocessing, fitting and saved-state inspection; DAG-ML owns phases, folds, optimization and replay.
- class nirs4all.pipeline.dagml.native_pls_phase_controls.NativePlsPhaseControls(pipeline: list[Any], base_params: dict[str, Any], train_params: dict[str, Any], refit_params: dict[str, Any], hpo: Any, search_axes: tuple[dict[str, Any], ...], hpo_scope: str = 'campaign')[source]
Bases:
objectCaller-independent declarations for one closed native campaign.
- nirs4all.pipeline.dagml.native_pls_phase_controls.attach_native_pls_phase_controls(contracts: Any, profile: NativePlsPhaseControls, dag_ml: Any, *, fold_plan: Any = None) Any[source]
Bind the closed profile and phase patches before native request signing.
- nirs4all.pipeline.dagml.native_pls_phase_controls.normalize_native_pls_phase_controls(pipeline: Any, *, seed: int) NativePlsPhaseControls[source]
Validate the entire profile before data access or optimizer allocation.