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)
def sk_auc(x, y): x = x.flatten() y = y.flatten() return _sk_auc(x, y)