結果 : implement naive bayes algorithm in python