Naive Bayes Algorithm
Dear All
I have an implementation of Naive Bayes. The algorithm's ouput are class labels and their propabilities.
I want to do the following: I want to the algorithm to sort the propabilities and then return the class label with the greater possibility.
How can I do this? Array?
Should I create a seperate class? How wil this class will communicate with the main class of the algorithm?
Best Regards
Olga

