From b5ca2bd7001a385594af8dc4b9206399c679f8c5 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Wed, 22 Dec 2010 08:58:07 -0600 Subject: remove report --- report/pyp_clustering/acl09-short/code/cohnpred.m | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 report/pyp_clustering/acl09-short/code/cohnpred.m (limited to 'report/pyp_clustering/acl09-short/code/cohnpred.m') diff --git a/report/pyp_clustering/acl09-short/code/cohnpred.m b/report/pyp_clustering/acl09-short/code/cohnpred.m deleted file mode 100644 index 35a49605..00000000 --- a/report/pyp_clustering/acl09-short/code/cohnpred.m +++ /dev/null @@ -1,12 +0,0 @@ -function output = cohnpred(input,b) - -uniqin = unique(input); -prediction = zeros(max(input),1); - -p0=1/30114; -for i = 1:length(uniqin) - prediction(uniqin(i)) = b*p0*(psi(b*p0+uniqin(i)) - psi(b*p0)); -end - -output = prediction(input); - -- cgit v1.2.3