summaryrefslogtreecommitdiffstats
path: root/data/pair-matching
diff options
context:
space:
mode:
Diffstat (limited to 'data/pair-matching')
-rwxr-xr-xdata/pair-matching/roc.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/pair-matching/roc.py b/data/pair-matching/roc.py
index c0d7d83..4b26dcb 100755
--- a/data/pair-matching/roc.py
+++ b/data/pair-matching/roc.py
@@ -47,11 +47,11 @@ def gen_pairs(var,sk_data):
if __name__ == "__main__":
plt.figure(figsize=(3,2.2))
- ap = np.loadtxt("associatepredict.txt",delimiter=",")
- indices = [i for i in range(ap.shape[0]) if ap[i,1]<0.1]
- ap_false = ap[:,1][indices]
- ap_true = ap[:,0][indices]
- plt.plot(100*ap_false,100*ap_true,label="Face recognition")
+ #ap = np.loadtxt("associatepredict.txt",delimiter=",")
+ #indices = [i for i in range(ap.shape[0]) if ap[i,1]<0.1]
+ #ap_false = ap[:,1][indices]
+ #ap_true = ap[:,0][indices]
+ #plt.plot(100*ap_false,100*ap_true,label="Face recognition")
plt.xlabel("False positive rate [%]")
plt.ylabel("True positive rate [%]")
np.random.seed()