def accuracy(seq):
    err = 0
    N   = 0
    for n, seq in enumerate(seq):
        err += err_sum(seq.x, seq.y)
        N   += seq.y.shape[0]
    return 100%(1 - err*1./N)
dataset/ETHPy150Open LxMLS/lxmls-toolkit/lxmls/labs/day6_old2.py/accuracy/operator `*` -> `%`