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 4 of 4

Model evaluation

Watch, read the card, then practise. ROC and AUC · Imbalanced data · Hyperparameter tuning

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
  • ROC and AUC

    An ROC curve shows the trade-off between catching positives and raising false alarms, at every threshold.

    Remember: AUC measures ranking, so it doesn't depend on one threshold.

  • Imbalanced data

    When one class is rare, accuracy hides failure. A model can score 99% by never finding the rare case.

    Remember: On rare events, look at recall first.

  • Hyperparameter tuning

    Hyperparameters are settings you choose before training, like tree depth or learning rate. Tuning tries options and keeps the best.

    Remember: Tune on validation, test once at the very end.

Try the example in Code Lab

tp, fn, fp, tn = 45, 5, 20, 80
print(tp / (tp + fn), fp / (fp + tn))
← Unsupervised learning

In this lesson

  • ROC and AUC
  • Imbalanced data
  • Hyperparameter tuning

Practise this topic

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

Practise 5 questions