Exemple #1
0
def sk_auc(x, y, reorder=False):
    x = x.flatten()
    y = y.flatten()
    if reorder:
        idx = np.argsort(x, kind='stable')
        x = x[idx]
        y = y[idx]
    return _sk_auc(x, y)
Exemple #2
0
def sk_auc(x, y):
    x = x.flatten()
    y = y.flatten()
    return _sk_auc(x, y)