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)

Networks for board games

When we talk about creating algorithms for game-playing, we are really talking about creating them for a specific type of game, known as a finite two person zero-sum sequential game. This is really just a fancy way of saying the following:

  • An interactive situation between two independent actors (a game)
  • There are a finite amount of ways in which the two actors can interact with each other at any point
  • The game is zero-sum, meaning that the end state of the game results in a complete win for one of the actors
  • The game is sequential, meaning that the actors make their moves in sequence, one after another

Classic examples of these types of games that we'll cover in this section are Tic Tac Toe, Chess, and the game of Go. Since creating and training an algorithm for a board game such as Go would be an immense task, for time and computation constraint...