Book Image

Python Deep Learning Projects

By : Matthew Lamons, Rahul Kumar, Abhishek Nagaraja
Book Image

Python Deep Learning Projects

By: Matthew Lamons, Rahul Kumar, Abhishek Nagaraja

Overview of this book

Deep learning has been gradually revolutionizing every field of artificial intelligence, making application development easier. Python Deep Learning Projects imparts all the knowledge needed to implement complex deep learning projects in the field of computational linguistics and computer vision. Each of these projects is unique, helping you progressively master the subject. You’ll learn how to implement a text classifier system using a recurrent neural network (RNN) model and optimize it to understand the shortcomings you might experience while implementing a simple deep learning system. Similarly, you’ll discover how to develop various projects, including word vector representation, open domain question answering, and building chatbots using seq-to-seq models and language modeling. In addition to this, you’ll cover advanced concepts, such as regularization, gradient clipping, gradient normalization, and bidirectional RNNs, through a series of engaging projects. By the end of this book, you will have gained knowledge to develop your own deep learning systems in a straightforward way and in an efficient way
Table of Contents (17 chapters)
8
Handwritten Digits Classification Using ConvNets

Code implementation

In this exercise, we will be using the Keras deep learning library, which is a high-level neural network API capable of running on top of TensorFlow, Theano, and CNTK.

If you ever have a question related to Keras, refer to this easy-to-understand Keras documentation at https://keras.io.

Please download the Chapter12 folder from GitHub before moving forward with this chapter.

This project involves downloading files from various sources that will be called inside the scripts. To make sure that the Python scripts or the Jupyter Notebook have no issues locating the downloaded files, follow these steps:

  1. Open a Terminal and change your directory by using the cd command in the Chapter12 folder.
  2. Download the FLIC-full data file with the following command:
wget http://vision.grasp.upenn.edu/video/FLIC-full.zip
  1. Unzip the ZIP file with the following command:
unzip...