From e0a63f36a76fbfbd3cedca549c96707e2bafde54 Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Wed, 29 Feb 2012 17:27:23 -0800 Subject: Correct the axis labels in the ROC curve. Minor change to the uniqueness section. --- data/pair-matching/roc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data/pair-matching/roc.py') 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=",") -- cgit v1.2.3-70-g09d2