def sigsim(X, Y, dim):
    """Return the similarity of the two signatures"""
    return float(dim) / sum(map(operator.eq, X, Y))
dataset/ETHPy150Open go2starr/lshhdc/tests/utils.py/sigsim/swapped operands of `/`