AI Crash Course
eBook - ePub

AI Crash Course

A fun and hands-on introduction to reinforcement learning, deep learning, and artificial intelligence with Python

Hadelin de Ponteves

Condividi libro
  1. 360 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

AI Crash Course

A fun and hands-on introduction to reinforcement learning, deep learning, and artificial intelligence with Python

Hadelin de Ponteves

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

Unlock the power of artificial intelligence with top Udemy AI instructor Hadelin de Ponteves.

Key Features

  • Learn from friendly, plain English explanations and practical activities
  • Put ideas into action with 5 hands-on projects that show step-by-step how to build intelligent software
  • Use AI to win classic video games and construct a virtual self-driving car

Book Description

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.

What you will learn

  • Master the basics of AI without any previous experience
  • Build fun projects, including a virtual-self-driving car and a robot warehouse worker
  • Use AI to solve real-world business problems
  • Learn how to code in Python
  • Discover the 5 principles of reinforcement learning
  • Create your own AI toolkit

Who this book is for

If you want to add AI to your skillset, this book is for you. It doesn't require data science or machine learning knowledge. Just maths basics (high school level).

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
AI Crash Course è disponibile online in formato PDF/ePub?
Sì, puoi accedere a AI Crash Course di Hadelin de Ponteves in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Ciencia de la computación e Ciencias computacionales general. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2019
ISBN
9781838645557

11

AI for Business – Minimize Costs with Deep Q-Learning

It's great that you can implement a deep Q-learning model to build a self-driving car. Really, once again, huge congratulations to you for that. But I also want you to be able to use deep Q-learning to solve a real-world business problem. With this next application, you'll be more than ready to add value to your work or business by leveraging AI. Even though we'll once again use a specific application, this chapter will provide you with a general AI framework, a blueprint containing the general steps of the process you have to follow when solving a real-world problem with deep Q-learning. This chapter is very important to you and for your career; I don't want you to close this book before you feel confident with the skills you'll learn here. Let's smash this next application together!

Problem to solve

When I said we were going to solve a real-world business problem, I didn't overstate the problem; the problem we're about to tackle with deep Q-learning is very similar to the following, which was solved in the real world via deep Q-learning.
In 2016, DeepMind AI minimized a big part of Google's yearly costs by reducing the Google Data Center's cooling bill by 40% using their DQN AI model (deep Q-learning). Check the link here:
https://deepmind.com/blog/deepmind-ai-reduces-google-data-centre-cooling-bill-40
In this case study, we'll do something very similar. We'll set up our own server environment, and we'll build an AI that controls the cooling and heating of the server so that it stays in an optimal range of temperatures while using the minimum of energy, therefore minimizing the costs.
Just as the DeepMind AI did, our goal will be to achieve at least 40% energy savings! Are you ready for this? Let's bring it on!
As ever, my first question to you is: What's our first step?
I'm sure by this point I don't need to spell out the answer. Let's get straight to building our environment!

Building the environment

Before we define the states, actions, and rewards, we need to set up the server and explain how it operates. We'll do that in several steps:
  1. First, we'll list all the environment parameters and variables by which the server is controlled.
  2. After that we'll set the essential assumptions of the problem, on which your AI will rely to provide a solution.
  3. Then we'll specify how you'll simulate the whole process.
  4. Finally, we'll explain the overall functioning of the server, and how the AI plays its role.

Parameters and variables of the server environment

Here is a list of all the parameters, which keep their values fixed, of the server environment:
  1. The average atmospheric temperature for each month.
  2. The optimal temperature range of the server, which we'll set as
    .
  3. The minimum temperature, below which the server fails to operate, which we'll set as
    .
  4. The maximum temperature, above which the server fails to operate, which we'll set as
    .
  5. The minimum number of users in the server, which we'll set as 10.
  6. The maximum number of users in the server, which we'll set as 100.
  7. The maximum change of users in the server per minute, which we'll set as 5; so every minute, the server can only have a change of 5 extra users or 5 fewer users at most.
  8. The minimum rate of data transmission in the server, which we'll set as 20.
  9. The maximum rate of data transmission in the server, which we'll set as 300.
  10. The maximum change of the rate of data transmission per minute, which we'll set as 10; so every minute, the rate of data transmission can only change by a maximum value of 10 in either direction.
Next, we'll list all the variables, which have values that fluctuate over time, of the server environment:
  1. The temperature of the server at a given minute.
  2. The number of users connected to the server at a given minute.
  3. The rate of data transmission at a given minute.
  4. The energy spent by the AI onto the server (to cool it down or heat it up) at a given minute.
  5. The energy that would be spent by the server's integrated cooling system to automatically bring the server's temperature back to the optimal range, whenever the server's temperature goes outside this optimal range. This is to keep...

Indice dei contenuti