Skip to content

Conversation

@SimonBlanke
Copy link
Collaborator

This PR updates examples for v5 compatibility and fixes several issues preventing example tests from running successfully.

  • Fixed SklearnCvExperiment scoring parameter handling for string-based scorers
  • Resolved parameter compatibility issues in grid search examples
  • Updated Optuna example configurations
@SimonBlanke SimonBlanke force-pushed the change-examples-to-v5 branch from ed516a1 to 336fcfa Compare August 18, 2025 09:46
@SimonBlanke SimonBlanke requested a review from fkiraly August 18, 2025 09:50
Copy link
Collaborator

@fkiraly fkiraly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all looks good, minimal change request only, see above

@SimonBlanke SimonBlanke requested a review from fkiraly August 19, 2025 14:31
params_regress = {
"estimator": SVR(),
"scoring": mean_absolute_error,
"scoring": "neg_mean_absolute_error",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a test case instead of changing an existing one?

Copy link
Collaborator

@fkiraly fkiraly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the sklearn example, can you add a test case instead of changing one?

@SimonBlanke SimonBlanke requested a review from fkiraly August 20, 2025 14:28
Copy link
Collaborator

@fkiraly fkiraly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am happy with this (I fixed the sklearn compatibility tests)

@SimonBlanke SimonBlanke merged commit c857212 into main Aug 21, 2025
41 checks passed
@SimonBlanke SimonBlanke deleted the change-examples-to-v5 branch December 3, 2025 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants