Introduction - If you have any usage issues, please Google them yourself
Naive Bayes classifier
Input: Training set and testing set, each row represents a instance, last column is label, begins from zero
Output:predict label by Naive Bayes as well as its accuracy