Learn Before
Concept

Least Squares Approach

Simple linear regression commonly uses a least squares approach, where the linear model attempts to minimize the residual distance between the actual points and the predicted line. Consequently, its residual is defined as: ei=yiy^ie_i = y_i -\hat{y}_i

where yiy_i represents the actual ith response value and y^i\hat{y}_i represents the ith response value of the linear model.

Image 0

0

5

Updated 2026-05-02

Tags

Data Science

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences