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)

Testing and maintaining your applications

With either online or offline learning, we should always institute systems and safety checks that will tell us when our model's predictions, or even its critical deployment architecture, are out of whack. By testing, we are referring to the hard-coded checking of inputs, outputs, and errors to ensure that our model is performing as intended. In standard software testing, for every input, there should be a defined output. This becomes difficult in the field of machine learning, where models will have variable outputs depending on a host of factors - not the great for standard testing procedures, is it? In this section, we'll talk about the process of testing machine learning code, and discuss best practices.

Once deployed, AI applications also have to be maintained. DevOps tools like Jenkins can help ensure that tests pass before...