Minimal and clean examples of machine learning algorithms implementations
Minimal and clean examples of machine learning algorithms implementations
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.
git clone https://github.com/rushter/MLAlgorithms
cd MLAlgorithms
pip install scipy numpy
python setup.py develop cd MLAlgorithms
python -m examples.linear_models cd MLAlgorithms
docker build -t mlalgorithms .
docker run --rm -it mlalgorithms bash
python -m examples.linear_modelsYour contributions are always welcome!
Feel free to improve existing code, documentation or implement new algorithm.
Please open an issue to propose your changes if they are big enough.
Typo in filename
Project dependencies may have API risk issues
I would like to implement GANs
do you have examples for Factorization machines
may you share example for MLAlgorithms/mla/fm.py
Decision Tree Algorithm
ImportError : No module name mla
PCA: the calculation of proportion of vairance
Implement Gradient
Import by filename not supported