SlideShare a Scribd company logo
1 of 21
Download to read offline
AI for kids? It’s possible!
Jill-Jênn Vie
@jjvie
13 juin 2017
What is a kid?
Definition
A kid is someone who is younger than I.
What you will see has been tested on real kids!
Girls from 12 to 18 (Girls Can Code! summer schools)
Students in high school (from 17 to 19)
Overview of the French CS curriculum
2012. Spécialité ISN (Informatique et sciences du numérique) en
terminale : validation par projet au baccalauréat
Biology 38% (=) Maths 25% (↑) Physics/Chemistry 22% (↓)
Computer Science 11% (↑)
Source : Laurent Chéno, inspecteur général de mathématiques
Overview of the French CS curriculum: Python
2013. Python en classes préparatoires (remplace Maple)
calcul numérique numpy
bases de données SQLite
2014. Python accepté à l’agrégation de mathématiques
algorithmique
Code instruction for non-scientists
2015. Option ICN (Informatique et création numérique) en seconde:
représentation de l’information
algorithmique / programmation
réseaux et protocoles
(5% of the students (= 27k), in 32% of high schools (= 800))
2016. Option ICN en première/terminale L et ES (!)
(0,46% of the students (= 1.8k), in 6% of high schools (= 151))
Massive instruction for everyone
o/ Scratch au primaire/collège !
Introduction en CM1/CM2/6e
Au programme de technologie et de mathématiques 5e/4e/3e
800k students per level!
2017. Un chapitre entier d’algorithmique dans le programme de
mathématiques de seconde !
Python dans les manuels
AI for kids
Requirements
Should be simple, fun and really extensive
Easy to prepare for us
Activities
1. Sequence generation
2. Bot tournament for simple games
3. Recommender systems (simple classifier)
Sequence generation
Simple structure
Basic rule: noun + verb + complement
Sentence generation, word by word
NO RULES.
Jump from word to word
Music composition
https://trinket.io/music
Machine can output absurd things, but you can improve it by
adding extra constraints.
Bot tournament for games
Inspiration
Context
High school students
Feasible equivalent
15 matches (Nim game)
| | | | | | | | | | | | | | |
Each player can take 1–3 |
Who takes the last | looses
Demo
All Python champions contain a single function def
ia(nb_matches) that returns a number of matches to
withdraw.
Put in a shared folder which is the arena (Samba or DropBox).
python allumette.py 15 jj john
Bot tournament for games
Benefits
Incremental improvement of their champions
Look at other’s source code (like with Scratch)
“I CAN BEAT ANYONE AT THIS GAME”
— Élianor, 12 years old
Movie recommendation
Inspiration
Netflix
Feasible equivalent
like/hate ratings (binary classification)
Collaborative filtering
Sacha ? 5 2 ?
Ondine 4 1 ? 5
Pierre 3 3 1 4
Joëlle 5 ? 2 ?
Collaborative filtering
Sacha 3 5 2 2
Ondine 4 1 4 5
Pierre 3 3 1 4
Joëlle 5 2 2 5
Nearest neighbors
To recommend movies to Alice (see surpriselib.com’s talk yesterday):
Introduce a similarity score between people
Determine 10 people close to Alice
Recommend to Alice what they liked that she did not see
Data
007 Batman 1 Shrek 2 Toy Story 3 Star Wars 4 Twilight 5
Alice + − 0 + 0 −
Bob − 0 + − + +
Charles + + + + − −
Daisy + + 0 0 + −
Everett + − + + − 0
What similarity score can we choose?
Computing the score
007 Batman 1 Shrek 2 Toy Story 3 Star Wars 4 Twilight 5
Alice + − 0 + 0 −
Charles + + + + − −
Score +1 −1 +1 +1
score(Alice, Charles) = 3 + (−1) = 2
007 Batman 1 Shrek 2 Toy Story 3 Star Wars 4 Twilight 5
Alice + − 0 + 0 −
Bob − 0 + − + +
Score −1 −1 -1
score(Alice, Bob) = −3
Alice is closer to Charles than Bob
Similarity score between people
Alice Bob Charles Daisy JJ
Alice 4 −3 2 1 3
Bob −3 5 −3 −1 −2
Charles 2 −3 6 2 3
Daisy 1 −1 2 4 −1
Everett 3 −2 3 −1 5
Who are Alice’s 2 closest neighbors?
Computing predictions
007 Batman 1 Shrek 2 Toy Story 3 Star Wars 4 Twilight 5
Alice + − ? + ? −
Charles + + + + − −
Daisy + + 0 0 + −
Everett + − + + − 0
Knowing her neighbors, how likely Alice will enjoy these movies?
Computing predictions
007 Batman 1 Shrek 2 Toy Story 3 Star Wars 4 Twilight 5
Alice + − + + − −
Charles + + + + − −
Daisy + + 0 0 + −
Everett + − + + − 0
Compute the mean:
prediction(Alice, Star Wars 4) = 0,333. . .
Movie recommendation
Benefits
At least, students learn how to rely on user data to infer
missing entries
AI is not perfect but learns
“Hey what about giving more weight to closest neighbors?”
— Clara, 18 years old
Call for activities!
Please take something
that is everywhere, ex. AlphaGo
or what you’re working on
and try to make a “suitable for kids” version (visual)
Send it to us! tryalgo.org
Thanks!
jill-jenn.net @jjvie jj@mangaki.fr

More Related Content

More from Pôle Systematic Paris-Region

OSIS19_Cloud : Performance and power management in virtualized data centers, ...
OSIS19_Cloud : Performance and power management in virtualized data centers, ...OSIS19_Cloud : Performance and power management in virtualized data centers, ...
OSIS19_Cloud : Performance and power management in virtualized data centers, ...Pôle Systematic Paris-Region
 
OSIS19_Cloud : Des objets dans le cloud, et qui y restent -- L'expérience du ...
OSIS19_Cloud : Des objets dans le cloud, et qui y restent -- L'expérience du ...OSIS19_Cloud : Des objets dans le cloud, et qui y restent -- L'expérience du ...
OSIS19_Cloud : Des objets dans le cloud, et qui y restent -- L'expérience du ...Pôle Systematic Paris-Region
 
OSIS19_Cloud : Attribution automatique de ressources pour micro-services, Alt...
OSIS19_Cloud : Attribution automatique de ressources pour micro-services, Alt...OSIS19_Cloud : Attribution automatique de ressources pour micro-services, Alt...
OSIS19_Cloud : Attribution automatique de ressources pour micro-services, Alt...Pôle Systematic Paris-Region
 
OSIS19_IoT : State of the art in security for embedded systems and IoT, by Pi...
OSIS19_IoT : State of the art in security for embedded systems and IoT, by Pi...OSIS19_IoT : State of the art in security for embedded systems and IoT, by Pi...
OSIS19_IoT : State of the art in security for embedded systems and IoT, by Pi...Pôle Systematic Paris-Region
 
Osis19_IoT: Proof of Pointer Programs with Ownership in SPARK, by Yannick Moy
Osis19_IoT: Proof of Pointer Programs with Ownership in SPARK, by Yannick MoyOsis19_IoT: Proof of Pointer Programs with Ownership in SPARK, by Yannick Moy
Osis19_IoT: Proof of Pointer Programs with Ownership in SPARK, by Yannick MoyPôle Systematic Paris-Region
 
Osis18_Cloud : Virtualisation efficace d’architectures NUMA
Osis18_Cloud : Virtualisation efficace d’architectures NUMAOsis18_Cloud : Virtualisation efficace d’architectures NUMA
Osis18_Cloud : Virtualisation efficace d’architectures NUMAPôle Systematic Paris-Region
 
Osis18_Cloud : DeepTorrent Stockage distribué perenne basé sur Bittorrent
Osis18_Cloud : DeepTorrent Stockage distribué perenne basé sur BittorrentOsis18_Cloud : DeepTorrent Stockage distribué perenne basé sur Bittorrent
Osis18_Cloud : DeepTorrent Stockage distribué perenne basé sur BittorrentPôle Systematic Paris-Region
 
