From b262e999c17b651328a50fb303f08264fcd021e3 Mon Sep 17 00:00:00 2001 From: Jon Whiteaker Date: Fri, 2 Mar 2012 16:12:50 -0800 Subject: face file --- data/combined/scriptSkeleton.m | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'data/combined/scriptSkeleton.m') 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); -- cgit v1.2.3-70-g09d2