diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2010-12-22 08:58:07 -0600 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2010-12-22 08:58:07 -0600 |
commit | b5ca2bd7001a385594af8dc4b9206399c679f8c5 (patch) | |
tree | 332cb09a27f783760532e688e14bde21a128bb2b /report/pyp_clustering/acl09-short/code/noP0pred.m | |
parent | 86805dcb8aaaa716fdc73725ad41e411be53f6a6 (diff) |
remove report
Diffstat (limited to 'report/pyp_clustering/acl09-short/code/noP0pred.m')
-rw-r--r-- | report/pyp_clustering/acl09-short/code/noP0pred.m | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/report/pyp_clustering/acl09-short/code/noP0pred.m b/report/pyp_clustering/acl09-short/code/noP0pred.m deleted file mode 100644 index f72f1432..00000000 --- a/report/pyp_clustering/acl09-short/code/noP0pred.m +++ /dev/null @@ -1,11 +0,0 @@ -function output = antoniakpred(input,b) - -uniqin = unique(input); -prediction = zeros(max(input),1); - -for i = 1:length(uniqin) - prediction(uniqin(i)) = b*log((b+uniqin(i))/b); -end - -output = prediction(input); - |