1 of 16

How do we train a computer to make decisions?

Unit 3, Module 3.3

2 of 16

Feature 1: Body Type

1=circular 2=oval 3=egg 4=wedge 5=triangle

The three fish on your activity sheet have the following body types:

In your activity sheet table, replace the question marks for the Body Type column with the correct body type number.

3 of 16

Feature 2: Tail Fin Types

1=crescent 2=heart 3=hanger

The three fish on your activity sheet have the following tail fin types :

In your activity sheet table, replace the question marks for the Tail Fin column with the correct body type number.

4 of 16

Feature 3: Dorsal Fin Types

1=lens 2=leaf 3=swept_forward 4=swept_back

The three fish on your activity sheet have the following Dorsal Fin types:

In your activity sheet table, replace the question marks for the Dorsal Fin column with the correct Dorsal Fin type number.

5 of 16

Feature 4: Pectoral Fin Types

1=sharp_points 2=curved_points 3=smooth

The three fish on your activity sheet have the following Pectoral Fin Types:

In your activity sheet table, replace the question marks for the Body Type column with the Pectoral Fin Type number.

6 of 16

Feature 5: Body Colors

1=Red

2=Pink

3=Yellow

4=Orange

5=Lime

6=Forest

7=Blue

8=Purple

The three fish on your activity sheet have the following body colors:

In your activity sheet table, replace the question marks for the Body Color column with the correct Body Color number

7 of 16

Feature 6: Fin Colors

1=Red

2=Pink

3=Yellow

4=Orange

5=Lime

6=Forest

7=Blue

8=Purple

The three fish on your activity sheet have the following Fin types:

In your activity sheet table, replace the question marks for the Fin Color column with the correct Fin Color number

8 of 16

What does it feel like to�be a machine learning algorithm?

9 of 16

The human who is training you has provided you two fish, and told you that one lives on a reef, and the other does not.

Use these two fish to develop 5 rules that can decide if a fish lives on a reef or not on a reef.

Non-reef:

Reef:

10 of 16

The human has provided new training data!

Check these new fish with your rules! If a rule that you came up with no longer applies, change the text color to red so that we know not use it anymore.

If all of your rules are red, erase a rule and build a new rule.

Non-reef:

Reef:

11 of 16

Here is another fish! Do your rules still work? Change / add what you need to your table! Remember to mark broken rules in red.

Non-reef:

Reef:

12 of 16

Here is another fish! Do your rules still work? Change / add what you need! Remember to mark broken rules in red.

Non-reef:

Reef:

13 of 16

Here is another fish! Do your rules still work? Change / add what you need! Remember to mark broken rules in red.

Non-reef:

Reef:

14 of 16

Here is the last fish! Do your rules still work? Change / add what you need! Remember to mark broken rules in red.

Non-reef:

Reef:

15 of 16

What was the rule that decided if a fish lived on a reef or not? Fill in the box for part 3.

16 of 16

Turn your rule into a decision tree! For part 4, Double click the drawing to edit it.

Turn your rule into a question, and write it in the rectangle.

Where should the fish live if the answer is yes? Fill in the correct bubble with the correct location.

Where should the fish live if the answer is no? Fill in the correct bubble with the correct location.