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)

Convolutional layers

Suppose we have an image recognition program to identify objects in an image, such as the example we referred to previously. Now imagine how hard it would be to try and classify an image with a standard feedforward network; each pixel in the image would be a feature that would have to be sent through the network with its own set of parameters. Our parameter space would be quite large, and we could likely run out of computing power! Images, which in technical terms are just high-dimensional vectors, require some special treatment.

What would happen if we were to try and accomplish this task with a basic feedforward network? Let's recall that basic feedforward networks operate on top of vector spaces. We start with an image, which is made up of independent pixels. Let's say our image is 32 pixels by 32 pixels; the input to our convolutional layer...