SkyAICampus
HomePracticeLearnCode LabFocus
SkyAICampus
PrivacyTermssupport@skyaicampus.com© 2026 SkyAI Campus
Log inSign up

Learn

HomePracticeConcept cardsCode LabSky Tutor

Review

Revise todayMistake notebookProgress

Focus

Campus ForestFocus roomsSquads

Questions or feedback?
support@skyaicampus.com

  1. 1Trees and ensembles
  2. 2Feature engineering
  3. 3Unsupervised learning
  4. 4Model evaluation
← Machine learning: intermediate and advanced

Lesson 1 of 4

Trees and ensembles

Watch, read the card, then practise. Decision trees · Random forests · Gradient boosting

Video coming soon

The video for this lesson is being recorded.

Meanwhile, the notes below and the 60-second cards cover the same ideas.

Practise this topic
  • Decision trees

    A decision tree predicts by asking yes/no questions about the features until it reaches an answer (a leaf).

    Remember: Limit max_depth, or the tree will memorise the training data.

  • Random forests

    A random forest trains many decision trees on random samples and combines their votes.

    Remember: Many varied trees beat one deep tree.

  • Gradient boosting

    Gradient boosting adds trees one at a time, each one fixing the errors left by the trees before it.

    Remember: Use early stopping on a validation set to pick the number of trees.

Try the example in Code Lab

shares = [0.8, 0.2]          # 8 'yes', 2 'no'
print(round(1 - sum(s * s for s in shares), 2))
Next: Feature engineering →

In this lesson

  • Decision trees
  • Random forests
  • Gradient boosting

Practise this topic

5 questions at your level. The best way to make it stick.

Practise 5 questions