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
