XGBoost-Sklearn上的弃用警告 [英] Deprecation warning on XGBoost - Sklearn

查看:0
本文介绍了XGBoost-Sklearn上的弃用警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是XGBoost中的XGBArtifier()。我收到以下不推荐使用的警告。

是否有解决方案可以消除此警告?

/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/sklearn/cross_validation.py:44: DeprecationWarning: 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)

在64 GB CPU机器上运行2小时后,它仍在运行。我不确定花费的时间可能是因为这个弃用警告,还是仅仅是因为数据集的长度。

推荐答案

这只是一个弃用警告。

XGB分类器使用了SCRICKIT-LEARN包的已弃用函数。

最后,如果你的表现很差,情况就不是这样了。此消息与性能无关。

这篇关于XGBoost-Sklearn上的弃用警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