diff options
| author | Jon Whiteaker <jbw@berkeley.edu> | 2012-03-02 16:12:50 -0800 |
|---|---|---|
| committer | Jon Whiteaker <jbw@berkeley.edu> | 2012-03-02 16:12:50 -0800 |
| commit | b262e999c17b651328a50fb303f08264fcd021e3 (patch) | |
| tree | 857edb4a9caad180eebf4cc25dbf499eb36698fa /data/combined/scriptSkeleton.m | |
| parent | 028e3beb9d014b8daa0284ee3ed8c534bfa0e947 (diff) | |
| download | kinect-b262e999c17b651328a50fb303f08264fcd021e3.tar.gz | |
face file
Diffstat (limited to 'data/combined/scriptSkeleton.m')
| -rw-r--r-- | data/combined/scriptSkeleton.m | 4 |
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);
|
