add source code of NaiveBayes and SVM