⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@dagimtessema
Copy link

Description

This PR improves the explanation of the "Least-Squares" method in the Linear Regression README.

Motivation

While going through the lesson as a student, I found the existing explanation of why we square the residuals to be a bit brief. I have rephrased it to more clearly explain:

  1. Why we use magnitude instead of direction (avoiding negative values).
  2. The goal of minimizing the final sum to find the "best fit" line.

I believe this version is more accessible to beginners who are encountering the concept for the first time.

Type of change

  • Documentation update (non-breaking change)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant