nirs4all.controllers.models.sklearn_model module
Sklearn Model Controller - Controller for scikit-learn models
This controller handles sklearn models with support for: - Training on 2D data (samples x features) - Cross-validation and hyperparameter tuning with Optuna - Model persistence and prediction storage - Integration with the nirs4all pipeline
Matches any sklearn model object (estimators with fit/predict methods).