samyyc.dev
LOC::Macau, China

..UTC+8

samyyc.dev

-- BPM

Tue Mar 04 2025

Linear Regression

#114

/

samyyc

/

79 words

/

Updated 640 days ago

/

[中文]

Frontend

Data Quantization

Images, 0-255

Data Example: Washing Machine

The relationship between clothing weight and water intake is linear

Trend line: the overall trend of the data

Fitting; learning from data, making effective predictions, and finding the most accurate line is called fitting

The goal of fitting is to find the trend line

Error: absolute-value distance (squaring simplifies the calculation)

Loss function: sum-of-distances function: with respect to w and b

Use partial derivatives to find extrema

Linear regression equation