Book Image

Hands-On Artificial Intelligence for Beginners

By : Patrick D. Smith, David Dindi
Book Image

Hands-On Artificial Intelligence for Beginners

By: Patrick D. Smith, David Dindi

Overview of this book

Virtual Assistants, such as Alexa and Siri, process our requests, Google's cars have started to read addresses, and Amazon's prices and Netflix's recommended videos are decided by AI. Artificial Intelligence is one of the most exciting technologies and is becoming increasingly significant in the modern world. Hands-On Artificial Intelligence for Beginners will teach you what Artificial Intelligence is and how to design and build intelligent applications. This book will teach you to harness packages such as TensorFlow in order to create powerful AI systems. You will begin with reviewing the recent changes in AI and learning how artificial neural networks (ANNs) have enabled more intelligent AI. You'll explore feedforward, recurrent, convolutional, and generative neural networks (FFNNs, RNNs, CNNs, and GNNs), as well as reinforcement learning methods. In the concluding chapters, you'll learn how to implement these methods for a variety of tasks, such as generating text for chatbots, and playing board and video games. By the end of this book, you will be able to understand exactly what you need to consider when optimizing ANNs and how to deploy and maintain AI applications.
Table of Contents (15 chapters)

Pooling layers

Convolutional layers are often intertwined with pooling layers, which down sample the output of the previous convolutional layer in order to decrease the amount of parameters we need to compute. A particular form of these layers, max pooling layers, has become the most widely used variant. In general terms, max pooling layers tell us if a feature was present in the region, the previous convolutional layer was looking at; it looks for the most significant value in a particular region (the maximum value), and utilizes that value as a representation of the region, as shown as follows:

Max pooling layers help subsequent convolutional layers focus on larger sections of the data, providing abstractions of the that help both reduce overfitting and the amount of hyperparameters that we have to learn, ultimately reducing our computational cost. This form of automatic feature...