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

Recap – The general AI framework/Blueprint

Let's recap the whole AI Blueprint, so that you can print it out and put it on your wall.

Step 1: Building the environment

  • Step 1-1: Introducing and initializing all the parameters and variables of the environment.
  • Step 1-2: Making a method that updates the environment right after the AI plays an action.
  • Step 1-3: Making a method that resets the environment.
  • Step 1-4: Making a method that gives us at any time the current state, the last reward obtained, and whether the game is over.

Step 2: Building the brain

  • Step 2-1: Building the input layer composed of the input states.
  • Step 2-2: Building the hidden layers with a chosen number of these layers and neurons inside each, fully connected to the input layer and between each other.
  • Step 2-3: Building the output layer, fully connected to the last hidden layer.
  • Step 2-4: Assembling the full architecture inside a model...