From 34ee605916f6f3ce912d42fc80e1efca9998fcd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Poisot?= Date: Mon, 16 Oct 2023 11:55:05 -0400 Subject: [PATCH] change cv reporter --- code/crossvalidate.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/crossvalidate.jl b/code/crossvalidate.jl index 7cf8985..ac44b1d 100644 --- a/code/crossvalidate.jl +++ b/code/crossvalidate.jl @@ -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 \ No newline at end of file