ML coding
Machine learning algorithms and model parts written from scratch in NumPy and PyTorch, as ML coding rounds ask.
Machine learning algorithms and model parts written from scratch in NumPy and PyTorch, as ML coding rounds ask.
2 write-ups
| Title |
|---|
| Linear Regression Linear regression in NumPy three ways: gradient descent with loops, vectorized gradient descent, and a closed form with ridge, then lasso by coordinate descent, with tests and the scaling questions. |
| Logistic Regression Logistic regression in NumPy, from loops to a stable vectorized fit with the loss computed from logits, then softmax for many classes, with tests and the versus-neural-network question. |