Skip to content
reforgepath
All labs

Lab · from lesson 01.06

How an AI model learns

From “How an AI model learns”, step: Try it. Open it in the lesson.

LabAdjust one parameter

Manual adjustment

Adjust the weight until the prediction error is zero. Then consider why fitting one house is not enough.

Prediction and actual value on the same scale, 0 to €350,000
Prediction
€100,000
Actual
€200,000
€100,000The prediction is below the actual value by €100,000. Raise the weight.
Prediction = area × weight =
100 × €1,000 = €100,000
Error = absolute(actual − prediction) =
|€200,000 − €100,000| = €100,000

Weight (EUR per unit of area)

Error after each adjustment · 0 adjustments
  1. Start: weight €1,000 per unit of area, error €100,000

Starting error €100,000. Your adjustments will appear here.

You are adjusting the weight by hand. In training, an algorithm makes these adjustments automatically.

IllustrativeOne-parameter educational model, not a real valuation tool.