$$E(m, b) = \sum{\varepsilon(y_i, mx_i+b)}$$