Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH]: Warn when hyperparamater tuning is hapening and now explcit scoring is used for inner CV #253

Open
fraimondo opened this issue Mar 21, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@fraimondo
Copy link
Contributor

Which feature do you want to include?

The default in scikit-learn's SearchCV is to use the learning algorithm's score function. E.g. SVM will use accuracy. This could be a problem if the data is imbalanced. It would be better to use balanced_accuracy.

To prevent this, ideally we should warn the user if:

  1. Hyperparemeter tuning is happening
  2. Scoring is implicit

Additionally, this should include an example

How do you imagine this integrated in julearn?

In the checks, if a SearchCV is used and the scoring is None

Do you have a sample code that implements this outside of julearn?

No response

Anything else to say?

No response

@fraimondo fraimondo added the enhancement New feature or request label Mar 21, 2024
@fraimondo fraimondo self-assigned this Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant