{'fraction_non_alphanumeric': 0.032599837000814993, 'fraction_numerical': 0.0, 'mean_word_length': 4.738317757009346, '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}}
K/S value prediction of cotton fabric using PSO-LSSVM

Cotton is one of the world’s most common natural clothing materials. It is dyed mainly using the exhaustion, cold pad-batch, and pad-dry-pad-steam dyeing methods. The K/S value, an important index for measuring the depth of color, of cotton fabric dyed with reactive dyes is greatly influenced by various factors of the dyeing process. In this study, three models were developed incorporating least squares support vector machine (LSSVM) to predict the K/S values of dyed cotton fabrics, while particle swarm optimization (PSO) was applied to optimize and tune the parameters of the LSSVM model (PSO-LSSVM). Model inputs include dye concentration and process conditions, which are both easily obtainable variables. The K/S values from the PSO-LSSVM model are consistent with actual measured K/S values of dyed cotton fabrics. Moreover, a comparison among PSO-LSSVM, LSSVM and back propagation neural network results shows the superiority of the PSO-LSSVM approach. Results of this work indicate that a PSO-LSSVM model is a powerful tool for predicting the K/S value in cotton fabric dyed with reactive dye and thus a means to improve production processes and reduce costs.