nirs4all.data.ensemble_utils module

Ensemble Prediction Utilities - Weighted averaging for ensemble predictions

This module provides utilities for combining predictions from multiple models using weighted averaging based on their scores. Relocated from utils/model_utils.py to be with data/prediction modules.

Supports both regression (numeric averaging) and classification (soft/hard voting).