成功解决This module was deprecated in version 0.18 in favor of the model_selection module into which all

目录

解决问题

解决思路

解决办法


解决问题

This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
  "This module will be removed in 0.20.", DeprecationWarning)

解决思路

这个模块是0.18版本不支持的model_selection模块的所有类和函数的重构移动。还要注意,新的CV迭代器的接口与此模块的接口不同。此模块将在0.20中删除。本模块将被删除,deprecationwarning)0.20。

很清楚,是版本问题,升级导致的不兼容!

解决办法

将机器学习库的cross_validation 改为model_selection即可!

大功告成!

成功解决This module was deprecated in version 0.18 in favor of the model_selection module into which all相关推荐

  1. 成功解决sklearn\grid_search.py:42: DeprecationWarning: This module was deprecated in version 0.18 in fav

    成功解决sklearn\grid_search.py:42: DeprecationWarning: This module was deprecated in version 0.18 in fav ...

  2. 成功解决sklearn\cross_validation.py:41: DeprecationWarning: This module was deprecated in version 0.18 i

    成功解决sklearn\cross_validation.py:41: DeprecationWarning: This module was deprecated in version 0.18 i ...

  3. 成功解决Future Warning: The sklearn.neighbors.dist_metrics module is deprecated in version 0.22 and wil

    成功解决Future Warning: The sklearn.neighbors.dist_metrics module is deprecated in version 0.22 and wil ...

  4. 成功解决torch.cuda.CudaError: CUDA driver version is insufficient for CUDA runtime version (35) [ WARN:0

    成功解决torch.cuda.CudaError: CUDA driver version is insufficient for CUDA runtime version (35) [ WARN:0 ...

  5. 成功解决ERROR: Could not find a version that satisfies the requirement xgboost (from versions: none) ERR

    成功解决ERROR: Could not find a version that satisfies the requirement xgboost (from versions: none) ERR ...

  6. 成功解决 安装pywin32时出现python version 3.6-32 required, which was not found in the registry

    成功解决 安装pywin32时出现python version 3.6-32 required, which was not found in the registry 目录 解决问题 解决方法 解决 ...

  7. 成功解决​​​​​​​安装pywin32时出现python version 3.6 required, which was not found in the registry

    成功解决安装pywin32时出现python version 3.6 required, which was not found in the registry 目录 解决问题 解决方法 第一步,打开 ...

  8. 成功解决FutureWarning: reshape is deprecated and will raise in a subsequent release. Please use .values.

    成功解决FutureWarning: reshape is deprecated and will raise in a subsequent release. Please use .values. ...

  9. 成功解决r2_score函数输出值始终为0的情况

    成功解决r2_score函数输出值始终为0的情况 目录 解决问题 解决方法 解决问题 r2_score函数输出值始终为0 解决方法 将 r2_score(test_y, test_predict) 改 ...

最新文章

  1. Django连接数据mysql
  2. 干货 | 神经网络与深度学习精选文章汇总
  3. 01.cluster模块综述
  4. Linux下安装VMware Tools 的方法
  5. discuz x2.5插件开发傻瓜图文教程,用demo说话
  6. MapReduce寻找共同好友
  7. 代码组织和部署 文件操作 node.js 1
  8. 【声传播】——球面波的反射
  9. shell---字体颜色
  10. iis7部署WCF服务应用程序
  11. 在这个520特别的日子里,分享几个用的上的Python代码
  12. DTC标准故障码格式解析
  13. 联想e470c怎么修改电脑语言,联想电脑语言切换不了怎么办
  14. C语言练习之输入x输出y
  15. matlab中求极值extr,extr.m · A.Star算法组/snowland-itd-matlab - Gitee.com
  16. Pinbox 一款极简主义风格的网络收藏夹
  17. 介绍一下ROS常用的命令<rosnode和rostopic实操>(一)
  18. openCV读入图片,openGL实现纹理贴图
  19. 计算机国际会议 2017,2017计算机辅助设计与图形学国际会议(CAD/Graphics 2017)在张家界召开...
  20. 基于java的CRM客户关系管理系统的设计和实现

热门文章

  1. eplan导出部件汇总表_干货分享:西门子产品数据表导入到博途和EPLAN应用举例...
  2. pytorch 模型可视化_PyTorch Tips(FLOPs计算/参数量/计算图可视化/相关性分析)
  3. 两个点击事件共用一个方法_杭州淘宝直播代运营:一个简单的方法,提升直播间封面图点击率!...
  4. ubuntu下安装Thinkpad指纹识别系统
  5. 不使用三方包时,如何在ThinkSNS中建立优雅的用户权限管理
  6. 【转】多语言的正则表达式,我们应该掌握
  7. shell脚本(查看多台服务器端口)
  8. 生产者/消费者模式(阻塞队列)
  9. JS使png背景图片透明
  10. 太难了~面试官让我结合案例讲讲自己对Spring事务传播行为的理解!