R Deep Learning Cookbook

Powerful, independent recipes to build deep learning models in different application areas using R libraries
Preview in Mapt

R Deep Learning Cookbook

Dr. PKS Prakash, Achyutuni Sri Krishna Rao

Powerful, independent recipes to build deep learning models in different application areas using R libraries
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


R Deep Learning Cookbook Book Cover
R Deep Learning Cookbook
$ 35.99
$ 25.20
Mastering Machine Learning with R - Second Edition Book Cover
Mastering Machine Learning with R - Second Edition
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $40.98
Add to Cart

Book Details

ISBN 139781787121089
Paperback288 pages

Book Description

Deep Learning is the next big thing. It is a part of machine learning. It's favorable results in applications with huge and complex data is remarkable. Simultaneously, R programming language is very popular amongst the data miners and statisticians.

This book will help you to get through the problems that you face during the execution of different tasks and Understand hacks in deep learning, neural networks, and advanced machine learning techniques. It will also take you through complex deep learning algorithms and various deep learning packages and libraries in R. It will be starting with different packages in Deep Learning to neural networks and structures. You will also encounter the applications in text mining and processing along with a comparison between CPU and GPU performance.

By the end of the book, you will have a logical understanding of Deep learning and different deep learning packages to have the most appropriate solutions for your problems.

Table of Contents

Chapter 1: Getting Started
Introduction
Installing R with an IDE
Installing a Jupyter Notebook application
Starting with the basics of machine learning in R
Setting up deep learning tools/packages in R
Installing MXNet in R
Installing TensorFlow in R
Installing H2O in R
Installing all three packages at once using Docker
Chapter 2: Deep Learning with R
Starting with logistic regression
Introducing the dataset
Performing logistic regression using H2O
Performing logistic regression using TensorFlow
Visualizing TensorFlow graphs
Starting with multilayer perceptrons
Setting up a neural network using H2O
Tuning hyper-parameters using grid searches in H2O
Setting up a neural network using MXNet
Setting up a neural network using TensorFlow
Chapter 3: Convolution Neural Network
Introduction
Downloading and configuring an image dataset
Learning the architecture of a CNN classifier
Using functions to initialize weights and biases
Using functions to create a new convolution layer
Using functions to create a new convolution layer
Using functions to flatten the densely connected layer
Defining placeholder variables
Creating the first convolution layer
Creating the second convolution layer
Flattening the second convolution layer
Creating the first fully connected layer
Applying dropout to the first fully connected layer
Creating the second fully connected layer with dropout
Applying softmax activation to obtain a predicted class
Defining the cost function used for optimization
Performing gradient descent cost optimization
Executing the graph in a TensorFlow session
Evaluating the performance on test data
Chapter 4: Data Representation Using Autoencoders
Introduction
Setting up autoencoders
Data normalization
Setting up a regularized autoencoder
Fine-tuning the parameters of the autoencoder
Setting up stacked autoencoders
Setting up denoising autoencoders
Building and comparing stochastic encoders and decoders
Learning manifolds from autoencoders
Evaluating the sparse decomposition
Chapter 5: Generative Models in Deep Learning
Comparing principal component analysis with the Restricted Boltzmann machine
Setting up a Restricted Boltzmann machine for Bernoulli distribution input
Training a Restricted Boltzmann machine
Backward or reconstruction phase of RBM
Understanding the contrastive divergence of the reconstruction
Initializing and starting a new TensorFlow session
Evaluating the output from an RBM
Setting up a Restricted Boltzmann machine for Collaborative Filtering
Performing a full run of training an RBM
Setting up a Deep Belief Network
Implementing a feed-forward backpropagation Neural Network
Setting up a Deep Restricted Boltzmann Machine
Chapter 6: Recurrent Neural Networks
Setting up a basic Recurrent Neural Network
Setting up a bidirectional RNN model
Setting up a deep RNN model
Setting up a Long short-term memory based sequence model
Chapter 7: Reinforcement Learning
Introduction
Setting up a Markov Decision Process
Performing model-based learning
Performing model-free learning
Chapter 8: Application of Deep Learning in Text Mining
Performing preprocessing of textual data and extraction of sentiments
Analyzing documents using tf-idf
Performing sentiment prediction using LSTM network
Application using text2vec examples
Chapter 9: Application of Deep Learning to Signal processing
Introducing and preprocessing music MIDI files
Building an RBM model
Generating new music notes
Chapter 10: Transfer Learning
Introduction
Illustrating the use of a pretrained model
Setting up the Transfer Learning model
Building an image classification model
Training a deep learning model on a GPU
Comparing performance using CPU and GPU

