Some basic examples to test numpy, matplotlib and pytorch.
- 01-noisy-line : Estimate line parameters using numpy.linalg.lstsq (classical approach using linear algebra)
- 02-noisy-circle : Estimate circle parameters using numpy.linalg.lstsq (same as 01-noisy-line except that linearization is required for non linear equations)
- 03-noisy-circle-gradient : Estimate circle parameters using gradient descent with symbolic differentiation (before testing autograd from pytorch).
- 04-noisy-circle-autograd : Estimate circle parameters using gradient descent with autograd from pytorch.
With uv :
# download dependencies
uv sync
# start jupyter notebook (should open browser)
uv run --with jupyter jupyter lab