SkyAICampus
HomePracticeLearnCode LabFocus

Learn

HomePracticeConcept cardsCode LabSky Tutor

Review

Revise todayMistake notebookProgress

Focus

Campus ForestFocus roomsSquads

Questions or feedback?
support@skyaicampus.com

Keyboard shortcuts

  • Choose an answer1–4 or A–D
  • Check, then next questionEnter
  • Next hintH
  • Search cardsCtrl K

How this quiz adapts

3 fast right answers in a row: the next questions get harder. 2 wrong in a row: a little easier.

Hints and guesses still count, just a little less, so use them whenever you're stuck.

Sky Tutor

Stuck on an idea? Ask in your own words, or by voice.

Ask Sky Tutor
SkyAICampus
PrivacyTermssupport@skyaicampus.com© 2026 SkyAI Campus

New skill. A one-minute read first, then the question.

60-second card

Linear regression

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

  • The weight (slope) says how much the prediction changes per unit of the feature.
  • The bias (intercept) is the prediction when the feature is 0.
  • Training picks the line with the smallest squared errors.
w, b = 5.0, 40.0          # marks = 5 × hours + 40
hours = 6
print(w * hours + b)

Prints

70.0

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

Common mistake: Trusting the line far outside the data you trained on.

Log inSign up