summaryrefslogtreecommitdiffstats
path: root/data/pair-matching/roc.py
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2012-03-04 02:19:04 -0800
committerThibaut Horel <thibaut.horel@gmail.com>2012-03-04 02:19:04 -0800
commita0651121b5bf29743e19e69dd0421fedb0a8b2fd (patch)
treebddbaddd508f42efde635fc87460cf6639d2045f /data/pair-matching/roc.py
parent2fa61c47c9e93fdc4c4908dd9ee6e7885430e73b (diff)
downloadkinect-a0651121b5bf29743e19e69dd0421fedb0a8b2fd.tar.gz
Some cosmetics changes.
Fix the frame distribution plot, one point was missing also output plots directly in the right directory now
Diffstat (limited to 'data/pair-matching/roc.py')
-rwxr-xr-xdata/pair-matching/roc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/pair-matching/roc.py b/data/pair-matching/roc.py
index dd991b4..c121e97 100755
--- a/data/pair-matching/roc.py
+++ b/data/pair-matching/roc.py
@@ -41,8 +41,8 @@ if __name__ == "__main__":
ap_false = ap[:,1][indices]
ap_true = ap[:,0][indices]
plt.plot(ap_false,ap_true,label="Face recognition")
- plt.xlabel("False positive rate [\%]")
- plt.ylabel("True positive rate [\%]")
+ 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=",")