Skip to content
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

Warning on config "optimization.fuse.ave-width" w/ solver="lbfgs" #96

Open
stsievert opened this issue Oct 12, 2021 · 1 comment
Open

Comments

@stsievert
Copy link
Member

What happened:
When I set solver=lbfgs, I get a warning:

/Users/scott/anaconda3/lib/python3.8/site-packages/dask/config.py:588: UserWarning: Configuration key "fuse_ave_width" has been deprecated. Please use "optimization.fuse.ave-width" instead

What you expected to happen:
I did not expect this warning.

Minimal Complete Verifiable Example:

from sklearn.datasets import make_classification
from dask_ml.linear_model import LogisticRegression

X, y = make_classification()
est = LogisticRegression(solver="lbfgs")
est.fit(X, y)

Environment:

  • Dask-ML: 1.9.0
  • Python version: 3.8.8
  • Operating System: macOS
  • Install method (conda, pip, source): ?
@stsievert
Copy link
Member Author

stsievert commented Oct 12, 2021

I suspect this code is relevant:

with dask.config.set(fuse_ave_width=0): # optimizations slows this down

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant