mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
(FSRS) Improve presentation of log loss and RMSE (#2805)
* (FSRS) Improve presentation of log loss and RMSE The number of decimal places in log loss have been increased from 3 to 4. Can help in better comparison of weights especially when the log loss with both are same up to 3 places of decimal. Also makes it consistent with the Python optimizer. RMSE has been expressed in percent, making it easier to interpret. * Fix formatting --------- Co-authored-by: Damien Elmes <gpg@ankiweb.net>
This commit is contained in:
parent
502e7e3d63
commit
58904dcad8
1 changed files with 3 additions and 5 deletions
|
@ -120,11 +120,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
setTimeout(
|
||||
() =>
|
||||
alert(
|
||||
`Log loss: ${resp.logLoss.toFixed(
|
||||
3,
|
||||
)}, RMSE(bins): ${resp.rmseBins.toFixed(
|
||||
3,
|
||||
)}. ${tr.deckConfigSmallerIsBetter()}`,
|
||||
`Log loss: ${resp.logLoss.toFixed(4)}, RMSE(bins): ${(
|
||||
resp.rmseBins * 100
|
||||
).toFixed(2)}%. ${tr.deckConfigSmallerIsBetter()}`,
|
||||
),
|
||||
200,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue