serhangursoy / Machine-Learning-Text-Classification

Text Classifier Using with Naive Bayes. Machine Learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Text Classifier Using with Naive Bayes. Machine Learning


Languages

Language:MATLAB 99.5%Language:Objective-C 0.5%