Skip to content

Commit

Permalink
Add comment discussing RMSE in BKPA example.
Browse files Browse the repository at this point in the history
  • Loading branch information
breuderink committed May 19, 2021
1 parent fc86584 commit 198e135
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/example_KPA_regression.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ int main() {
observe(&loss, error * error);
}

// Display performance.
// Display root mean squared error of predictions. It should be slightly
// above zero, due to initial mistakes and the epsilon-insensitive hinge
// loss used for training.
printf("RMSE: %.3f.\n", sqrtf(mean(&loss)));
}

0 comments on commit 198e135

Please sign in to comment.