projects
/
folded-ctf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
automatic commit
[folded-ctf.git]
/
tools.h
diff --git
a/tools.h
b/tools.h
index
99b1ade
..
902879a
100644
(file)
--- a/
tools.h
+++ b/
tools.h
@@
-24,6
+24,9
@@
#include <iostream>
#include "misc.h"
#include <iostream>
#include "misc.h"
+// This function is not trivial because it has to handle numerical
+// pitfalls due to the very large number of samples.
+
scalar_t robust_sampling(int nb, scalar_t *weights, int nb_to_sample, int *sampled);
void print_roc_small_pos(ostream *out,
scalar_t robust_sampling(int nb, scalar_t *weights, int nb_to_sample, int *sampled);
void print_roc_small_pos(ostream *out,