summaryrefslogtreecommitdiffstats
path: root/data/combined/scriptSkeleton.m
diff options
context:
space:
mode:
authorJon Whiteaker <jbw@berkeley.edu>2012-03-02 16:12:50 -0800
committerJon Whiteaker <jbw@berkeley.edu>2012-03-02 16:12:50 -0800
commitb262e999c17b651328a50fb303f08264fcd021e3 (patch)
tree857edb4a9caad180eebf4cc25dbf499eb36698fa /data/combined/scriptSkeleton.m
parent028e3beb9d014b8daa0284ee3ed8c534bfa0e947 (diff)
downloadkinect-b262e999c17b651328a50fb303f08264fcd021e3.tar.gz
face file
Diffstat (limited to 'data/combined/scriptSkeleton.m')
-rw-r--r--data/combined/scriptSkeleton.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/combined/scriptSkeleton.m b/data/combined/scriptSkeleton.m
index 91c724f..0dfbfa0 100644
--- a/data/combined/scriptSkeleton.m
+++ b/data/combined/scriptSkeleton.m
@@ -69,6 +69,8 @@ recall = zeros(numEx, 0);
for ex = 1 : numEx
train = trains{ex};
test = tests{ex};
+ length(train)
+ length(test)
% NB classifier with multivariate Gaussians
Py = zeros(numClasses, 1);
@@ -116,6 +118,8 @@ for ex = 1 : numEx
% prediction
[conf, yp] = max(logp, [], 2);
+ size(yp)
+ exit
% sum up all but the highest probability
norm1 = logp - repmat(conf, 1, numClasses);