Book Image

R Deep Learning Projects

Book Image

R Deep Learning Projects

Overview of this book

R is a popular programming language used by statisticians and mathematicians for statistical analysis, and is popularly used for deep learning. Deep Learning, as we all know, is one of the trending topics today, and is finding practical applications in a lot of domains. This book demonstrates end-to-end implementations of five real-world projects on popular topics in deep learning such as handwritten digit recognition, traffic light detection, fraud detection, text generation, and sentiment analysis. You'll learn how to train effective neural networks in R—including convolutional neural networks, recurrent neural networks, and LSTMs—and apply them in practical scenarios. The book also highlights how neural networks can be trained using GPU capabilities. You will use popular R libraries and packages—such as MXNetR, H2O, deepnet, and more—to implement the projects. By the end of this book, you will have a better understanding of deep learning concepts and techniques and how to use them in a practical setting.
Table of Contents (11 chapters)

Summary


We just accomplished our second computer vision project in this R and deep learning journey! Through this chapter, we got more familiar with convolutional neural networks and their implementation in MXNet, and another powerful deep learning tool: Keras with TensorFlow.

We started with what self-driving cars are and how deep learning techniques are making self-driving cars feasible and more reliable. We also discussed how deep learning stands out and becomes the state-of-the-art solution for object recognition in intelligent vehicles. After exploring the traffic sign dataset, we developed our first CNN model using MXNet and achieved more than 99% accuracy. Then we moved on to another powerful deep learning framework, Keras + TensorFlow, and obtained comparable results.

We introduced the dropout technique to reduce overfitting. We also learned how to deal with lack of training data and utilize data augmentation techniques, including flipping, shifting, and rotation. We finally wrapped...