Browse Source

Update metrics.py

main
BBing 2 years ago
parent
commit
55317ea915
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      utils/metrics.py

+ 1
- 0
utils/metrics.py View File

@@ -1,5 +1,6 @@
import mindspore.numpy as mnp


def RSE(pred, true):
return mnp.sqrt(mnp.sum((true-pred)**2)) / mnp.sqrt(mnp.sum((true-true.mean())**2))



Loading…
Cancel
Save