/finch

Applied Machine Learning Models in TensorFlow

Primary LanguageJupyter Notebook

ucl-logo

  • These are the models studied, implemented and tested by me in the past;
  • I used lightweight datasets, so even if you don't have GPU, you can still run these scripts;
  • If you would like to support, please Star the project, many thanks!

Guide

  1. The following command clones all the files (>300MB);
git clone https://github.com/zhedongzheng/finch.git
  1. Use contents to find the model and test that may interest you, click on that test

  1. Find the test file path

  1. run on command line
cd finch/nlp-models/tensorflow
python rnn_attn_estimator_imdb_test.py

Library

Py3 is perferred, but Py2 should also work in theory (if it doesn't please raise an issue)

Style

  • Model is implemented very early, using feed_dict (most common but slowest data pipeline);
  • I am moving towards Estimator, which is based on tf.estimator.Estimator, more efficient;

Contents

NLP

Word Representation

  • Python   |   TF-IDF     Model     Test     Result   |  

  • TensorFlow   |   Skip-Gram     Model     Test   |  

  • TensorFlow   |   CBOW     Model     Test   |  

Topic Modelling

Text Classification

Text Generation

Text Labelling

Sequence to Sequence

Computer Vision

Image Classification

Image Generation

OpenCV

Information Retrieval

Reinforcement Learning

Appendix

Linear Model

  • Java   |   Logistic Regression     Model     Test   |  

  • Java   |   Support Vector Machine     Model     Test   |  

  • TensorFlow   |   Linear Regression     Model     Test   |  

  • TensorFlow   |   Logistic Regression     Model     Test   |  

  • TensorFlow   |   Support Vector Machine     Model     Test   |  

Non-linear Model

Ensemble

Time Series