nirs4all.analysis.presets module

Transfer Preprocessing Selection Presets.

This module defines preset configurations for the TransferPreprocessingSelector. Presets provide convenient defaults for common use cases, from fast exploration to exhaustive analysis.

Presets:

fast: Single preprocessing evaluation only (~5s) balanced: Stage 1 + 2 with top-5 stacking (~20s) thorough: Stage 1 + 2 + 3 with augmentation (~40s) full: All stages with supervised validation (~60s) exhaustive: Maximum depth/breadth for research (~30min)

nirs4all.analysis.presets.get_preset(name: str) Dict[str, Any][source]

Get a preset configuration by name.

Parameters:

name – Preset name (‘fast’, ‘balanced’, ‘thorough’, ‘full’, ‘exhaustive’).

Returns:

Dictionary of configuration parameters.

Raises:

ValueError – If preset name is unknown.

nirs4all.analysis.presets.list_presets() Dict[str, str][source]

List available presets with descriptions.

Returns:

Dictionary mapping preset names to descriptions.