dask-glm icon indicating copy to clipboard operation
dask-glm copied to clipboard

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

Open stsievert opened this issue 3 years ago • 1 comments

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 avatar Oct 12 '21 01:10 stsievert

I suspect this code is relevant:

https://github.com/dask/dask-glm/blob/1daf4c5de0f44eb9405a40afb5506d4d821d407f/dask_glm/algorithms.py#L358

stsievert avatar Oct 12 '21 01:10 stsievert