← Innovation PlaygroundMISSION 43 / 100 · AI Discovery Studio

Decision tree

A toy fruit classifier: size ≥ 6 → melon; otherwise colour red → apple; else pear.

1. Explore the controls

Change the inputs and observe the model's response.

2. Observe the results

PredictionMelon

How the model works

if size >= 6: melon
else if red: apple
else: pear
YOUR MISSION

3. Reach the target

Adjust the controls to obtain the following output. Multiple valid solutions may exist.

PredictionApple
Need a hint?

First test size, then colour.

Explore, then check your answer.

Simplified educational model. No real hardware is controlled. Code examples are illustrative and not executed as arbitrary programs.