[英]How to calculate confidence interval in h2o4gpu XGBClassifier?
With GPU h2o, I get the following output from a prediction:使用 GPU h2o,我从预测中得到以下 output:
model.predict(data)
False
I am looking for something similar to the CPU version where the output is:我正在寻找类似于 output 的 CPU 版本:
model.predict(data)
predict False True
False 0.316711 0.683289
I want to view the confidence interval of the prediction for GPU h2o.我想查看 GPU h2o 预测的置信区间。 What do I need to do?我需要做什么?
I figured out the issue.我弄清楚了这个问题。 h2o4gpu uses the same structure as scikit-learn. h2o4gpu 使用与 scikit-learn 相同的结构。 i changed predict to predict_proba(data) and probabilities were returned我将 predict 更改为 predict_proba(data) 并返回了概率
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.