Skip to content

Latest commit

 

History

History

linear_regression

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Linear regression

Fits a line to noisy 1D data using nn.Linear + MSE + SGD. Plots the fitted line and the loss curve.

Install

From the repo root:

uv pip install -e .[examples]

Run

python examples/linear_regression/main.py