Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/297.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 如何使用';预测概率';获得AUC的置信区间?_Python_Machine Learning_Xgboost - Fatal编程技术网

Python 如何使用';预测概率';获得AUC的置信区间?

Python 如何使用';预测概率';获得AUC的置信区间?,python,machine-learning,xgboost,Python,Machine Learning,Xgboost,我使用python获得AUC来评估XGBoost模型的预测性能。我使用“预测概率”获得AUC,但是,我无法获得95%的置信区间。 代码如下: y_pred = XGBoost.predict_proba(testla) fpr,tpr,thresholds=roc\u曲线(y\u测试,y\u pred[:,1]) roc\u auc=auc(fpr,tpr) 如何获得AUC的95%置信区间?您找到解决方案了吗?

我使用python获得AUC来评估XGBoost模型的预测性能。我使用“预测概率”获得AUC,但是,我无法获得95%的置信区间。 代码如下:

y_pred = XGBoost.predict_proba(testla)
fpr,tpr,thresholds=roc\u曲线(y\u测试,y\u pred[:,1])

roc\u auc=auc(fpr,tpr)


如何获得AUC的95%置信区间?

您找到解决方案了吗?