diff options
| author | Jon Whiteaker <jbw@berkeley.edu> | 2012-09-06 16:41:55 -0700 |
|---|---|---|
| committer | Jon Whiteaker <jbw@berkeley.edu> | 2012-09-06 16:41:55 -0700 |
| commit | 6af39548a765109ca94ac8162eec1aee7828b8c3 (patch) | |
| tree | 856565c933f8cbd80fd6d2f547e524114e0dcde4 /data | |
| parent | bd894794b31290499656e67eb0c81bbed4bcbf56 (diff) | |
| download | kinect-6af39548a765109ca94ac8162eec1aee7828b8c3.tar.gz | |
minor updates
Diffstat (limited to 'data')
| -rwxr-xr-x | data/pair-matching/roc.py | 10 |
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() |
