{'fraction_non_alphanumeric': 0.009708737864077669, 'fraction_numerical': 0.0, 'mean_word_length': 5.484276729559748, '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}}
Genetic Algorithms Applied to Discrete Distribution Fitting

A common problem when dealing with preprocessing of real world data for a large variety of applications, such as classification and outliers detection, consists in fitting a probability distribution to a set of observations. Traditional approaches often require the resolution of complex equations systems or the use of specialized software for numerical resolution. This paper proposes an approach to discrete distribution fitting based on Genetic Algorithms which is easy to use and has a large variety of potential applications. This algorithm is able not only to identify the discrete distribution function type but also to simultaneously find the optimal value of its parameters. The proposed approach has been applied to an industrial problem concerning surface quality monitoring in flat steel products. The results of the tests, which have been developed using real world data coming from three different industries, demonstrate the effectiveness of the method.