Machine learning algorithms
A collection of minimal and clean implementations of machine learning algorithms.
This project is targeting people who want to learn internals of ml algorithms or implement them from scratch.
The code is much easier to follow than the optimized libraries and easier to play with.
All algorithms are implemented in Python, using numpy, scipy and autograd.
- Deep learning (MLP, CNN, RNN, LSTM)
- Linear regression, logistic regression
- Random Forests
- SVM with kernels (Linear, Poly, RBF)
- Factorization machines
- Gradient Boosting trees (also known as GBDT, GBRT, GBM, XGBoost)
- Naive bayes
- K-nearest neighbors
git clone https://github.com/rushter/MLAlgorithms cd MLAlgorithms pip install scipy numpy pip install .
How to run examples without installation
cd MLAlgorithms python -m examples.linear_models
Your contributions are always welcome!