projects
/
data-tool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3201af5
)
Fixed a bug in the threshold given in the ROC output.
author
Francois Fleuret
<francois@fleuret.org>
Fri, 24 Jul 2009 10:56:21 +0000
(12:56 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Fri, 24 Jul 2009 10:56:21 +0000
(12:56 +0200)
data-tool.cc
patch
|
blob
|
history
diff --git
a/data-tool.cc
b/data-tool.cc
index
bcf19b3
..
0a2e049
100644
(file)
--- 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;
}
}