mioXpektron.analysis.tuning

Hyperparameter tuning for top benchmark models.

Functions

get_tuning_grid(model_name)

Return a parameter grid for supported model names.

select_best_tuned_model(tuning_df)

Return the name and estimator of the best tuned model.

tune_top_models(data_dict, results_df, *[, ...])

Grid-search hyperparameters for the top-performing models.

mioXpektron.analysis.tuning.get_tuning_grid(model_name)[source]

Return a parameter grid for supported model names.

Parameters:

model_name (str)

Return type:

Dict[str, list] | None

mioXpektron.analysis.tuning.tune_top_models(data_dict, results_df, *, top_n=3, cv_folds=5, random_state=42, verbose=0)[source]

Grid-search hyperparameters for the top-performing models.

Parameters:
Return type:

DataFrame

mioXpektron.analysis.tuning.select_best_tuned_model(tuning_df)[source]

Return the name and estimator of the best tuned model.

Parameters:

tuning_df (DataFrame)

Return type:

Tuple[str | None, Any | None]