Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[MRG] implement InstanceHardnessCV #1125

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

Open
wants to merge 18 commits into
base: master
Choose a base branch
Loading
from

Conversation

fritshermans
Copy link

@fritshermans fritshermans commented Jan 31, 2025

As discussed on LinkedIn with @glemaitre, I implemented the InstanceHardnessCV splitter as described in my blog post.

'Instance hardness' refers to the difficulty to classify an instance. The way hard-to-classify instances are distributed over train and test sets has significant effect on the test set performance metrics.

Todo:

  • add example to examples/ folder
  • write documentation

@fritshermans
Copy link
Author

I made a small change in the way samples with large instance hardness are distributed over the folds. I first sort by label and then by proba before assigning the folds. Documentation is now also created. Let me know if there are questions or if there's something more I can do!

@fritshermans fritshermans changed the title [WIP] implement InstanceHardnessCV implement InstanceHardnessCV Mar 30, 2025
@fritshermans fritshermans changed the title implement InstanceHardnessCV [MRG] implement InstanceHardnessCV Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.