MLAlgorithms

Minimal and clean examples of machine learning algorithms implementations

What is MLAlgorithms?

Minimal and clean examples of machine learning algorithms implementations

Overview of MLAlgorithms

What it is

A collection of minimal and clean implementations of machine learning algorithms, written in Python using numpy, scipy and autograd. The project is designed for people who want to learn the internals of ML algorithms or implement them from scratch. The code is intentionally kept simple and easy to follow, unlike optimized libraries.

Key features

  • Minimal and clean implementations of a wide range of machine learning algorithms
  • Uses Python with numpy, scipy, and autograd
  • Includes deep learning (MLP, CNN, RNN, LSTM), linear and logistic regression, random forests, SVM with kernels, K-Means, Gaussian Mixture Model, K-nearest neighbors, Naive Bayes, PCA, Factorization machines, RBM, t-SNE, Gradient Boosting trees, and Reinforcement learning (Deep Q learning)
  • Code is structured for readability and educational purposes

Use cases

  • Learning how machine learning algorithms work internally
  • Implementing algorithms from scratch for educational projects
  • Prototyping and experimenting with different ML techniques in a clear codebase

Getting started

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

To run examples without installation:

cd MLAlgorithms
python -m examples.linear_models

To run within Docker:

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

License and pricing

Licensed under the MIT License. Open source and free to use.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/rushtermlalgorithms.svg)](https://yunodb.com/tools/rushtermlalgorithms?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/rushtermlalgorithms?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/rushtermlalgorithms.svg" alt="Featured on YunoDB" height="20"></a>