nirs4all.controllers.models.utilities module
Model Controller Utilities - Task detection, loss/metric configuration, and scoring
This module provides controller-specific utilities that were relocated from utils/model_utils.py to be co-located with model controllers.
Provides: - Task type detection and enumeration - Default loss function and metric selection based on task type - Loss function validation - Score formatting utilities