We talked about auto-encoder here and here with R (https://charleshsliao.wordpress.com/2017/04/14/identify-arguments-of-h2o-deep-learning-model-with-tuned-auto-encoder-in-r-with-mnist/). We also talked about the three functions of auto encoder above. This is a pretty standard example used for benchmarking anomaly detection models. We use Python3 and H2O framework to build auto-encoder. More details can be found in Sebastian Raschka's book: https://www.goodreads.com/book/show/25545994-python-machine-learning?ac=1&from_search=true

# Tag: MNIST

## RNN in TensorFlow in Python&R, with MNIST

Though it is more convenient to conduct TensorFlow framework in python, we also talked about how to apply 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. RNN might not be the best algorithm to deal with MNIST but this can be… Continue reading RNN in TensorFlow in Python&R, with MNIST

## 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 The result is not optimal and we can add more iterations to improve the final accuracy.

## A Quick TensorFLow Example with R API

This is an example for MNIST Neural Network model(DNN) with TensorFlow in R with API. Most of the code comes from https://rstudio.github.io/tensorflow/index.html

## Train Deep Learning Model with R Studio in AWS EC2

AWS provides us with approachable GPU based cloud computing capability with minimal cost. We will talk about the steps to take advantage of AWS EC2 to build GPU computing for our model training in R. 1. Register AWS account... 2. Find EC2 service 3. Click "launch instance" and go for this one labeled Free tier… Continue reading Train Deep Learning Model with R Studio in AWS EC2

## CNN/DNN of KeRas in R, Backend Tensorflow, for MNIST

Keras is a library of tensorflow, and they are both developed under python. We can approach to both of the libraries in R after we install the according packages. Of course, we need to install tensorflow and keras at first with terminal (I am using a MAC), and they can function best with python 2.7.… Continue reading CNN/DNN of KeRas in R, Backend Tensorflow, for MNIST

## A H2O FNN Model for MNIST

Please read this first: https://charleshsliao.wordpress.com/2017/04/14/identify-arguments-of-h2o-deep-learning-model-with-tuned-auto-encoder-in-r-with-mnist/ Following the auto encoder results of arguments in last article and a sample FNN model at the end of that article, we can build a full FNN model for MNIST.

## Identify Arguments of H2O Deep Learning Model with Tuned Auto Encoder in R with MNIST

Auto-encode can be trained to learn the deep or hidden features of data. These hidden features may be used on their own, such as to better understand the structure of data, or for other applications. Two common applications of auto-encoders and unsupervised learning are to identify anomalous data (for example, outlier detection, financial fraud) and… Continue reading Identify Arguments of H2O Deep Learning Model with Tuned Auto Encoder in R with MNIST

## Auto encoder with R, MNIST in Deep Learning

Auto-encoders are trained to reproduce or predict the inputs--the hidden layers and neurons are not maps between an input and some other outcome, but are self (auto)-encoding. We can use auto encoders to conduct dimensions reduction, lift overfitting and so on. We will talk about it in the next article. h2o package of R provides… Continue reading Auto encoder with R, MNIST in Deep Learning

## Tune Multi-layer Perceptron (MLP) in R with MNIST

Googled MLP and so many "My Little Ponies" results popped out. LOL. 🙂 Generally speaking, a deep learning model means a neural network model with with more than just one hidden layer. Whether a deep learning model would be successful depends largely on the parameters tuned. Multi-layer Perceptron or MLP provided by R package "RNNS"… Continue reading Tune Multi-layer Perceptron (MLP) in R with MNIST