FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Improve error message for estimation_procedure by showing readable names instead of IDs by codejasleen · Pull Request #1723 · openml/openml-python · GitHub

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

Open
codejasleen wants to merge 2 commits into
openml:mainfrom
codejasleen:fix-error-message-clean
Open

Improve error message for estimation_procedure by showing readable names instead of IDs#1723
codejasleen wants to merge 2 commits into
openml:mainfrom
codejasleen:fix-error-message-clean

Conversation

codejasleen commented Mar 24, 2026
edited
Loading

Copy link
Copy Markdown

closes #1091

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.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Improve error message when assigning an invalid estimation procedure to a new task

1 participant


Back | FazBrowse Home | New Git URL