machine learning class assignment. about Naïve Bayes classifier and 2-class pattern classification problem