mirror of
https://github.com/fastai/fastbook.git
synced 2025-04-04 01:40:44 +00:00
04_mnist_basics: MSE lacks .sqrt() (#327)
This commit is contained in:
parent
9455f8f058
commit
665c238467
@ -3013,7 +3013,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def mse(preds, targets): return ((preds-targets)**2).mean()"
|
||||
"def mse(preds, targets): return ((preds-targets)**2).mean().sqrt()"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user