/finch

More Than 50 Machine Learning Models based on TensorFlow / PyTorch (Keep Updating)

Primary LanguageJupyter Notebook

ucl-logo

Work in process, and there will be more models in the future ...

You are more than welcome to send an email to me (zhedongzheng@outlook.com) in English / Chinese for any suggestion or question, I will try my best to answer as soon as I see it.

Installation

First get the project folder

git clone https://github.com/zhedongzheng/finch.git

Then run the test file that you are interested in

python xxxx_test.py

The main dependence is:

Other Language Support

中文

Style of My Code

Other deep learning projects on GitHub usually have several scripts such as train.py, model.py, main.py and so on. However, personally I'd like to integrate all the functionalities into a single model with fit() and predict() interfaces (scikit-learn API style), and then write separate test files for different incoming data. All the code below follow this kind of convention.

Contents

Machine Learning

Linear Model

  • TensorFlow   |   Linear Regression     Model     Test   |  

  • TensorFlow   |   Logistic Regression     Model     Test   |  

  • Java   |   Logistic Regression     Model     Test   |  

Support Vector Machine

  • TensorFlow   |   Linear SVM Classifier     Model     Test   |  

  • Java   |   Linear SVM Classifier     Model     Test   |  

  • Libsvm   |   Non-linear SVM Classifier     Model     Test   |  

Ensemble

  • NumPy   |   Bagging Classifier     Model     Test   |  

  • NumPy   |   Adaboost Classifier     Pseudocode     Model     Test   |  

  • NumPy   |   Random Forest Classifier     Model     Test   |  

Decomposition

  • TensorFlow   |   Non-negative Matrix Factorization     Model     MovieLens Test   |  

Deep Learning

Multilayer Perceptron

Convolutional Network

Recurrent Network

Autoencoder

Highway Network

  • TensorFlow   |   MLP Highway Classifier     Model     MNIST Test   |  

  • TensorFlow   |   Conv1D Highway Classifier     Model     IMDB Test   |  

Generative Adversarial Network

  • TensorFlow   |   MLP GAN     Model     Test   |   MLP Conditional GAN     Model     Test   |  

  • TensorFlow   |   DCGAN     MNIST     Model     Test   |  

Natural Language Processing

Text Preprocessing

Language Model

Text Classification

Text Generation

  • Python   |   2nd order Markov Model     Robert Frost Test   |  

  • TensorFlow   |   Char-RNN     Model     Test   |  

  • TensorFlow   |   CNN-RNN     Model     Test   |  

Sequence Labelling

Machine Translation

  • TensorFlow   |   Dynamic Seq2Seq     Model     Test   |   Dynamic Seq2Seq (Bi-directional Encoder)     Model     Test   |  

Computer Vision

OpenCV