Fabric quality prediction technology based on K-nearest neighbor algorithm improved particle swarm optimization-back propagation algorithm

被引:0
|
作者
Sun, Changmin [1 ]
Dai, Ning [1 ]
Shen, Chunya [2 ]
Xu, Kaixin [1 ]
Chen, Wei [3 ]
Hu, Xudong [1 ]
Yuan, Yanhong [1 ]
Chen, Zuhong [2 ]
机构
[1] Key Laboratory of Modern Textile Machinery & Technology of Zhejiang Province, Zhejiang Sci-Tech University, Zhejiang, Hangzhou,310018, China
[2] Zhejiang Kangli Automation Technology Co., Ltd., Zhejiang, Shaoxing,312500, China
[3] Zhejiang Tianheng Information Technology Co., Ltd., Zhejiang, Shaoxing,312500, China
来源
关键词
Defects - Efficiency - Errors - Forecasting - Inspection - Iterative methods - Learning algorithms - Mean square error - Motion compensation - Nearest neighbor search - Neural networks - Particle swarm optimization (PSO) - Pattern recognition - Textile industry - Textiles;
D O I
10.13475/j.fzxb.20230307001
中图分类号
学科分类号
摘要
Objective The confirmation of fabric quality in the textile industry is usually to put the woven fabric into the inspection equipment for inspection. When the fabric defects are found in the inspection process, the repair will be carried out and so increases the production time, thereby reducing the workshop efficiency. In order to improve the efficiency of the workshop, by collecting the real-time data of the weaving workshop, the fabric quality prediction model is established to predict the fabric quality and reduce the fabric production time.Method Aiming at the problem of large difference in fabric quality and long time of conventional fabric inspection, a fabric quality grade prediction method based on K - nearest neighbor algorithm (KNN) improved PSO-BP algorithm was proposed by combining KNN and particle swarm optimization (PSO) improved error back propagation (BP) neural network algorithm. Firstly, the fabric quality prediction model is analyzed, and the fabric defects and fabric quality grades are divided. Secondly, 14 factors affecting the fabric quality are selected as the model input, and then the KNN algorithm is adopted to classify the original sample set. Finally, the classified data is brought into the fabric quality prediction model. The fabric quality prediction model is to use the particle swarm optimization algorithm to obtain the position and speed of the optimal solution through iterative update, and take this as the initial weight and threshold into the neural network structure for training to obtain the model. By predicting the fabric quality grade, the fabric quality is improved.Results 16,186 fabric production data collected over a 3 - month period from a textile factory in Lanxi, Zhejiang Province were adopted to establish a fabric quality prediction model. Firstly, the original data set was adopted to compare and analyze PSO - BP and BP algorithms with different training target errors. According to results of KNN-PSO-BP netural network model, PSO-BP algorithm showed higher accuracy and higher training speed than BP algorithm, and PSO-BP neural network model demonstrated an accuracy of 96% with the training target error 0.000 1. The KNN algorithm was adopted to divide the original sample set into five categories. The mean square error, accuracy and training time of the neural network model were calculated when the training target error is 0. 000 1. The accuracy of the KNN-PSO-BP neural network model was 98. 054%.Conclusion This research demonstrated that KNN-PSO-BP algorithm has higher accuracy than PSO-BP algorithm and BP algorithm. The training time of fabric quality grade prediction is only 4. 8 s, and the accuracy rate is 98.054%. The algorithm greatly shortens the detection time while ensuring the accuracy of fabric quality prediction, improves the production efficiency of weaving, and provides a certain basis for subsequent research on the location and size of fabric defects. © 2024 China Textile Engineering Society. All rights reserved.
引用
收藏
页码:72 / 77
相关论文
共 50 条
  • [21] Trending Topic Prediction by Optimizing K-Nearest Neighbor Algorithm
    Syarif, Syafruddin
    Anwar
    Dewiani
    2017 4TH INTERNATIONAL CONFERENCE ON COMPUTER APPLICATIONS AND INFORMATION PROCESSING TECHNOLOGY (CAIPT), 2017, : 125 - 128
  • [22] Particle Swarm Optimization Based Nearest Neighbor Algorithm on Chinese Text Categorization
    Cheng, Shi
    Shi, Yuhui
    Qin, Quande
    Ting, T. O.
    2013 IEEE SYMPOSIUM ON SWARM INTELLIGENCE (SIS), 2013, : 164 - 171
  • [23] Uncertainty prediction method for traffic flow based on K-nearest neighbor algorithm
    Yang, Lingmin
    JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2020, 39 (02) : 1489 - 1499
  • [24] Classification of Lower Back Pain Using K-Nearest Neighbor Algorithm
    Sandag, Green Arther
    Tedry, Natalia Elisabet
    Lolong, Steven
    2018 6TH INTERNATIONAL CONFERENCE ON CYBER AND IT SERVICE MANAGEMENT (CITSM), 2018, : 367 - 371
  • [25] Prediction of China's Carbon Price Based on the Genetic Algorithm-Particle Swarm Optimization-Back Propagation Neural Network Model
    Wang, Jining
    Zhao, Xuewei
    Wang, Lei
    SUSTAINABILITY, 2025, 17 (01)
  • [26] Improved Microarray Images Cancer Classification using k-Nearest Neighbor with Canonical Particle Swarm Optimization
    Alhamidi, Machmud R.
    Wasito, Ito
    2017 INTERNATIONAL WORKSHOP ON BIG DATA AND INFORMATION SECURITY (IWBIS 2017), 2017, : 37 - 42
  • [27] An Improved k-Nearest Neighbor Algorithm for Recognition and Classification of Thyroid Nodules
    Ma, Xuesi
    Han, Xiang
    Zhang, Lina
    JOURNAL OF ULTRASOUND IN MEDICINE, 2024, 43 (06) : 1025 - 1036
  • [28] Improved weighted k-nearest neighbor algorithm for WiFi fingerprint positioning
    Wang B.
    Liu X.
    Yu B.
    Jia R.
    Gan X.
    Huang L.
    Xi'an Dianzi Keji Daxue Xuebao/Journal of Xidian University, 2019, 46 (05): : 41 - 47
  • [29] Control system of oxygen regulator based on particle swarm optimization-back propagation neural network adaptive control algorithm
    Fan Y.-C.
    Sun Q.-L.
    Dong F.-Y.
    Chen Z.-Q.
    Kongzhi Lilun Yu Yingyong/Control Theory and Applications, 2020, 37 (03): : 687 - 695
  • [30] A Novel Query Method for Spatial Database Based on Improved K-Nearest Neighbor Algorithm
    Xia, Huili
    Xue, Feng
    INTERNATIONAL JOURNAL OF DECISION SUPPORT SYSTEM TECHNOLOGY, 2023, 16 (01)