GithubHelp home page GithubHelp logo

musemby / mlalgorithms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rushter/mlalgorithms

0.0 1.0 0.0 11.58 MB

Minimal and clean examples of machine learning algorithms

License: MIT License

Python 100.00%

mlalgorithms's Introduction

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:

  • [Deep learning (MLP, CNN, RNN, LSTM)] (mla/neuralnet)
  • [Linear regression, logistic regression] (mla/linear_models.py)
  • [Random Forests] (mla/ensemble/random_forest.py)
  • [SVM with kernels (Linear, Poly, RBF)] (mla/svm)
  • [K-Means] (mla/kmeans.py)
  • [K-nearest neighbors] (mla/knn.py)
  • [Naive bayes] (mla/naive_bayes.py)
  • [PCA] (mla/pca.py)
  • [Factorization machines] (mla/fm.py)
  • [Gradient Boosting trees (also known as GBDT, GBRT, GBM, XGBoost)] (mla/ensemble/gbm.py)

TODO:

  • t-SNE
  • MCMC
  • Word2vec
  • Adaboost
  • HMM
  • Restricted Boltzmann machine

Installation

    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

Contributing

Your contributions are always welcome!

mlalgorithms's People

Contributors

an3bi avatar joeywangjun avatar lucaskolstad avatar nicolashug avatar rushter avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.