What You Will Learn

  • Build deep learning models in different application areas using TensorFlow, H2O, and MXnet.
  • Analyzing a Deep boltzmann machine
  • Setting up and Analysing Deep belief networks
  • Building supervised model using various machine learning algorithms
  • Set up variants of basic convolution function
  • Represent data using Autoencoders.
  • Explore generative models available in Deep Learning.
  • Discover sequence modeling using Recurrent nets
  • Learn fundamentals of Reinforcement Leaning
  • Learn the steps involved in applying Deep Learning in text mining
  • Explore application of deep learning in signal processing
  • Utilize Transfer learning for utilizing pre-trained model
  • Train a deep learning model on a GPU

Authors

Table of Contents

Chapter 1: Getting Started
Introduction
Installing R with an IDE
Installing a Jupyter Notebook application
Starting with the basics of machine learning in R
Setting up deep learning tools/packages in R
Installing MXNet in R
Installing TensorFlow in R
Installing H2O in R
Installing all three packages at once using Docker
Chapter 2: Deep Learning with R
Starting with logistic regression
Introducing the dataset
Performing logistic regression using H2O
Performing logistic regression using TensorFlow
Visualizing TensorFlow graphs
Starting with multilayer perceptrons
Setting up a neural network using H2O
Tuning hyper-parameters using grid searches in H2O
Setting up a neural network using MXNet
Setting up a neural network using TensorFlow
Chapter 3: Convolution Neural Network
Introduction
Downloading and configuring an image dataset
Learning the architecture of a CNN classifier
Using functions to initialize weights and biases
Using functions to create a new convolution layer
Using functions to create a new convolution layer
Using functions to flatten the densely connected layer
Defining placeholder variables
Creating the first convolution layer
Creating the second convolution layer
Flattening the second convolution layer
Creating the first fully connected layer
Applying dropout to the first fully connected layer
Creating the second fully connected layer with dropout
Applying softmax activation to obtain a predicted class
Defining the cost function used for optimization
Performing gradient descent cost optimization
Executing the graph in a TensorFlow session
Evaluating the performance on test data
Chapter 4: Data Representation Using Autoencoders
Introduction
Setting up autoencoders
Data normalization
Setting up a regularized autoencoder
Fine-tuning the parameters of the autoencoder
Setting up stacked autoencoders
Setting up denoising autoencoders
Building and comparing stochastic encoders and decoders
Learning manifolds from autoencoders
Evaluating the sparse decomposition
Chapter 5: Generative Models in Deep Learning
Comparing principal component analysis with the Restricted Boltzmann machine
Setting up a Restricted Boltzmann machine for Bernoulli distribution input
Training a Restricted Boltzmann machine
Backward or reconstruction phase of RBM
Understanding the contrastive divergence of the reconstruction
Initializing and starting a new TensorFlow session
Evaluating the output from an RBM
Setting up a Restricted Boltzmann machine for Collaborative Filtering
Performing a full run of training an RBM
Setting up a Deep Belief Network
Implementing a feed-forward backpropagation Neural Network
Setting up a Deep Restricted Boltzmann Machine
Chapter 6: Recurrent Neural Networks
Setting up a basic Recurrent Neural Network
Setting up a bidirectional RNN model
Setting up a deep RNN model
Setting up a Long short-term memory based sequence model
Chapter 7: Reinforcement Learning
Introduction
Setting up a Markov Decision Process
Performing model-based learning
Performing model-free learning
Chapter 8: Application of Deep Learning in Text Mining
Performing preprocessing of textual data and extraction of sentiments
Analyzing documents using tf-idf
Performing sentiment prediction using LSTM network
Application using text2vec examples
Chapter 9: Application of Deep Learning to Signal processing
Introducing and preprocessing music MIDI files
Building an RBM model
Generating new music notes
Chapter 10: Transfer Learning
Introduction
Illustrating the use of a pretrained model
Setting up the Transfer Learning model
Building an image classification model
Training a deep learning model on a GPU
Comparing performance using CPU and GPU

Book Details

ISBN 139781787121089
Paperback288 pages
Read More

Read More Reviews

Recommended for You

Mastering Machine Learning with R - Second Edition Book Cover
Mastering Machine Learning with R - Second Edition
$ 39.99
$ 28.00
Neural Networks with R Book Cover
Neural Networks with R
$ 31.99
$ 22.40
R: Predictive Analysis Book Cover
R: Predictive Analysis
$ 71.99
$ 50.40
Statistics for Machine Learning Book Cover
Statistics for Machine Learning
$ 39.99
$ 28.00
Deep Learning with Keras Book Cover
Deep Learning with Keras
$ 39.99
$ 28.00
Hands-On Deep Learning with TensorFlow Book Cover
Hands-On Deep Learning with TensorFlow
$ 27.99
$ 19.60