微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

The default of the `iid` parameter will change from True to False in version 0.22 and will be removed in 0.24

 

from sklearn.model_selection import gridsearchcv
from sklearn.model_selection import train_test_split

Anaconda 3 \lib\site-packages\sklearn\model_selection\_search.py:814:
DeprecationWarning: The default of the `iid` parameter will change from True to False in version 0.22 and will be removed in 0.24.
This will change numeric results when test-set sizes are unequal.  

 https://machinelearningmastery.com/how-to-fix-futurewarning-messages-in-scikit-learn/

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