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
dask_ml.linear_model.LinearRegression doesn't work for 1e7 elements (while it works for size = 1e6):
from sklearn.pipeline import make_pipeline from dask_ml.preprocessing import StandardScaler from dask_ml.linear_model import LinearRegression size = 1e7 X = dask.array.arange(2*size).reshape(-1,2) y = dask.array.arange(size).reshape(-1,1) reg = make_pipeline(StandardScaler(), LinearRegression()) reg.fit(X, y)
sklearn.linear_model.LinearRegression works well for the same case:
from sklearn.pipeline import make_pipeline #from dask_ml.preprocessing import StandardScaler #from dask_ml.linear_model import LinearRegression from sklearn.linear_model import LinearRegression from sklearn.preprocessing import StandardScaler size = 1e7 X = dask.array.arange(2*size).reshape(-1,2) y = dask.array.arange(size).reshape(-1,1) reg = make_pipeline(StandardScaler(), LinearRegression()) reg.fit(X, y)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
dask_ml.linear_model.LinearRegression doesn't work for 1e7 elements (while it works for size = 1e6):
sklearn.linear_model.LinearRegression works well for the same case:
The text was updated successfully, but these errors were encountered: