{'fraction_non_alphanumeric': 0.013888888888888888, 'fraction_numerical': 0.0, 'mean_word_length': 5.904191616766467, '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}}
The Naïve Bayesian Classifier Learning Algorithm Based on Adaboost and Parameter Expectations

Naïve Bayesian classifier is a simple classification method based on Bayes statistics, which is one of the most popular classifiers and has been successfully applied to many fields. To improve the generalization ability of the naïve Bayesian classifier, discriminative learning of the naïve Bayesian classifier is researched. In this paper, a parameter learning algorithm AENB of the naïve Bayesian classifier is proposed. This algorithm adopts the Adaboost’s classifier ensemble framework, sequentially generates a series of individual classifiers with parameters, and obtains parameter expectations by summing the weighting parameters of each individual classifier. In the final, the naïve Bayesian classifier with parameter expectations is constructed. The experimental results show that the AENB algorithm improves classification accuracy of the naïve Bayesian classifier in the most cases. Furthermore, compared with the naïve Bayesian classifier ensemble, AENB requires less space because there is no need to save parameters of individual classifiers.