Finish naive bayes classifier chaper 04