OSIS18_IoT: L'approche machine virtuelle pour les microcontrôleurs, le projet...
OSIS18_IoT: L'approche machine virtuelle pour les microcontrôleurs, le projet...OSIS18_IoT: L'approche machine virtuelle pour les microcontrôleurs, le projet...
OSIS18_IoT: L'approche machine virtuelle pour les microcontrôleurs, le projet...Pôle Systematic Paris-Region
 
OSIS18_IoT: La securite des objets connectes a bas cout avec l'os et riot
OSIS18_IoT: La securite des objets connectes a bas cout avec l'os et riotOSIS18_IoT: La securite des objets connectes a bas cout avec l'os et riot
OSIS18_IoT: La securite des objets connectes a bas cout avec l'os et riotPôle Systematic Paris-Region
 
OSIS18_IoT : Solution de mise au point pour les systemes embarques, par Julio...
OSIS18_IoT : Solution de mise au point pour les systemes embarques, par Julio...OSIS18_IoT : Solution de mise au point pour les systemes embarques, par Julio...
OSIS18_IoT : Solution de mise au point pour les systemes embarques, par Julio...Pôle Systematic Paris-Region
 
OSIS18_IoT : Securisation du reseau des objets connectes, par Nicolas LE SAUZ...
OSIS18_IoT : Securisation du reseau des objets connectes, par Nicolas LE SAUZ...OSIS18_IoT : Securisation du reseau des objets connectes, par Nicolas LE SAUZ...
OSIS18_IoT : Securisation du reseau des objets connectes, par Nicolas LE SAUZ...Pôle Systematic Paris-Region
 
OSIS18_IoT : Ada and SPARK - Defense in Depth for Safe Micro-controller Progr...
OSIS18_IoT : Ada and SPARK - Defense in Depth for Safe Micro-controller Progr...OSIS18_IoT : Ada and SPARK - Defense in Depth for Safe Micro-controller Progr...
OSIS18_IoT : Ada and SPARK - Defense in Depth for Safe Micro-controller Progr...Pôle Systematic Paris-Region
 
OSIS18_IoT : RTEMS pour l'IoT professionnel, par Pierre Ficheux (Smile ECS)
OSIS18_IoT : RTEMS pour l'IoT professionnel, par Pierre Ficheux (Smile ECS)OSIS18_IoT : RTEMS pour l'IoT professionnel, par Pierre Ficheux (Smile ECS)
OSIS18_IoT : RTEMS pour l'IoT professionnel, par Pierre Ficheux (Smile ECS)Pôle Systematic Paris-Region
 
PyParis 2017 / Un mooc python, by thierry parmentelat
PyParis 2017 / Un mooc python, by thierry parmentelatPyParis 2017 / Un mooc python, by thierry parmentelat
PyParis 2017 / Un mooc python, by thierry parmentelatPôle Systematic Paris-Region
 
PyParis2017 / Python pour les enseignants des classes préparatoires, by Olivi...
PyParis2017 / Python pour les enseignants des classes préparatoires, by Olivi...PyParis2017 / Python pour les enseignants des classes préparatoires, by Olivi...
PyParis2017 / Python pour les enseignants des classes préparatoires, by Olivi...Pôle Systematic Paris-Region
 
PyParis 2017 / Unicode and bytes demystified, by Boris Feld
PyParis 2017 / Unicode and bytes demystified, by Boris FeldPyParis 2017 / Unicode and bytes demystified, by Boris Feld
PyParis 2017 / Unicode and bytes demystified, by Boris FeldPôle Systematic Paris-Region
 
Py paris2017 / promises and perils in artificial intelligence, by Andreas Muller
Py paris2017 / promises and perils in artificial intelligence, by Andreas MullerPy paris2017 / promises and perils in artificial intelligence, by Andreas Muller
Py paris2017 / promises and perils in artificial intelligence, by Andreas MullerPôle Systematic Paris-Region
 

More from Pôle Systematic Paris-Region (20)

OSIS19_Cloud : Performance and power management in virtualized data centers, ...
OSIS19_Cloud : Performance and power management in virtualized data centers, ...OSIS19_Cloud : Performance and power management in virtualized data centers, ...
OSIS19_Cloud : Performance and power management in virtualized data centers, ...
 
