summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rwxr-xr-xdata/pair-matching/roc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/pair-matching/roc.py b/data/pair-matching/roc.py
index 46e4d23..dd991b4 100755
--- a/data/pair-matching/roc.py
+++ b/data/pair-matching/roc.py
@@ -40,9 +40,9 @@ if __name__ == "__main__":
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(ap_false,ap_true,label="Face detection")
- plt.xlabel("False positive \%")
- plt.ylabel("True positive \%")
+ plt.plot(ap_false,ap_true,label="Face recognition")
+ plt.xlabel("False positive rate [\%]")
+ plt.ylabel("True positive rate [\%]")
np.random.seed()
std = map(float,sys.argv[2].split(","))
sk_data = np.loadtxt(sys.argv[1],comments="#",delimiter=",")