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


Customer Success with Machine Learning (Google Cloud NEXT’17)

TensorFlow is an open-source software library for machine intelligence, and have played an important role in this field since its release in 2015. To-date, more than 8,000 open source projects are using this library. The reason why TensorFlow is so widely used is due to its automatic derivation of functions and distributed computing capability, which […]

Continue reading


RNN in TensorFlow in Python&R, with MNIST

Thought it is more convenient to conduct TensorFlow framework in python, we also talked about how to imply Tensorflow in R here:https://charleshsliao.wordpress.com/tag/tensorflow/ We will talk about how to apply Recurrent neural network in TensorFlow on both of python and R. in R: #1. We load the data library(tensorflow) mnist<-tf$contrib$learn$datasets$mnist$load_mnist(train_dir = “MNIST-data”) #2.Identify Essential Parameters Input<-28L […]

Continue reading


Google I/O 2017: Integrating Everything with AI

Google CEO Sundar Pichai underlined the company’s important shift from Mobile First to AI First at the keynote speech of Google I/O on May 17 at the Shoreline Amphitheatre in Mountain View, California. Typically, Google uses its annual Google I/O Conference to unveil exciting new products and technologies. At the 10th Google I/O, held May […]

Continue reading


Big Picture Machine Learning: Classifying Text with Neural Networks and TensorFlow

In this article, the author discusses the main six topics about creating a machine learning model to classify texts into categories: 1. How TensorFlow works 2. What is a machine learning model 3. What is a Neural Network 4. How the Neural Network learns 5. How to manipulate data and pass it to the Neural […]

Continue reading


A CNN Model with TensorFlow in R with API

We built the simple model in last article, we will build a more sophisticated model with TensorFlow. This article is more like practicing and the code comes from: https://rstudio.github.io/tensorflow/index.html Sys.setenv(TENSORFLOW_PYTHON=”/usr/local/bin/python”) # point to python 2.7 (self-installed, not the default one of OSX) library(tensorflow) ###basically we do the simple MNIST again except that we use interactive […]

Continue reading


A Quick TensorFLow Example with R API

This is an example for MNIST Neural Network model(DNN) with TensorFlow in R with API. Sys.setenv(TENSORFLOW_PYTHON=”/usr/local/bin/python”) # point to python 2.7 (self-installed, not the default one of OSX) library(tensorflow) ###1. load default mnist data datasets<-tf$contrib$learn$datasets mnist<-datasets$mnist$read_data_sets(“MNIST-data”,one_hot=TRUE) #Instead of running a single expensive operation independently from R, #TensorFlow lets us describe a graph of interacting operations […]

Continue reading