Book Image

Deep Learning from the Basics

By : Koki Saitoh
5 (1)
Book Image

Deep Learning from the Basics

5 (1)
By: Koki Saitoh

Overview of this book

Deep learning is rapidly becoming the most preferred way of solving data problems. This is thanks, in part, to its huge variety of mathematical algorithms and their ability to find patterns that are otherwise invisible to us. Deep Learning from the Basics begins with a fast-paced introduction to deep learning with Python, its definition, characteristics, and applications. You’ll learn how to use the Python interpreter and the script files in your applications, and utilize NumPy and Matplotlib in your deep learning models. As you progress through the book, you’ll discover backpropagation—an efficient way to calculate the gradients of weight parameters—and study multilayer perceptrons and their limitations, before, finally, implementing a three-layer neural network and calculating multidimensional arrays. By the end of the book, you’ll have the knowledge to apply the relevant technologies in deep learning.
Table of Contents (11 chapters)

From Perceptrons to Neural Networks

A neural network is similar to the perceptron described in the previous chapter in many ways. How a neural network works, as well as how it differs from a perceptron, will be described in this section.

Neural Network Example

Figure 3.1 shows a neural network example. Here, the left column is called an input layer, the right column is called an output layer, and the center column is called the middle layer. The middle layer is also known as a hidden layer. "Hidden" means that the neurons in the hidden layer are invisible (unlike those in the input and output layers). In this book, we'll call the layers layer 0, layer 1, and layer 2 from the input layer to the output layer (layer numbers start from layer 0 because doing so is convenient when the layers are implemented in Python later). In Figure 3.1, layer 0 is the input layer, layer 1 is the middle layer, and layer 2 is the output layer:

Figure 3.1: Neural...