Subject: | make podchecker happier |
podchecker objects to NaiveBayes1.pm:
mstevens@osaka:~/AI-NaiveBayes1-1.9 % podchecker *
podchecker: Warning: Ignoring directory 'blib'
Changes does not contain any pod commands.
Makefile does not contain any pod commands.
Makefile.PL does not contain any pod commands.
MANIFEST does not contain any pod commands.
META.yml does not contain any pod commands.
*** WARNING: line containing nothing but whitespace in paragraph at line
700 in file NaiveBayes1.pm
NaiveBayes1.pm pod syntax OK.
pm_to_blib does not contain any pod commands.
README does not contain any pod commands.
Attached diff tries to make it happier.
Subject: | ai-naivebayes.patch |
diff -urN AI-NaiveBayes1-1.9.orig/NaiveBayes1.pm AI-NaiveBayes1-1.9/NaiveBayes1.pm
--- AI-NaiveBayes1-1.9.orig/NaiveBayes1.pm 2009-09-01 11:18:47.000000000 +0100
+++ AI-NaiveBayes1-1.9/NaiveBayes1.pm 2011-02-12 20:31:56.000000000 +0000
@@ -697,7 +697,7 @@
);
i.e.,
-
+
P(A=a|C=c) = 0.398942280401433 / s *
exp( -0.5 * ( ( a-m ) / s ) ** 2 );