I am using scikit-learn's **roc_auc_score() **to compute AUC-ROC score. But this function is giving error : *ValueError: Found input variables with inconsistent numbers of samples: [2666, 10]*

Here is my code:

roc_auc_score(self.data.labels,self.predictions)