Neural Networks
Measure the prediction errors
Which miss dominates the second batch?
Botie's predictions include misses in both directions. Averaging signed errors could conceal those mistakes, so the score needs a different treatment.
BOTIE
The inputs we are comparing
Predictions
Example 1
- 01
- 12
- 25
Example 2
- 02
- 16
- 21
Answers
Example 1
- 03
- 12
- 23
Example 2
- 03
- 13
- 23
Result for example 1
2.6667
Three exact predictions and one large miss
This check uses the pieces from “Prevent overestimates from cancelling underestimates”.
BOTIE
- Predictions
- 04
- 14
- 24
- 34
- Answers
- 04
- 14
- 24
- 312
Use a number, text, or an array matching the requested result. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.
Build a construction in the workspace above first. This case will test those pieces.
Why would summing squared errors make comparisons between different batch sizes awkward?
The reduction and its denominator are part of the loss definition.
This is a small construction problem. The lesson explains the assumptions and the parts of the full method that this example leaves out.
Work through the Python challenges →