{'fraction_non_alphanumeric': 0.014691478942213516, 'fraction_numerical': 0.0, 'mean_word_length': 5.6797385620915035, '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}}
A Detector Generation Algorithm Based on Negative Selection

Detector generation is a crucial step of immune-based intrusion detection system. In order to improve the detecting efficiency of detectors and the dependence of matching threshold on an experienced value in the negative selection algorithm, an algorithm named VRGA for detector generation is proposed in this paper. Variable matching threshold r (r-variable) is introduced in VRGA to effectively increase the detector coverage. Clonal selection strategy considering detector similarity is adopted to increase the diversity of detectors. With above two improvements, VRGA brings the self-adaptability of matching threshold in negative selection and reduces the dependence of matching threshold on experience. In addition, VRGA increases the coverage and diversity of the detector set. The experimental results show that VGRA has better performance and its detecting efficiency is also improved correspondingly over the traditional negative selection algorithm.