-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
DOC Scale data before using k-neighbours regression (fixes #31200) #31201
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. Since we now use custom estimator names, let's not use class names anymore.
Also, could you please fix the linting problems (use the formatters) as instructed in the automated comment above?
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @5nizza. These suggestions should fix the failing CI, but I strongly recommend using pre-commit to format your files before commiting:
conda install pre-commit
Fixes #31200
by basically replacing
KNeigboursRegressor(......)
withmake_pipeline(StandardScaler(), KNeigboursRegressor(......))