-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME.txt
More file actions
12 lines (9 loc) · 720 Bytes
/
README.txt
File metadata and controls
12 lines (9 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
Assignment 1: Probability, Estimation, Naýve 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.