from sklearn.metrics import roc_auc_score
# 计算面积
roc_area = roc_auc_score(y_train[?, decision_scores)
roc_area
```![![图片描述](http://img1.sycdn.imooc.com//szimg/5c86255500012ae305460495.jpg)](http://img1.sycdn.imooc.com//szimg/5c8625550001d96911150475.jpg)