Skip to content

Commit

Permalink
change cv reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoisot committed Oct 16, 2023
1 parent d5c75cd commit 34ee605
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/crossvalidate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ end

function sm(f, M::Vector{ConfusionMatrix})
v = f.(M)
m = round(mean(v); digits=2)
m = round(mean(v); digits=4)
s = round(std(v); digits=1)
return "$(m)±$(s)"
return "$(m)"
end

function sm(f, M::ConfusionMatrix)
v = f(M)
m = round(v; digits=2)
m = round(v; digits=4)
return "$(m)"
end

0 comments on commit 34ee605

Please sign in to comment.