{'fraction_non_alphanumeric': 0.018691588785046728, 'fraction_numerical': 0.0, 'mean_word_length': 5.255474452554744, '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}}
Extracting Fuzzy Rules from Data for Function Approximation and Pattern Classification

Extracting fuzzy rules from data allows relationships in the data to be modeled by "if-then" rules that are easy to understand, verify, and extend. This paper presents methods for extracting fuzzy rules for both function approximation and pattern classification. The rule extraction methods are based on estimating clusters in the data; each cluster obtained corresponds to a fuzzy rule that relates a region in the input space to an output region (or, in the case of pattern classification, to an output class). After the number of rules and initial rule parameters are obtained by cluster estimation, the rule parameters are optimized by gradient descent. Applications to a function approximation problem and to a pattern classification problem are also illustrated.