fortunatelythere is better way to take care of thisand it has to do with nice relationship that we maybe still know from schoolif we apply it to our casewe get the followingas the probabilities are in the interval between and the log of the probabilities lies in the interval and don' get irritated with that higher numbers are still stronger indicator for the correct class--it is only that they are negative now there is one caveat thoughwe actually don' have log in the formula' nominator (the part preceding the fractionwe only have the product of the probabilities in our caseluckily we are not interested in the actual value of the probabilities we simply want to know which class has the highest posterior probability we are lucky because if we find thisthen we also have the following