Skip to content

Measure the errors of the tabular and linear estimates in exercise 21.7 - #51

Merged
dmeoli merged 3 commits into
masterfrom
tests/ex21-7-errors
Dec 2, 2026
Merged

dmeoli merged 3 commits into
masterfrom
tests/ex21-7-errors

Conversation

@dmeoli

@dmeoli dmeoli commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

the test of exercise 21.7 now also measures, as aima-python does, the mean absolute error of the tabular and of the linear DUE estimates w.r.t. the true utilities after 300 trials, and pins the values of this port

world            tabular   linear
10x10, corner     0.026     0.017
10x10, middle     0.021     0.164
4x3               0.041     0.125

the conclusions of the community answer hold

@dmeoli
dmeoli marked this pull request as ready for review December 2, 2026 15:39
@dmeoli
dmeoli merged commit faa69a5 into master Dec 2, 2026
1 check passed
@dmeoli
dmeoli deleted the tests/ex21-7-errors branch December 2, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant