xgboost自定义早期停止功能
XGBoost似乎没有支持自定义早期停止功能。正确的?
此页面 https://xgboost.readthedocs.io readthedocs.io/en/en/latest/python/ callbacks.html 表示XGBoost允许指定自定义的度量标准和rofors_stopping_rounds。
我需要的是自定义早期停止功能,您可以在其中指定度量标准的阈值,例如,当指标高于阈值以上或根据阈值降低时。 tensorflow keras支持这样的回电 httpps:///www.tensorflow.org/guide.orge/guide/keras/custom_custom_custom_caslback < /a>。
谢谢。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
发现此。现在测试它。谢谢。
Found this https://xgboost.readthedocs.io/en/latest/python/examples/callbacks.html#sphx-glr-python-examples-callbacks-py. Testing it now. Thanks.