Skip to content

Improve error message for estimation_procedure by showing readable names instead of IDs#1722

Closed
codejasleen wants to merge 2 commits intoopenml:mainfrom
codejasleen:main
Closed

Improve error message for estimation_procedure by showing readable names instead of IDs#1722
codejasleen wants to merge 2 commits intoopenml:mainfrom
codejasleen:main

Conversation

@codejasleen
Copy link

Summary

Improved error message for invalid estimation procedures by replacing numeric IDs with human-readable names.

Changes

  • Extract estimation procedure IDs from server error message
  • Map IDs to names using _get_estimation_procedure_list()
  • Display readable format instead of numeric IDs

Before

acceptable inputs: [7, 8, 9]

After

acceptable inputs:
7: 10-fold Crossvalidation
8: 5 times 2-fold Crossvalidation

Notes

This improves usability by making error messages more understandable for users.

@codejasleen
Copy link
Author

Closing this PR in favor of a cleaner version: #1723

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