Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed VOC metric

  • Loading branch information...
commit f8951ede581e5b0a92b23c2b6705e7b1e186323d 1 parent 1dd6ad0
@clementfarabet authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ConfusionMatrix.lua
View
2  ConfusionMatrix.lua
@@ -59,7 +59,7 @@ function ConfusionMatrix:updateValids()
self.averageValid = self.averageValid + self.valids[t]
nvalids = nvalids + 1
end
- if not sys.isNaN(self.unionvalids[t]) then
+ if not sys.isNaN(self.valids[t]) and not sys.isNaN(self.unionvalids[t]) then
self.averageUnionValid = self.averageUnionValid + self.unionvalids[t]
nunionvalids = nunionvalids + 1
end
Please sign in to comment.
Something went wrong with that request. Please try again.