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
Describe the bug
The linear regression predictions between the cuml and the scikit-learn implementation deviate for certain input values.
Steps/Code to reproduce bug
import numpy as np from sklearn.linear_model import LinearRegression from cuml import LinearRegression as cuLinearRegression npzfile = np.load("lg_cuml_sk_deviation_minimal_example_input.zip") X_train, X_test, y_train, y_test = npzfile = [npzfile[f] for f in npzfile.files] estimator = LinearRegression() estimator.fit(X_train, y_train) sk_predict = estimator.predict(X_test) estimator = cuLinearRegression() estimator.fit(X_train, y_train) cu_predict = estimator.predict(X_test) absolute_deviation = np.sum(np.abs((cu_predict - sk_predict))) print(absolute_deviation)
Expected behavior
The deviation between regression predictions should be below the expected tolerance.
Environment details (please complete the following information):
Additional context
The issue was discovered as part of the extension of tests with hypothesis (#4952).
The text was updated successfully, but these errors were encountered:
Implement test_linear_regression_model_default_generalized as stop-gap.
af41aa2
Until rapidsai#4963 is resolved.
csadorf
No branches or pull requests
Describe the bug
The linear regression predictions between the cuml and the scikit-learn implementation deviate for certain input values.
Steps/Code to reproduce bug
Expected behavior
The deviation between regression predictions should be below the expected tolerance.
Environment details (please complete the following information):
Additional context
The issue was discovered as part of the extension of tests with hypothesis (#4952).
The text was updated successfully, but these errors were encountered: