add bayes classifier(but prior probability is not implemented)