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. 1What machine learning is
  2. 2Regression basics
  3. 3Classification basics
  4. 4Overfitting and validation
← Machine learning basics

Lesson 2 of 4

Regression basics

Watch, read the card, then practise. Linear regression · MAE, MSE and RMSE

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
  • Linear regression

    Linear regression fits a straight line: prediction = weight × feature + bias.

    Remember: One feature: y = m·x + c. More features: one weight each.

  • MAE, MSE and RMSE

    MAE, MSE and RMSE measure how far predictions are from the real numbers.

    Remember: Lower is better for all three.

Try the example in Code Lab

w, b = 5.0, 40.0          # marks = 5 × hours + 40
hours = 6
print(w * hours + b)
← What machine learning isNext: Classification basics →

In this lesson

  • Linear regression
  • MAE, MSE and RMSE

Practise this topic

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

Practise 5 questions