在Python H2O中检索每个时期的损失

发布于 2025-01-19 11:48:31 字数 343 浏览 2 评论 0原文

我想根据 H2O 中的深度分位数回归模型绘制损失与历元图。我正在使用 H2ODeepLearningEstimator,但似乎找不到像 Keras 中那样检索损失的方法。

https://machinelearningmastery.com/display-deep-learning -model-training-history-in-keras/

有人能给我指出正确的方向吗?

I would like to plot a loss vs epoch graph from a deep quantile regression model in H2O. I'm using the H2ODeepLearningEstimator but can't seem to find a way to retrieve the loss like in Keras.

https://machinelearningmastery.com/display-deep-learning-model-training-history-in-keras/

Could somebody please point me in the right direction?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

淡淡離愁欲言轉身 2025-01-26 11:48:31

我相信您正在寻找曲线图。在H2O中,您可以使用model.scoring_history()检索“评分历史记录”数据。

您可以使用score _,例如,score_intervalscore_validation_samples,使用得分_ score _ 来影响评分频率以及用于损失估算的数据量以及用于损失估算的数据量。 ETC。

I believe you are looking for the learning curve plot. In h2o you can retrieve the "scoring history" data using model.scoring_history().

You can influence the frequency of scoring as well as amount of data used for the loss estimate using parameters prefixed with score_, e.g., score_interval, score_validation_samples etc.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文