OSIS19_Cloud : Des objets dans le cloud, et qui y restent -- L'expérience du ...
OSIS19_Cloud : Des objets dans le cloud, et qui y restent -- L'expérience du ...OSIS19_Cloud : Des objets dans le cloud, et qui y restent -- L'expérience du ...
OSIS19_Cloud : Des objets dans le cloud, et qui y restent -- L'expérience du ...
 
OSIS19_Cloud : Attribution automatique de ressources pour micro-services, Alt...
OSIS19_Cloud : Attribution automatique de ressources pour micro-services, Alt...OSIS19_Cloud : Attribution automatique de ressources pour micro-services, Alt...
OSIS19_Cloud : Attribution automatique de ressources pour micro-services, Alt...
 
OSIS19_IoT : State of the art in security for embedded systems and IoT, by Pi...
OSIS19_IoT : State of the art in security for embedded systems and IoT, by Pi...OSIS19_IoT : State of the art in security for embedded systems and IoT, by Pi...
OSIS19_IoT : State of the art in security for embedded systems and IoT, by Pi...
 
Osis19_IoT: Proof of Pointer Programs with Ownership in SPARK, by Yannick Moy
Osis19_IoT: Proof of Pointer Programs with Ownership in SPARK, by Yannick MoyOsis19_IoT: Proof of Pointer Programs with Ownership in SPARK, by Yannick Moy
Osis19_IoT: Proof of Pointer Programs with Ownership in SPARK, by Yannick Moy
 
Osis18_Cloud : Pas de commun sans communauté ?
Osis18_Cloud : Pas de commun sans communauté ?Osis18_Cloud : Pas de commun sans communauté ?
Osis18_Cloud : Pas de commun sans communauté ?
 
Osis18_Cloud : Projet Wolphin
Osis18_Cloud : Projet Wolphin Osis18_Cloud : Projet Wolphin
Osis18_Cloud : Projet Wolphin
 
Osis18_Cloud : Virtualisation efficace d’architectures NUMA
Osis18_Cloud : Virtualisation efficace d’architectures NUMAOsis18_Cloud : Virtualisation efficace d’architectures NUMA
Osis18_Cloud : Virtualisation efficace d’architectures NUMA
 
Osis18_Cloud : DeepTorrent Stockage distribué perenne basé sur Bittorrent
Osis18_Cloud : DeepTorrent Stockage distribué perenne basé sur BittorrentOsis18_Cloud : DeepTorrent Stockage distribué perenne basé sur Bittorrent
Osis18_Cloud : DeepTorrent Stockage distribué perenne basé sur Bittorrent
 
Osis18_Cloud : Software-heritage
Osis18_Cloud : Software-heritageOsis18_Cloud : Software-heritage
Osis18_Cloud : Software-heritage
 
OSIS18_IoT: L'approche machine virtuelle pour les microcontrôleurs, le projet...
OSIS18_IoT: L'approche machine virtuelle pour les microcontrôleurs, le projet...OSIS18_IoT: L'approche machine virtuelle pour les microcontrôleurs, le projet...
OSIS18_IoT: L'approche machine virtuelle pour les microcontrôleurs, le projet...
 
OSIS18_IoT: La securite des objets connectes a bas cout avec l'os et riot
OSIS18_IoT: La securite des objets connectes a bas cout avec l'os et riotOSIS18_IoT: La securite des objets connectes a bas cout avec l'os et riot
OSIS18_IoT: La securite des objets connectes a bas cout avec l'os et riot
 
OSIS18_IoT : Solution de mise au point pour les systemes embarques, par Julio...
OSIS18_IoT : Solution de mise au point pour les systemes embarques, par Julio...OSIS18_IoT : Solution de mise au point pour les systemes embarques, par Julio...
OSIS18_IoT : Solution de mise au point pour les systemes embarques, par Julio...
 
OSIS18_IoT : Securisation du reseau des objets connectes, par Nicolas LE SAUZ...
OSIS18_IoT : Securisation du reseau des objets connectes, par Nicolas LE SAUZ...OSIS18_IoT : Securisation du reseau des objets connectes, par Nicolas LE SAUZ...
OSIS18_IoT : Securisation du reseau des objets connectes, par Nicolas LE SAUZ...
 
OSIS18_IoT : Ada and SPARK - Defense in Depth for Safe Micro-controller Progr...
OSIS18_IoT : Ada and SPARK - Defense in Depth for Safe Micro-controller Progr...OSIS18_IoT : Ada and SPARK - Defense in Depth for Safe Micro-controller Progr...
OSIS18_IoT : Ada and SPARK - Defense in Depth for Safe Micro-controller Progr...
 
OSIS18_IoT : RTEMS pour l'IoT professionnel, par Pierre Ficheux (Smile ECS)
OSIS18_IoT : RTEMS pour l'IoT professionnel, par Pierre Ficheux (Smile ECS)OSIS18_IoT : RTEMS pour l'IoT professionnel, par Pierre Ficheux (Smile ECS)
OSIS18_IoT : RTEMS pour l'IoT professionnel, par Pierre Ficheux (Smile ECS)
 
PyParis 2017 / Un mooc python, by thierry parmentelat
PyParis 2017 / Un mooc python, by thierry parmentelatPyParis 2017 / Un mooc python, by thierry parmentelat
PyParis 2017 / Un mooc python, by thierry parmentelat
 
PyParis2017 / Python pour les enseignants des classes préparatoires, by Olivi...
PyParis2017 / Python pour les enseignants des classes préparatoires, by Olivi...PyParis2017 / Python pour les enseignants des classes préparatoires, by Olivi...
PyParis2017 / Python pour les enseignants des classes préparatoires, by Olivi...
 
PyParis 2017 / Unicode and bytes demystified, by Boris Feld
PyParis 2017 / Unicode and bytes demystified, by Boris FeldPyParis 2017 / Unicode and bytes demystified, by Boris Feld
PyParis 2017 / Unicode and bytes demystified, by Boris Feld
 
Py paris2017 / promises and perils in artificial intelligence, by Andreas Muller
Py paris2017 / promises and perils in artificial intelligence, by Andreas MullerPy paris2017 / promises and perils in artificial intelligence, by Andreas Muller
Py paris2017 / promises and perils in artificial intelligence, by Andreas Muller
 

Recently uploaded

How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfdanishmna97
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireExakis Nelite
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGDSC PJATK
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimaginedpanagenda
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...marcuskenyatta275
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Paige Cruz
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingScyllaDB
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...ScyllaDB
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdfMuhammad Subhan
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!Memoori
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024Lorenzo Miniero
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityVictorSzoltysek
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...panagenda
 
CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)Wonjun Hwang
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)Samir Dash
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxFIDO Alliance
 

Recently uploaded (20)

How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 

PyParis 2017 / AI for kids ? It's possible! Jill-Jênn Vie

  • 1. AI for kids? It’s possible! Jill-Jênn Vie @jjvie 13 juin 2017
  • 2. What is a kid? Definition A kid is someone who is younger than I. What you will see has been tested on real kids! Girls from 12 to 18 (Girls Can Code! summer schools) Students in high school (from 17 to 19)
  • 3. Overview of the French CS curriculum 2012. Spécialité ISN (Informatique et sciences du numérique) en terminale : validation par projet au baccalauréat Biology 38% (=) Maths 25% (↑) Physics/Chemistry 22% (↓) Computer Science 11% (↑) Source : Laurent Chéno, inspecteur général de mathématiques
  • 4. Overview of the French CS curriculum: Python 2013. Python en classes préparatoires (remplace Maple) calcul numérique numpy bases de données SQLite 2014. Python accepté à l’agrégation de mathématiques algorithmique
  • 5. Code instruction for non-scientists 2015. Option ICN (Informatique et création numérique) en seconde: représentation de l’information algorithmique / programmation réseaux et protocoles (5% of the students (= 27k), in 32% of high schools (= 800)) 2016. Option ICN en première/terminale L et ES (!) (0,46% of the students (= 1.8k), in 6% of high schools (= 151))
  • 6. Massive instruction for everyone o/ Scratch au primaire/collège ! Introduction en CM1/CM2/6e Au programme de technologie et de mathématiques 5e/4e/3e 800k students per level! 2017. Un chapitre entier d’algorithmique dans le programme de mathématiques de seconde ! Python dans les manuels
  • 7. AI for kids Requirements Should be simple, fun and really extensive Easy to prepare for us Activities 1. Sequence generation 2. Bot tournament for simple games 3. Recommender systems (simple classifier)
  • 8. Sequence generation Simple structure Basic rule: noun + verb + complement Sentence generation, word by word NO RULES. Jump from word to word Music composition https://trinket.io/music Machine can output absurd things, but you can improve it by adding extra constraints.
  • 9. Bot tournament for games Inspiration Context High school students Feasible equivalent 15 matches (Nim game) | | | | | | | | | | | | | | | Each player can take 1–3 | Who takes the last | looses Demo All Python champions contain a single function def ia(nb_matches) that returns a number of matches to withdraw. Put in a shared folder which is the arena (Samba or DropBox). python allumette.py 15 jj john
  • 10. Bot tournament for games Benefits Incremental improvement of their champions Look at other’s source code (like with Scratch) “I CAN BEAT ANYONE AT THIS GAME” — Élianor, 12 years old
  • 12. Collaborative filtering Sacha ? 5 2 ? Ondine 4 1 ? 5 Pierre 3 3 1 4 Joëlle 5 ? 2 ?
  • 13. Collaborative filtering Sacha 3 5 2 2 Ondine 4 1 4 5 Pierre 3 3 1 4 Joëlle 5 2 2 5
  • 14. Nearest neighbors To recommend movies to Alice (see surpriselib.com’s talk yesterday): Introduce a similarity score between people Determine 10 people close to Alice Recommend to Alice what they liked that she did not see
  • 15. Data 007 Batman 1 Shrek 2 Toy Story 3 Star Wars 4 Twilight 5 Alice + − 0 + 0 − Bob − 0 + − + + Charles + + + + − − Daisy + + 0 0 + − Everett + − + + − 0 What similarity score can we choose?
  • 16. Computing the score 007 Batman 1 Shrek 2 Toy Story 3 Star Wars 4 Twilight 5 Alice + − 0 + 0 − Charles + + + + − − Score +1 −1 +1 +1 score(Alice, Charles) = 3 + (−1) = 2 007 Batman 1 Shrek 2 Toy Story 3 Star Wars 4 Twilight 5 Alice + − 0 + 0 − Bob − 0 + − + + Score −1 −1 -1 score(Alice, Bob) = −3 Alice is closer to Charles than Bob
  • 17. Similarity score between people Alice Bob Charles Daisy JJ Alice 4 −3 2 1 3 Bob −3 5 −3 −1 −2 Charles 2 −3 6 2 3 Daisy 1 −1 2 4 −1 Everett 3 −2 3 −1 5 Who are Alice’s 2 closest neighbors?
  • 18. Computing predictions 007 Batman 1 Shrek 2 Toy Story 3 Star Wars 4 Twilight 5 Alice + − ? + ? − Charles + + + + − − Daisy + + 0 0 + − Everett + − + + − 0 Knowing her neighbors, how likely Alice will enjoy these movies?
  • 19. Computing predictions 007 Batman 1 Shrek 2 Toy Story 3 Star Wars 4 Twilight 5 Alice + − + + − − Charles + + + + − − Daisy + + 0 0 + − Everett + − + + − 0 Compute the mean: prediction(Alice, Star Wars 4) = 0,333. . .
  • 20. Movie recommendation Benefits At least, students learn how to rely on user data to infer missing entries AI is not perfect but learns “Hey what about giving more weight to closest neighbors?” — Clara, 18 years old
  • 21. Call for activities! Please take something that is everywhere, ex. AlphaGo or what you’re working on and try to make a “suitable for kids” version (visual) Send it to us! tryalgo.org Thanks! jill-jenn.net @jjvie jj@mangaki.fr