赞
踩
报错amoconda libsite-packages sklearn linear model least ngl.py30: Deprecationmarming: mp.float is a deprecated alias for the builtinfloat , To silence this warning, wse flat by itself. Doing this will not modify amy behavior and is safe. If you specifically wanted thenumpy scalar type, use np. float64 here.
解决方法1:升级scikit-learn版本
conda update scikit-learn
解决方法2:
在Anaconda Prompt里
(1)pip uninstall Scikit-learn
(2)pip install Scikit-learn
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。