Book Image

AI Crash Course

By : Hadelin de Ponteves
5 (2)
Book Image

AI Crash Course

5 (2)
By: Hadelin de Ponteves

Overview of this book

Welcome to the Robot World … and start building intelligent software now! Through his best-selling video courses, Hadelin de Ponteves has taught hundreds of thousands of people to write AI software. Now, for the first time, his hands-on, energetic approach is available as a book. Starting with the basics before easing you into more complicated formulas and notation, AI Crash Course gives you everything you need to build AI systems with reinforcement learning and deep learning. Five full working projects put the ideas into action, showing step-by-step how to build intelligent software using the best and easiest tools for AI programming, including Python, TensorFlow, Keras, and PyTorch. AI Crash Course teaches everyone to build an AI to work in their applications. Once you've read this book, you're only limited by your imagination.
Table of Contents (17 chapters)
16
Index

The Maze

You are going to learn how Q-learning works inside a maze. Let's draw our maze right away; here it is:

Figure 1: The Maze

I know, it's the simplest maze you have ever seen. That's important for the sake of simplicity, so that you can mostly focus on how the AI works its magic. Imagine if you got lost in this chapter because of the maze and not because of the AI formulas! The important thing is that you have a clear maze, and you can visualize how the AI might manage to find its way from the beginning to the end.

Speaking of the beginning and the end, imagine a little robot inside this maze, starting at point E (Entrance). Its goal is to find the quickest way to point G (Goal). We humans can figure that out in no time, but that's only because our maze is so simple. What you are going to build is an AI that can go from a starting point to an ending point, regardless of how complex the maze is. Let's get started!

...