Skip to content
Minimal and clean examples of machine learning algorithms implementations
Python Dockerfile
Branch: master
Clone or download

Latest commit

rushter Merge pull request #78 from Musketeer-Liu/YutongLiu-Fix
Fix the rbm example via delete unnecessary decode on str Object in ml…
Latest commit 58a8c25 Feb 26, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Minor fixes Aug 25, 2019
mla Add Mode as rt to avoid str Object decoding issue Feb 26, 2020
.gitignore update gitignore Jan 25, 2019
.travis.yml Add accuracy test, travis-ci Nov 16, 2016
AUTHORS Update AUTHORS Mar 13, 2019
Dockerfile add docker configuration (#13) Nov 23, 2016
LICENSE Update copyright Jan 1, 2020
MANIFEST.in fixes and formatting for examples Nov 15, 2016
README.md improved documentation Oct 10, 2019
requirements.txt Remove unused dataset, update requirements Nov 18, 2016
setup.cfg Minor fixes Aug 25, 2019
setup.py Added setup.py for easier installation Nov 14, 2016

README.md

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.

You can’t perform that action at this time.