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
IsotonicRegression with 2D input and n_features=1 #15012
Comments
BTW Though supporting 2darray with only |
Right now any |
Unless there are obvious downsides we should probably make this change for consistency, allowing isotonic to take a column vector. |
Agreed |
Hi, can I work on this? |
take |
IsotonicRegression
works only on 1D data, however I think it should not fail when provided a 2D input withn_features=1
.Example
In other words the following example (from the docstring) should work without having to flatten
X
,The text was updated successfully, but these errors were encountered: