From cfb442f4408658a4678e695fa798f18964940048 Mon Sep 17 00:00:00 2001 From: Dagim Tessema <50804190+dagimtessema@users.noreply.github.com> Date: Sat, 7 Feb 2026 15:59:09 +0300 Subject: [PATCH] docs: manual formatting fix --- 2-Regression/3-Linear/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2-Regression/3-Linear/README.md b/2-Regression/3-Linear/README.md index 338e5001b..ce84f7139 100644 --- a/2-Regression/3-Linear/README.md +++ b/2-Regression/3-Linear/README.md @@ -47,9 +47,9 @@ It is typical of **Least-Squares Regression** to draw this type of line. The ter We square these distances for two main reasons: - 1.**Magnitude over Direction:** We want to treat an error of -5 the same as an error of +5. Squaring turns all values positive. +1. **Magnitude over Direction:** We want to treat an error of -5 the same as an error of +5. Squaring turns all values positive. - 2.**Penalizing Outliers:** Squaring gives more weight to larger errors, forcing the line to stay closer to points that are far away. +2. **Penalizing Outliers:** Squaring gives more weight to larger errors, forcing the line to stay closer to points that are far away. We then add all these squared values together. Our goal is to find the specific line where this final sum is at its least (the smallest possible value)—hence the name "Least-Squares".