Introduction - If you have any usage issues, please Google them yourself
This code provides two simple examples of naive Bayes classifier.
In the first example the input are a bunch of positive and negative numbers and their corresponding classes i.e. posi or negi and is tested with random numbers.