Top Banner
AI, Machine Learning & Deep Learning: cosa cambia By Antonio Spadaro PyCon Italia 2017
28

Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Aug 31, 2018

Download

Documents

phamthuan
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

AI, Machine Learning & Deep Learning: cosa cambiaBy Antonio Spadaro

PyCon Italia 2017

Page 2: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Outline● History of AIs● Introduction to artificial intelligence● Introduction to machine learning● Introduction to deep learning● Understand why use Python● Q&A

Page 3: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Artificial intelligences

Artificial intelligence is a machine that mimics a "cognitive" function of human mind

Page 4: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

The birth of AI: 1956

At the Dartmouth workshop of 1956's, Allen Newell, Herbert A. Simon and Cliff Shaw

debuted with Logic Theorist

Page 5: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

https://goo.gl/W3YUvy

Page 6: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning
Page 7: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Artificial intelligence

Page 8: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Overview

INPUT

AI ALGORITHM

OUTPUT

Page 9: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning
Page 10: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Example: 2048 AI

Page 11: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Machine Learning

Machine learning explores the study and construction of algorithms that can learn from

and make predictions on data

Page 12: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Overview

TRAINING DATA

(UN)SUPERVISED ALGORITHM

MODEL

TEST DATA

MODEL

OUTPUT

TRAIN THE MODEL TEST IT!

Page 13: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Supervised learning

Supervised learning is the Data mining task of inferring a function from labeled training data.

Page 14: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Overview

Page 15: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Unsupervised learning

Unsupervised machine learning is the machine learning task of inferring a function to describe

hidden structure from "unlabeled" data

Page 16: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Overview

Page 17: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning
Page 18: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Neural network

Artificial neural networks are a computational model based on

simple neural units

Page 19: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

ML applications

Page 20: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Pratical example!Pear Apple

Page 21: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Deep learning

Deep learning is a neural network with one or more hidden layers

Page 22: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Pratica example!

VS DOG

CAT

Page 23: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

What does it has to do with Python?

Page 24: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Python is a gold mine for ML

● Python isn’t the fastest but it’s fast!● Python isn’t the easiest but it’s easy!● So, it has the best easiness/speed ratio!● C integration is awesome!● Python ecosystem is fantastic!

Page 25: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Python libraries

Page 26: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

OpenAI Gym

“A toolkit for developing and comparing reinforcement learning algorithms. It supports

teaching agents everything from walking to playing games like Pong or Go”

Page 27: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Some books!

Page 28: Learning: cosa cambia AI, Machine Learning & Deep · Outline History of AIs Introduction to artificial intelligence Introduction to machine learning Introduction to deep learning

Have a good machine learning develop!

@[email protected]

...and now Q&A TIME!