Complement Naive Bayes実装:分類も完了