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 |
|---|
| K-Means Lloyd's k-means in NumPy, from a loop version to a vectorized one, with first-k and k-means++ initialization, empty clusters, a stopping rule and tests. |
| Gaussian Mixtures and EM A Gaussian mixture fit with EM in NumPy, from densities that underflow to log-space responsibilities with Cholesky, covariance regularization, a stopping rule and tests. |