Skip to content

Minimal and clean examples of machine learning algorithms implementations

License

Notifications You must be signed in to change notification settings

rushter/MLAlgorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

035e489 · Jan 31, 2022
Aug 20, 2020
May 29, 2020
Jan 30, 2022
Jan 25, 2019
Mar 13, 2019
Nov 23, 2016
Jan 1, 2020
Nov 15, 2016
Oct 10, 2019
Aug 20, 2020
Aug 25, 2019
Nov 14, 2016

Repository files navigation

Machine learning algorithms

A collection of minimal and clean implementations of machine learning algorithms.

Why?

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.

Implemented:

Installation

        git clone https://github.com/rushter/MLAlgorithms
        cd MLAlgorithms
        pip install scipy numpy
        python setup.py develop

How to run examples without installation

        cd MLAlgorithms
        python -m examples.linear_models

How to run examples within Docker

        cd MLAlgorithms
        docker build -t mlalgorithms .
        docker run --rm -it mlalgorithms bash
        python -m examples.linear_models

Contributing

Your 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.