#428 · Primary category: Education & Research

numpy-ml

attention bayesian-inference gaussian-mixture-models gaussian-processes good-turing-smoothing gradient-boosting hidden-markov-models knn lstm machine-learning mfcc neural-networks reinforcement-learning resnet topic-modeling vae wavenet wgan-gp word2vec

Machine learning, in numpy

Project last updated:10/29/23

GitHub Stars

16.3K

Forks

3.7K

Contributors

16

License

GPL-3.0

Why we included this project

numpy-ml implements a wide range of machine learning algorithms from scratch, using nothing but NumPy. The code is written to be read rather than to win benchmarks, which makes it a good place to see how a hidden Markov model, a Gaussian mixture, or a transformer-style attention block actually works. Students and engineers brushing up on fundamentals will find it easier to follow than optimized library internals or dense research papers, and it also works as a reference implementation to adapt when prototyping. Coverage runs from classical models like LDA and n-gram smoothing to modern components such as LSTMs, ResNet blocks, and WaveNet-style convolutions.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category