def _sum_squared_error_cost(self, y, y_val):
        errors = (y_val - y)
        return (errors**2).sum() / 2.0
dataset/ETHPy150Open rasbt/mlxtend/mlxtend/classifier/adaline.py/Adaline._sum_squared_error_cost/swapped operands of `-`