def eval_acc(results, is_print=False):
    """
    :param results: np.array shape of (N, 2) [pred, label]
    :param is_print: print eval score
    :return: score
    """
    acc = (results[:, 0] == results[:, 1]).sum() / results.shape[0] * 100
    if is_print:
        print('*****************')
        print('ACC   Pos')
        print('{:.2f}  {}'.format(acc, int(results[:, 0].sum())))
        print('*****************')
    return acc