04_mnist_basics: MSE lacks .sqrt() (#327)
This commit is contained in:
@@ -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()"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user