{'fraction_non_alphanumeric': 0.01272984441301273, 'fraction_numerical': 0.0, 'mean_word_length': 5.103448275862069, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Some Useful Properties of the Bayes Risk in Classification

In this article we study some properties of the Bayes risk with respect to prior probabilities in the context of two class classification problems. We show that Bayes risk is maximized when the ratio of the prior probabilities equals the median of the likelihood ratio statistic under the average density. We also show that when probability density functions (pdf) are symmetric and differ only in locations and the likelihood ratio is monotonic, the Bayes risk has a unique maximum at prior probability , and decreases as the difference between the prior probabilities increases. Several interesting examples are cited to illustrate the results.