Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@angelsevillamol
Copy link
Collaborator

What does this implement/fix? Explain your changes

This PR adds input validation for classifier hyperparameters in NNOP, NNPOM, OrdinalDecomposition, REDSVM and SVOREX. Validation is performed in the fit() method using the _validate_params pattern from scikit-learn. Existing tests are updated to reflect stricter checks.

Copy link
Member

@dguijo dguijo left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@dguijo dguijo left a comment

Choose a reason for hiding this comment

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

Thank you!

@dguijo dguijo merged commit e11084a into main Jul 24, 2025
9 checks passed
@angelsevillamol angelsevillamol deleted the hyperparam-validation branch July 24, 2025 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request module:classifiers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants