AI for kids? It s possible!

Similar documents
Barbie The Princess Popstar

E-Candidat (V2) Online application file Applicant s handbook

The Best Apps to Enhance the ICT Capability of Primary Students

How Pixar Tells a Story By Rachel Slivnick 2018

CS371R: Final Exam Dec. 18, 2017

Data Mining Lecture 2: Recommender Systems

Recommender Systems - Introduction. Data Mining Lecture 2: Recommender Systems

Feature Extractors. CS 188: Artificial Intelligence Fall Some (Vague) Biology. The Binary Perceptron. Binary Decision Rule.

Assignment 1 What is a Computer?

Remaining Enhanced Labs

Scratch. Creative Computing

Try typing the following in the Python shell and press return after each calculation. Write the answer the program displays next to the sums below.

Recommendation Systems

Computer Security. 08r. Pre-exam 2 Last-minute Review Cryptography. Paul Krzyzanowski. Rutgers University. Spring 2018

Parent Guide December 2015

Scratch Lesson 2: Movies Made From Scratch Lesson Framework

RECURSION AND LINKED LISTS 3

Unit 9 Tech savvy? Tech support. 1 I have no idea why... Lesson A. A Unscramble the questions. Do you know which battery I should buy?

Lesson 3: Basic Programming Concepts

ProgressTestA Unit 5. Vocabulary. Grammar

Welcome to CS120 Fall 2012

Introduction. What s it for? Versions what to look for. Evidence for using Scratch Research Social and community support Embedding in web sites

Panasonic nv md10000 pdf

Part 11: Collaborative Filtering. Francesco Ricci

Telling a Story Visually. Copyright 2012, Oracle. All rights reserved.

Ce qui est important dans l'enseignement des mathématiques. Marian Small novembre 2017

Fairlawn Primary School ICT / Computing Curriculum 2014

CS102 Unit 2. Sets and Mathematical Formalism Programming Languages and Simple Program Execution

CS 170 Algorithms Fall 2014 David Wagner HW12. Due Dec. 5, 6:00pm

Experimenting with Grammars to Generate L-Systems April 10, Prof. Susan Rodger Computer Science Dept

Image Classification pipeline. Lecture 2-1

Data Science Course Content

Dmitriy Shironosov/ShutterStock, Inc. Abstract Data Types Abstract Data Types

Case-Based Reasoning. CS 188: Artificial Intelligence Fall Nearest-Neighbor Classification. Parametric / Non-parametric.

CS 188: Artificial Intelligence Fall 2008

Image Classification pipeline. Lecture 2-1

Announcements. CS 188: Artificial Intelligence Spring Generative vs. Discriminative. Classification: Feature Vectors. Project 4: due Friday.

CS150 - Assignment 5 Data For Everyone Due: Wednesday Oct. 16, at the beginning of class

Internet applications Browsing

English as a Second Language Podcast ESL Podcast 285 A Movie Collection

Winter 2018 CS134: Computer and Network Security Homework 2 Due: 02/26/18, 11:59pm

Pre Algebra 2. Student Goals. Curriculum Sample

SUMMER REVIEW PACKET 2 FOR STUDENTS ENTERING ALGEBRA 1

What did we talk about last time? Public key cryptography A little number theory

Shapes: Allowing K-12 Students to Work in 3D

Announcements. CS 188: Artificial Intelligence Spring Classification: Feature Vectors. Classification: Weights. Learning: Binary Perceptron

Computing skills per term ( ) (for full breakdown of computing skills see the computing curriculum in the teacher s shared area)

S3 Scratch Programming

Hour of Code with Swift Playgrounds

Scratch Programming In Easy Steps

Kahoot! for schools Make learning awesome together!

OBJECTIVES. How can I use the phone and to communicate effectively with adults? Phone and Etiquette

COMPUTER ENGINEERING PRE-ENGINEERING SUMMER Nayda G. Santiago Electrical and Computer Engineering Department, June 1, 2009

Math 4. Class work 2. Algebra. Sets.

Welcome to the Computing Curriculum map for Year 2

Tentative Secondary Tech Mod Summer 2012 Software List - MCPS (Subject to Approval)

Welcome to Computers for ESL Students, 4th Edition

CS 188: Artificial Intelligence Fall 2008

Understanding Statistical Questions

Introduction to Data Mining

Laboratory. Abstract Data Types. Objective. References. Gain a deeper appreciation for stacks, queues, and trees.

Inside the World Wide Web Author: Roopa Pai Illustrator: Delwyn Remedios

Autumn 1 Autumn 2. An Introduction to Idsall s Network & esafety. Programming with Scratch. Spring 1 Spring 2

Homework 1. Leaderboard. Read through, submit the default output. Time for questions on Tuesday

I. Historical Person Movie Student pd

Integers and the Coordinate Plane

DATA MINING INTRODUCTION TO CLASSIFICATION USING LINEAR CLASSIFIERS

CS246: Mining Massive Datasets Jure Leskovec, Stanford University

CONDITION CONTROLLED LOOPS. Introduction to Programming - Python

15-780: Problem Set #2

Duplicate and customize an existing kahoot to fit your needs. Launch and host a kahoot game in your class

Distribution-free Predictive Approaches

Feature Extractors. CS 188: Artificial Intelligence Fall Nearest-Neighbor Classification. The Perceptron Update Rule.

COMMAS. (1) Use commas after the parts of a complete address in a sentence.

HTML/CSS Lesson Plans

Spam. Time: five years from now Place: England

pdf manipulation software

Once you see the screen below click on the MESA Dropbox

Football result prediction using simple classification algorithms, a comparison between k-nearest Neighbor and Linear Regression

All Blocks of Scratch

CPSC 340: Machine Learning and Data Mining. Principal Component Analysis Fall 2017

French Grade 8 Instructional Unit French Grade 8 Unit Content Objective Performance Performance Task State Standards

Review Guide: Picasa 3 (beta) and Picasa Web Albums Fast and easy photo sharing from Google

Linear Regression and K-Nearest Neighbors 3/28/18

CS 343: Artificial Intelligence

1:1 ipad Program Yr Apps V 1.2

Production Portfolio Editor

The Grid. User Manual Part I: Getting Started. 1. Getting Started System requirements Installation procedure...

Outline Key Management CS 239 Computer Security February 9, 2004

ICT FAMILIARITY QUESTIONNAIRE FOR PISA 2015

COMMA RULE 1: COMMAS IN A SERIES (ITEMS IN A SERIES)

Problem Set 6: Word Game II Handed out: Saturday, June 17th, DUE: 11:59pm Friday June 22th, 2016

Model Selection Introduction to Machine Learning. Matt Gormley Lecture 4 January 29, 2018

Finding Nemo (Disney/Pixar Finding Nemo) (Read- Aloud Board Book) By RH Disney

Computer Security. 14. Blockchain & Bitcoin. Paul Krzyzanowski. Rutgers University. Spring 2019

Professional MTS and MSMQ Programming with VB and ASP (Wrox Professional Series)

CHAPTER 2: DESCRIPTIVE STATISTICS Lecture Notes for Introductory Statistics 1. Daphne Skipper, Augusta University (2016)

(c) IKSC 2010 Copying allowed for incidental, classroom purposes. Workshop 2: Playing and Staying Safe Online Student Handouts

Bisnode View Why is it so damn hard to piece together information across the enterprise?

Diversity in Recommender Systems Week 2: The Problems. Toni Mikkola, Andy Valjakka, Heng Gui, Wilson Poon

Transcription:

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