Skip to content

Conversation

@zschuster
Copy link
Contributor

Reference Issue

N/A

What does this implement/fix? Explain your changes.

Value error in _validate_estimator method of SMOTENC class does not account for zero-based indexing. Subtracting 1 from n_features takes care of this.

@glemaitre glemaitre merged commit fd5341a into scikit-learn-contrib:master Dec 3, 2022
@glemaitre
Copy link
Member

Thanks @zschuster

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.

2 participants