1 of 83

Turbocharge your project

Based Learning with ai

Welcome, Educators!

2 of 83

Who do we have in the room?

-Name

-Role

-What does artificial intelligence make you think of?

3 of 83

4 of 83

Empower underserved groups (especially girls, women) to solve problems in their communities using technology

5 of 83

Diversity in AI/CS

  • Women and minorities are underrepresented in CS/IT/AI/technology
  • Why it matters:
    • Diverse engineering teams create better (and less biased!) products
    • Economic equity: access to stable, high-paying jobs
    • Social justice: underrepresented groups are systemically discouraged from full participation
    • Economic need: underproduction of workers is a national competitive disadvantage

6 of 83

CS and AI are everywhere.

When you think STEM, think CS.

Credit: Marie DesJardins

7 of 83

When You Think CS, Think AI, Machine Learning, Data Science

Credit: Marie DesJardins

8 of 83

9 of 83

Agenda

Activity: Introduction to AI

8:45-9:45

Play with an AI model

Activity: Data + Brainstorm

10:00-11:30

Explore data, create an AI model

Identify a problem you’d like to solve with AI technology

Lunch

11:30-12:00

Activity: Ideation

12:00-1:00

Plan your solution

Activity: Application

1:00-1:45

Scratch extension

Build part of your solution

Activity: Pitch

1:45-2:15

Share ideas

Classroom Connection

2:15-2:30

Possible extensions

Coding program intro

10 of 83

Introduction

to AI

11 of 83

What ai technologies do you use?

12 of 83

Did you think of these?

13 of 83

AI has three basic parts:

Inputs - dataset

Finds patterns with learning algorithm

prediction!

Source: MIT Media Lab

14 of 83

numbers

sound

pictures

text

Banana

Flour

Ice cream

Yogurt

Apple

Avocado

Black beans

Lentils

17

25”

3.444

19%

Finds patterns with learning algorithm

To make predictions

Data can be…

(inputs)

15 of 83

What kind of data does your household create each day via technology?

16 of 83

Every Google search, words you type into emails

Every question you ask Alexa

Connected devices - when you turn on lights, Air conditioner

Taps you make on your cell phone

Anything you purchase online

Who you are connected to on social sites

Songs you listen to

Steps you take

Restaurants you look up

Data you generate...

17 of 83

Example: instagram ai predicts which advertisement you’d like to see

Inputs - dataset

  • Past clicks
  • Brands you follow
  • Words in captions

Finds patterns with learning algorithm

Predicts what advertisement you might click on

Source: MIT Media Lab

18 of 83

Does AI stop at just making a prediction?

Inputs - dataset

Finds patterns with learning algorithm

prediction

Source: MIT Media Lab

19 of 83

AI technologies use predictions to do things

Uses data

(inputs)

Finds patterns with learning algorithm

To make predictions

Source: MIT Media Lab

Actions or decisions

20 of 83

Example: instagram ai decides which advertisement to show you

Inputs - dataset

  • Past clicks
  • Brands you follow
  • Text in captions

Finds patterns with learning algorithm

Predicts what advertisement you might click on

Source: MIT Media Lab

Action - Shows you a 👟 ad from your favorite store

21 of 83

You try: youtube AI...

What inputs or data would AI consider?

Finds patterns with learning algorithm

What is it gathering data to predict?

What actions or decisions can it make?

22 of 83

Train an AI model

To find patterns

machinelearningforkids.co.uk

Click: Get started > Try it now > Copy template > UK Newspaper headlines

Click: Learn and test > Train new model

  1. Visit those websites, get new headlines and test if the model works

Consider: how could we make the model more confident?

to make predictions

Inputs - dataset

Finds patterns with learning algorithm

prediction!

Actions or decisions

23 of 83

You try: change the Newspaper model

1) How can we get this model to make correct decisions with more accuracy?

Let’s do that.

(back to projects, Train)

2) It finds patterns between 4 newspapers.

Let’s change the pattern by adding in another newspaper.

Retrain it and test.

How have we changed its predictions?

Inputs - dataset

Finds patterns with learning algorithm

prediction!

Actions or decisions

24 of 83

How can we tell if something uses ai?

This alarm clock is set to go off every morning at 6:30am.

No AI

Google Maps needs data to predict the best route since it can’t program every route everywhere and uses changing starting/ending points and changing traffic or rail conditions.

AI

25 of 83

Choose your side

26 of 83

Directions

#2 uses AI

