From d38ae4b64baf473b0f1b1247d93ef980ebf139f2 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Fri, 24 Jul 2009 12:56:21 +0200 Subject: [PATCH] Fixed a bug in the threshold given in the ROC output. --- data-tool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-tool.cc b/data-tool.cc index bcf19b3..0a2e049 100644 --- a/data-tool.cc +++ b/data-tool.cc @@ -305,7 +305,7 @@ int main(int argc, char **argv) { if(tmp[n].value < tmp[n+1].value) { cout << double(nb_fp)/double(nb_rn) << " " << 1 - double(nb_fn) / double(nb_rp) << " " - << (tmp[n].value + tmp[n+1].value) << " " + << (tmp[n].value + tmp[n+1].value)/2 << " " << endl; } } -- 2.20.1