We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
LogisticRegression
decision_function
Describe the bug The output shape is incorrect.
Steps/Code to reproduce bug
from sklearn.linear_model import LogisticRegression as skllogitic from sklearn.datasets import make_classification from cuml.linear_model import LogisticRegression def test_logistic_reg(): X, y = make_classification( random_state=3, n_classes=5, n_features=8, n_informative=5 ) reg_skl = skllogitic() reg_skl.fit(X, y) d_skl = reg_skl.decision_function(X) reg = LogisticRegression() reg.fit(X, y) d_cu = reg.decision_function(X) print(d_skl.shape, d_cu.shape) # (100, 5), (5, 100) test_logistic_reg()
Expected behavior The output shape matches the one from sklearn.
Environment details (please complete the following information):
The text was updated successfully, but these errors were encountered:
LogisticRegression.decision_function
jcrist
Successfully merging a pull request may close this issue.
Describe the bug
The output shape is incorrect.
Steps/Code to reproduce bug
Expected behavior
The output shape matches the one from sklearn.
Environment details (please complete the following information):
The text was updated successfully, but these errors were encountered: