{'fraction_non_alphanumeric': 0.0319634703196347, 'fraction_numerical': 0.0121765601217656, 'mean_word_length': 5.036697247706422, '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}}
Feature selection for classification using particle swarm optimization

This paper proposes a method for the problem of processing high-dimensional data. When one has thousands of features (attributes) in a dataset, it is hard to achieve an efficient feature selection. To cope with this problem, we propose the use of a binary particle swarm optimization algorithm combined with the C4.5 as a classifier in the fitness function for the selection of informative attributes. The results obtained on 11 datasets were analyzed statistically and reveal that the proposed method, called BPSO+C4.5, outperforms known classifiers, i.e., C4.5, Naive Bayes, and SVM.