uclamii / model_tuner

A library to tune the hyperparameters of common ML models. Supports calibration and custom pipelines.
Apache License 2.0
3 stars 0 forks source link

Pipeline overhaul #55

Closed elemets closed 3 weeks ago

elemets commented 3 weeks ago

Pipeline Refactoring: Automatic Step Ordering and Dynamic Step Access

Overview:

This refactor introduces a complete overhaul of how pipeline steps are handled within the code. The steps are now automatically ordered to ensure they are always processed in the correct sequence.

New Pipeline Order:

The pipeline steps are now processed in the following order:

  1. Preprocessing
  2. Over/Under Sampling
  3. Feature Selection
  4. Classifier

Key Changes:

Impact:

Why This Matters:

This refactor improves the robustness and flexibility of the pipeline, making it easier to maintain and extend, especially in workflows involving hyperparameter optimization and model monitoring.