Guest User

Untitled

a guest
May 27th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. scaler = dask_ml.preprocessing.MinMaxScaler(feature_range=(0,1))
  2.  
  3. Traceback (most recent call last):
  4. File "<stdin>", line 1, in <module>
  5. AttributeError: module 'dask_ml' has no attribute 'preprocessing'
  6.  
  7. from dask_ml.preprocessing import MinMaxScaler
  8.  
  9. Traceback (most recent call last):
  10. File "<stdin>", line 1, in <module>
  11. File "/var/root/anaconda3/lib/python3.6/site-
  12. packages/dask_ml/preprocessing/__init__.py", line 3, in <module>
  13. from .data import ( # noqa
  14. File "/var/root/anaconda3/lib/python3.6/site-m
  15. packages/dask_ml/preprocessing/data.py", line 158, in <module>
  16. class QuantileTransformer(skdata.QuantileTransformer):
  17. AttributeError: module 'sklearn.preprocessing.data' has no attribute
  18. 'QuantileTransformer'
Add Comment
Please, Sign In to add comment