#1 uses AI

Which tech uses AI? Choose your side of the room.

27 of 83

Roomba

Vacuum

28 of 83

Hyundai Sonata

Remote control cars

29 of 83

Spell checker

Email text predictor

30 of 83

microwave

Shrimp, jelly, sausage pizza

Warning: This is a trick question ;)

31 of 83

Prosthetic - sensing objects

Prosthetic - responds to user

32 of 83

33 of 83

Big Takeaway: AI technologies make predictions to do things

Uses data

(inputs)

Finds patterns with learning algorithm

To make predictions

Source: MIT Media Lab

Actions or decisions

34 of 83

Agenda

Activity: Introduction to AI

8:45-9:45

Play with an AI model

Activity: Data + Brainstorm

10:00-11:30

Explore data, create an AI model

Identify a problem you’d like to solve with AI technology

Lunch

11:30-12:00

Activity: Ideation

12:00-1:00

Plan your solution

Activity: Application

1:00-1:45

Scratch extension

Build part of your solution

Activity: Pitch

1:45-2:15

Share ideas

Classroom Connection

2:15-2:30

Possible extensions

Coding program intro

35 of 83

Explore

Data

36 of 83

AI uses different types of data to make different predictions

These predictions can lead to different actions or decisions

Your challenge: choose an AI technology that interests you

Answer these questions (you can do research!)

  • What types of data is it using?
  • What patterns might it be programmed to find in the data?
  • What predictions is it making?
  • What actions or decisions does it make based on its predictions?

37 of 83

Data Exploration with tourist tool

Technology with AI can be “narrow” still: It only is good at what it has learned.

Let’s train a model to predict what a tourist should do when visiting Detroit:

OR

38 of 83

🤔 How could you make the dataset better?

39 of 83

Bias in Machine Learning

  • Gender bias: speech recognition,

Google Translate

  • Racial bias: Amazon face recognition, credit modeling
    • “[The] algorithm used a seemingly race-blind metric: how much patients would cost the health-care system in the future. But cost isn’t a race-neutral measure of health-care need.”
  • Collection bias: Disastrous chatbot: Tay
  • Design/algorithmic bias: HireVue
    • Dangers of proprietary, unvalidated ML

Credit: Marie DesJardins

40 of 83

Brainstorm: find a meaningful

problem

41 of 83

ICebreaker

Take as many candies as you “need.”

42 of 83

Icebreaker

For every candy, think of 1 problem - a time you have recently felt frustrated, or angry, or thought about something you would like to improve.

Why is this important to you? What value does it have for you?

43 of 83

Icebreaker

Now take turns: Share with your small group two of your ideas that you’re most interested in or really care about.

One person should record each idea on a sticky note.

44 of 83

Choosing a problem to work on

Now your group has several problems brainstormed.

Let’s see if they point to any problem you would be interested in working on!

Put your idea on hold.

45 of 83

Do these categories help you think of any other related problems or angles?

46 of 83

Some innovation categories

Time to think about solutions! Solutions can:

  • Improve something that already exists
  • Reduce the cost of something that already exists
  • Raise awareness about a problem and help to cause changes in people’s behavior
  • Apply an existing approach to a new situation, or even
  • Invent a completely new solution, technology, or way of doing things

47 of 83

Consider how your problem could be solved with AI

Your brainstormed problem and solution

Answer these questions about your possible solution

  • What types of data will it use?
  • What patterns might it be programmed to find in the data?
  • What predictions will it make?
  • What actions or decisions will it make based on its predictions?

**Remember: You can work on solving a piece of a problem with your invention

48 of 83

Inspiration - past problems chosen:

  • An invasive species is taking over a lake
  • Danger of drowning in unsupervised pools
  • People brushing teeth for too little time
  • Recognizing child abuse
  • Parents have trouble understanding what a newborn needs (from their cry)
  • And many more!

49 of 83

choose ~2 problems to keep in mind

What you care about or love

What the world or community needs

Problems that can be solved with AI

Sweet spot

50 of 83

Agenda

Activity: Introduction to AI

8:45-9:45

Play with an AI model

Activity: Data + Brainstorm

10:00-11:30

Explore data, create an AI model

Identify a problem you’d like to solve with AI technology

Lunch

11:30-12:00

Activity: Ideation

12:00-1:00

Plan your solution

Activity: Application

1:00-1:45

Scratch extension

Build part of your solution

Activity: Pitch

1:45-2:15

Share ideas

Classroom Connection

2:15-2:30

Possible extensions

Coding program intro

51 of 83

Agenda

Activity: Introduction to AI

8:45-9:45

Play with an AI model

Activity: Data + Brainstorm

10:00-11:30

Explore data, create an AI model

Identify a problem you’d like to solve with AI technology

Lunch

11:30-12:00

Activity: Ideation

12:00-1:00

Plan your solution

Activity: Application

1:00-1:45

Scratch extension

Build part of your solution

Activity: Pitch

1:45-2:15

Share ideas

Classroom Connection

2:15-2:30

Possible extensions

Coding program intro

52 of 83

How to start planning a solution

  • An invasive species is taking over a lake
  • Danger of drowning in unsupervised pools
  • People brushing teeth for too little time
  • Recognizing depression
  • Parents have trouble understanding a newborn’s cries

Pick one. How can you use ML to start creating a solution?

What data could you use to train your model?

  • Want some help? Use this dataset to make a model that predicts flood severity

http://tiny.cc/technovationresa

53 of 83

Research your

idea

54 of 83

Researching to refine your problem

Find statistics about the problem online

  • Are there multiple places this problem occurs?
  • How many people are impacted?
  • Are there other organizations or companies addressing the problem you can learn from?

Create a survey to collect information from people in your community

Identify an expert you’d like to interview. Create a diagram of what you know and what you want to know. Then, write out the questions you want to ask them.

Identify 2 competitors and think about how your idea is different

55 of 83

Plan your

invention

56 of 83

This family drew a paper prototype.

After watching the video, can you begin to answer:

  • How would a person use their invention?
  • What different parts does invention have?

57 of 83

A paper prototype is a hand-drawn model of your invention.

It's a plan that shows the different parts of your idea, how your invention will work and move, and what materials you need.

  1. Draw your paper prototype

58 of 83

  • How will your invention gather or use data to make decisions?
  • What decisions will your invention make?
  • What actions do you want your invention to take?

2. Answer these questions to make your plan more complete.

59 of 83

  • How will your invention look and act?
  • What will it do?
  • Who will use it?
  • Does it need special materials?
    • If you build an invention that takes actions outside of your computer... You might also need additional materials. These could be sensors + Raspberry Pi, Microbit or Arduino or other materials like LEDs or buzzers (if you want your invention to take actions)
    • If your invention just works on your computer or phone, you might not need any other materials

3. Plan it out

60 of 83

Agenda

Activity: Introduction to AI

8:45-9:45

Play with an AI model

Activity: Data + Brainstorm

10:00-11:30

Explore data, create an AI model

Identify a problem you’d like to solve with AI technology

Lunch

11:30-12:00

Activity: Ideation

12:00-1:00

Plan your solution

Activity: Application

1:00-1:45

Scratch extension

Build part of your solution

Activity: Pitch

1:45-2:15

Share ideas

Classroom Connection

2:15-2:30

Possible extensions

Coding program intro

61 of 83

Make your own

ai model

62 of 83

Machinelearningforkids.co.uk

Add a new project

You can use number or text data w/out an account. For images and sound I have student logins.

Create a model that makes predictions

View video: http://tiny.cc/wayneresa

63 of 83

Connecting Scratch!

64 of 83

Level of experience with scratch

How would you rate yourself on a scale of 1-10?

  • Discuss options for Scratch (or other coding)

65 of 83

Example

Air Quality Alert Model on ML4K

  • Images for testing - alert, alert, clear, clear
  • Chatbot to respond, app to recognize and label.

66 of 83

Agenda

Activity: Introduction to AI

8:45-9:45

Play with an AI model

Activity: Data + Brainstorm

10:00-11:30

Explore data, create an AI model

Identify a problem you’d like to solve with AI technology

Lunch

11:30-12:00

Activity: Ideation

12:00-1:00

Plan your solution

Activity: Application

1:00-1:45

Scratch extension

Build part of your solution

Activity: Pitch

1:45-2:15

Share ideas

Classroom Connection

2:15-2:30

Possible extensions

Coding program intro

67 of 83

The

Pitch

68 of 83

Presentations

What is your problem? How would you like to solve it?

Share your ML Model

  • What was the goal?
  • Were you able to do anything in Scratch?
  • What do you want to do next?

69 of 83

Agenda

Activity: Introduction to AI

8:45-9:45

Play with an AI model

Activity: Data + Brainstorm

10:00-11:30

Explore data, create an AI model

Identify a problem you’d like to solve with AI technology

Lunch

11:30-12:00

Activity: Ideation

12:00-1:00

Plan your solution

Activity: Application

1:00-1:45

Scratch extension

Build part of your solution

Activity: Pitch

1:45-2:15

Share ideas

Classroom Connection

2:15-2:30

Possible extensions

Coding program intro

70 of 83

Where to go

From here

71 of 83

Educators Can…

  • Provide “launch” or inspirational experiences, not “weeder” courses
  • Connect learning with tech to real life
  • Encourage learning from failure. Debugging and figuring out learning on your own is hard. Failure is ok!
  • Provide opportunities for students to collaborate in their learning
    • …while including assessments to measure individual learning and performance
  • Teach the students who are least like you, not just those who are most like you
    • (Not many of them will become CS educators…)

72 of 83

Educators can…

  • Teach about the positive and negative impacts of technology
  • Talk to students about ethics and professional responsibility
  • Guide students to be resilient and solution-oriented
  • Help students to learn to communicate and work with people who think differently than they do, or are from a different background

Credit: Marie DesJardins

73 of 83

Try it out

Sign up for a free mentor account on https://curiositymachine.org/ to use or remix full curriculum.

Includes opportunity to include hardware if desired.

What sort of settings are you interested to try it in?

74 of 83

Technovation Girls equips young women ages 10-18 with the skills to become tech entrepreneurs and leaders. With support from volunteer mentors, girls work in teams to code mobile apps that address real-world challenges that impact them.

75 of 83

Thank you! before you go...

1. Which part(s) of the program increased your understanding of AI significantly? Write 2:

⃞ Introduction to AI ⃞ Ideation ⃞ Make a Model ⃞ Other

2. What surprised you the most after taking this session?

3. How might what you learned today influence your future plans or intentions?

4. How many people do you think you might try AI with this spring or next fall?

___ Students this spring ___ Parents this spring ___ Students in the fall ___ Parents in the fall

76 of 83

appendix

77 of 83

What decisions does your invention make?

Some inventions make a single decision. Others make many more!

Think about what decisions your invention makes.

Example: Weed Puller makes a few decisions before pulling anything from the ground

Is this a plant or not?

  • Yes it’s a plant
  • No, its something else (like a rock)

If something is a plant, it decides if the plant is a weed

  • Yes, it’s a weed
  • No, it’s a different kind of plant

78 of 83

What are all the actions it could take?

Inventions make decisions to help them decide what actions to take.

Example: Weed Puller acts in the following ways:

  • If something is not a plant, then leave it alone and move on.
  • If something is a plant, then decide whether it is a weed.
  • If the plant is not a weed, then leave the plant alone and move on.
  • If the plant is a weed, then pull the plant.

Hint: You can use if...then statements to match the decisions with the actions

Hint: What do you think are fair actions for your invention to take? Can you program those actions?

79 of 83

Does your invention make decisions about people?

If yes, could your invention’s decisions hurt people or groups?

Either way, have you talked about your invention with your community or the people you’re trying to help?

80 of 83

How will your invention gather representative data?

Imagine if the Weed Puller has a dataset of images of weeds found only in Canada.

What if we want to use it in Mexico?

It might not work because it was not trained to recognize weeds found in Mexico.

Data is representative when it reflects the characteristics of the population on which the invention is being used.

If your data is not representative, the invention might make mistakes.

81 of 83

What if your invention makes a mistake?

If the Weed Puller made a mistake and decided that a good plant was a weed, it would pull out the good plant. Imagine going to the garden and seeing all the tomato plants pulled out and the weeds still in the ground!

For your invention, think about if you could reduce the risk of harm by...

  • Finding a more representative dataset
  • Changing your invention’s actions based on how sure the invention is of its decision
  • Keeping your invention’s decisions private and sharing the decision only with the people who absolutely need to know it

82 of 83

Example: Google Maps ai finds “Best” routes to take

Inputs - dataset

  • Current location
  • Destination
  • Mode (walk, car, bike, public transport)
  • Traffic

Finds patterns with learning algorithm

Predicts what path is best to get you to your destination fastest

Source: MIT Media Lab

83 of 83

Example: Google Maps ai Finds “Best” routes to take

Action - Shows you

the best route(s)

Inputs - dataset

  • Current location
  • Destination
  • Mode (walk, car, bike, public transport)
  • Traffic

Finds patterns with learning algorithm

Predicts what path is best to get you to your destination fastest