For an integrable real function , let . For every measurable region ,The first term is nonnegative because there, and the integral subtracted in the second term is nonpositive. Hence the negative set minimizes the integral. Including or excluding any points where has no effect; changes on null sets do not matter either. This is the minimum-integral decision region principle. Integrability ensures the subtraction is defined, and it holds automatically for the weighted differences of probability density functions used below.
There are two disjoint ways to make an error: an individual from class one falls outside , or an individual from class two falls inside . The law of total probability givesSince integrates to one, this also equalsThis form isolates the only term changed by choosing the decision region.
Apply the minimum-integral decision region principle to . The optimal Bayes classifier chooses class one when , and class two for the reverse inequality. Ties can be assigned either way. An everywhere valid discriminant score isWhere both weighted densities are positive one may equivalently use and threshold zero. This chooses the largest posterior class probability, because both posterior probabilities have the same positive mixture-density denominator.
With zero cost for correct assignments, the total expected misclassification cost isThe part depending on is the integral of . Therefore the cost-sensitive Bayes classifier isFor positive costs and weighted densities, the log posterior-odds score from part (ii) now has threshold . Larger cost of sending class one to class two expands the region assigned to class one. The weighted-density comparison also handles zero costs without taking an undefined logarithm.
For common positive-definite covariance, subtracting the two Gaussian log densities cancels the quadratic term. Equal priors leave the linear discriminant analysis scoreHereThusAssign class two if the expression is negative; a tie has zero probability under either continuous Gaussian law.
To compute the error rather than just specify the boundary, put . Within class one the score has mean , and within class two mean . In both classes its variance is . Hence both conditional error probabilities are , where is the standard normal distribution function. Equal priors give the equal-covariance Gaussian classification errorFor the specified observation, the score is , so assign it to class one.
Articles by others on the same topic
There are currently no matching articles.