'Returns the area under the ROC-curve.
Returns the probability (0.0-1.0) that a classifier will rank
a random positive document (True) higher than a random negative one (False).'

def auc(self, documents=[], k=10):

    return self.confusion_matrix(documents).auc(k)
