nirs4all.controllers.charts.folds module
FoldChartController - Visualizes cross-validation folds with y-value color coding.
- class nirs4all.controllers.charts.folds.FoldChartController[source]
Bases:
OperatorController- execute(step_info: ParsedStep, dataset: SpectroDataset, context: ExecutionContext, runtime_context: Any, source: int = -1, mode: str = 'train', loaded_binaries: Any = None, prediction_store: Any = None) Tuple[ExecutionContext, Any][source]
Execute fold visualization showing train/test splits with y-value color coding. Skips execution in prediction mode.
- Returns:
Tuple of (context, StepOutput)
- classmethod matches(step: Any, operator: Any, keyword: str) bool[source]
Check if the operator matches the step and keyword.