News for hackers. Stuff that matters.
Re:Why squared error? (2014) by dschiptsov on Thursday November 24, 2016 @02:54PM (#13032378)
To make it positive and to amplify it (as a side-effect).

BTW, "error" is a misleading term - it communicates some fault, at least in the common sense. Distance would be much better term.

So, "squared distance" makes much more sense, because negative distance is nonsense.

Re:Why squared error? (2014) by tonyedgecombe on Thursday November 24, 2016 @02:59PM (#13032406)
Well it will only amplify values > 1.
Re:Why squared error? (2014) by esrauch on Thursday November 24, 2016 @03:15PM (#13032494)
That's not correct. Even though the magnitudes of the value in isolation shrinks, the relative magnitudes are still amplified which is what matters.

Consider values 1/2 and 1/4: in the original space it's double but in the squared space it becomes 1/4 and 1/16 so the difference is 4x. Also relevantly if you compare eg 0.9 and 1, the gap between them is amplified after squaring.

Re:Why squared error? (2014) by tonyedgecombe on Friday November 25, 2016 @05:15AM (#13035619)
Those values aren't compared individually, they are summed to calculate the deviation, the result of that sum will be reduced if the values are < 1.
Re:Why squared error? (2014) by klodolph on Thursday November 24, 2016 @03:18PM (#13032507)
That's a compelling case for why we should not use "distance", because distance cannot be negative, but the error term can.

Just look at bog-standard linear regressions, say Y_i = m X_i + b + ε_i. It makes no sense to call the ε_i terms "distance".