Why squared? Example 2️⃣
Imagine your pediction for the price of two houses is like this:
🏡 House 1: actual 120K, predicted 100K -> error 20K
🏠 House 2: actual 60K, predicted 80K -> error -20K
If you sum these up the error will be 0, which is obviously wrong...
Imagine your pediction for the price of two houses is like this:
🏡 House 1: actual 120K, predicted 100K -> error 20K
🏠 House 2: actual 60K, predicted 80K -> error -20K
If you sum these up the error will be 0, which is obviously wrong...
For the people that can "think" better in code, here a small Python example for calculating the Mean Square Error. 👨💻
Thanks to @ArpJann for the idea!
Thanks to @ArpJann for the idea!
@layladanero Check out this addition as well for more background on the square:
Loading suggestions...