diff options
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);
|
