nirs4all.pipeline.dagml.chart_projection module

Presentation-only charts from scored DAG runs and their captured refit transforms.

No estimator is fitted here. A processed spectrum is explicitly a full-training REFIT view, not an out-of-fold observation or an independent validation result. Every image has an adjacent HTML text alternative and downloadable numeric data.

nirs4all.pipeline.dagml.chart_projection.render_run_charts(result: Any, pipeline: list[Any], spectro: Any, *, original_spectro: Any | None = None, pre_holdout_spectro: Any | None = None, file_holdout_lowered: bool = False, workspace_path: Path | None, save_charts: bool, plots_visible: bool, verbose: int) → list[str][source]

Reuse library chart presenters on immutable snapshots of fitted DAG state.

nirs4all.pipeline.dagml.chart_projection.validate_chart_projection(pipeline: list[Any], spectro: Any) → None[source]

Check that requested chart stages have an unambiguous captured prefix.