tonniumSign inFree trial

High school and beyond · Artificial intelligence · 2de → 1re · ages 15 to 17

Decision trees: which question to ask first?

Real data and yes-or-no questions: measure how well each question separates the cases, build the tree that classifies best, and see when it learns by heart.

  • ⏱ 20 to 30 min
  • 8 missions
  • 3 levels: discover, understand, go further

The short answer

Which question does a decision tree ask first?

The one that best separates the cases: after the yes or no answer, each group should be as “pure” as possible, that is, made almost entirely of one class. This mix is measured by a number, the Gini impurity, and the question chosen is the one that makes it smallest on average. Then the same is done again, branch by branch.

With the Family plan

  • They understand what they see in class. Every maths and science idea becomes an experiment they get their hands on.
  • They get going on their own. 20 to 30 min: a hint when they get it wrong, the solution only after three tries.
  • You see what they did. Mission by mission, in your parent space.
Try it free for 7 days

No bank card. Afterwards: €6.90 a month, no commitment · or €49 a year

Cancel online at any time, effective at the end of the paid month. Terms of sale

  1. Your account
  2. Your e-mail confirmed
  3. The course, straight away

The plan opens every course: 244 workshops, 114 modules and 49 labs, from age 9 to university level.

See the plans →
The module bench: Decision trees: which question to ask first?

What they will do

  1. 1DiscoverOne question splits the group in two
  2. 2UnderstandMeasuring how pure a branch is
  3. 3Go furtherWhen the tree learns by heart

8 missions to complete, level by level.

Teacher? A free 2-month trial for your class. Write to us

  • Card payment, on Stripe’s secure page
  • No ads, no data sold
  • Data stored in France