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)

Summary

In this section, we learned how to create novel, state-of-the-art intelligent assistants by using word embeddings and ANNs. Word embedding techniques are the cornerstone of AI applications for natural language. They allow us to encode natural language as mathematics that we can feed into downstream models and tasks.

Intelligent agents take these word embeddings and reason over them. They utilize two RNNs, an encoder and a decoder, in what is called a Seq2Seq model. If you cast your mind back to the chapter on recurrent neural networks, the first RNN in the Seq2Seq model encodes the input into a compressed representation, while the second network draws from that compressed representation to deliver sentences. In this way, an intelligent agent learns to respond to a user based on a representation of what it learned during the training process.

In the next chapter, we&apos...