summaryrefslogtreecommitdiffstats
path: root/data/pair-matching
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2012-02-29 17:27:23 -0800
committerThibaut Horel <thibaut.horel@gmail.com>2012-02-29 17:27:23 -0800
commite0a63f36a76fbfbd3cedca549c96707e2bafde54 (patch)
tree13124011ef9f2b819efacd560a0eb5756e2836e5 /data/pair-matching
parentfff7a0b8c20a3de752cc038e6ae2b784a2f46712 (diff)
downloadkinect-e0a63f36a76fbfbd3cedca549c96707e2bafde54.tar.gz
Correct the axis labels in the ROC curve. Minor change to the uniqueness section.
Diffstat (limited to 'data/pair-matching')
-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=",")