Softmax Regression using TensorFlow

Note: This article has also featured on geeksforgeeks.org . This article discusses the basics of Softmax Regression and its implementation in Python using TensorFlow library. What is Softmax Regression? Softmax regression (or multinomial logistic regression) is a generalization of logistic regression to the case where we want to handle multiple classes. A gentle introduction to […]

Continue reading


Introduction to TensorFlow

Note: This article has also featured on geeksforgeeks.org . This article is a brief introduction to TensorFlow library using Python programming language. Introduction TensorFlow is an open-source software library. TensorFlow was originally developed by researchers and engineers working on the Google Brain Team within Google’s Machine Intelligence research organization for the purposes of conducting machine […]

Continue reading


Calibrating a Projection Matrix for Path of Exile

This post is part of a series on creating a bot for the game Path of Exile © (PoE). In this post, techniques for updating the internal representation of the world given a static image of the game are explored. A difficulty involved in having a robot interact with visual input, is that image data […]

Continue reading


How to install NVIDIA CUDA 8.0, cuDNN 5.1, Tensorflow, and Keras on Ubuntu 16.04

Please follow the instructions below and you will be rewarded with Keras with Tenserflow backend and, most importantly, GPU support. Step 1. Linux Update apt repositories and install the linux -image-extra-virtual package. This package includes the kernel module that’s required by the NVIDIA drivers. sudo apt-get update sudo apt-get install -y linux-image-extra-virtual Install the version of the headers that matches the freshly installed […]

Continue reading


Tensorflow Programs and Tutorials

This repository did some toy experiments based on Tensorflow (a popular machine learning framework), in order to introduce some deep learning concepts which are used for image recognition and language modeling. I summarized them into three parts, they are: Convolutional Neural Network for handwritten digits recognition LSTM-based character level sequence to sequence generation Question pair […]

Continue reading


Deep Learning with Dynamic Computation Graphs

ABSTRACT Batch processing of dynamic graphs is a very common technique for a variety of applications, such as computer vision and natural language processing. However, due to the varieties of type and shapes between distinct data, batch processing with a static graph over such dataset is almost impossible with current frameworks and libraries. In this […]

Continue reading


CNN KeRas (TensorFlow) Example with Cifar10 & Quick CNN in Theano

We will use cifar10 dataset from Toronto Uni for another Keras example. We used this dataset for another CNN model with more detailed process here. You can find more details on Valentino Zocca, Gianmario Spacagna, Daniel Slater’s book Python Deep Learning. ###the cifar10 dataset is comprised of 10 classes of objects: airplanes, automobiles, ###birds, cats, […]

Continue reading


DNN and CNN of Keras with MNIST Data in Python

We talked about some examples of CNN application with KeRas for Image Recognition and Quick Example of CNN with KeRas with Iris Data. Actually, TensorFlow itself in Python is mature enough to conduct deep learning activities and KeRas is even faster and more simple to train with than TensorFlow only in deep learning activities. You […]

Continue reading


CNN Model of Image Detection in Keras (TensorFlow) in Python3

This article covers the basic application of Keras and CNN in Python3, with Sublime text3 and Ipython Notebook as IDE. More details of the following code can be found in Robert Layton’s book here: https://www.goodreads.com/book/show/26019855-learning-data-mining-with-python?from_search=true ###The book above said that we will build a system that will take an image as an input ###and give […]

Continue reading


Keras in Python, Backend TensorFlow, with Iris data to Build Deep Learning Model

We talked about Deep Learning Modeling in TensorFlow in Python&R: https://charleshsliao.wordpress.com/2017/06/06/rnn-in-tensorflow-in-pythonr-with-mnist/ We also mentioned Keras application in R: https://charleshsliao.wordpress.com/2017/04/24/cnndnn-of-keras-in-r-backend-tensorflow-for-mnist/ This article covers the basic application of Keras and TensorFlow in Python3, with Sublime text3 and Ipython Notebook as IDE. More details of the following code can be found in Robert Layton’s book here: https://www.goodreads.com/book/show/26019855-learning-data-mining-with-python?from_search=true ###This […]

Continue reading