项目作者: serhangursoy

项目描述 :
Text Classifier Using with Naive Bayes. Machine Learning
高级语言: Matlab
项目地址: git://github.com/serhangursoy/Machine-Learning-Text-Classification.git


Machine-Learning-Assignment

- Naive Bayes text classification

Probability, Estimation, Naive Bayes


There are two .m files in this project. One is main.m function and other is TestField.m
You can easily delete the TestField file and create your own file to test data.

main.m Function
Takes only file path parameter as string. Returns Accuracy matrix for training, accuracy matrix for Test, confuse matrix for training and confuse matrix for test
Below, you can see its prototype;

[accuracyTraining, accuracyTest, cmTraining , cmTest] = main(file_path)

It doesn’t do plotting in default settings. If you have a fast processor, you can manually open it. Otherwise you have to wait quite a bit time.