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 条
  • [1] Improved Fuzzy K-Nearest Neighbor Using Modified Particle Swarm Optimization
    Jamaluddin
    Siringoringo, Rimbun
    INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGY (ICONICT), 2017, 930
  • [2] Research on active defence technology with virus based on improved K-Nearest Neighbor Algorithm
    Yu, Xuedou
    2008 PROCEEDINGS OF INFORMATION TECHNOLOGY AND ENVIRONMENTAL SYSTEM SCIENCES: ITESS 2008, VOL 4, 2008, : 724 - 726
  • [3] An Improved K-Nearest Neighbor Algorithm for Pattern Classification
    Sultana, Zinnia
    Ferdousi, Ashifatul
    Tasnim, Farzana
    Nahar, Lutfun
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2022, 13 (08) : 760 - 767
  • [4] A color image watermarking scheme based on hybrid classification method Particle swarm optimization and k-nearest neighbor algorithm
    Findik, Oguz
    Babaoglu, Ismail
    Ulker, Erkan
    OPTICS COMMUNICATIONS, 2010, 283 (24) : 4916 - 4922
  • [5] Prediction of Blast Furnace Fuel Ratio Based on Back-Propagation Neural Network and K-Nearest Neighbor Algorithm
    Zhang, Longyao
    Jiao, Kexin
    Zhang, Lei
    Zhang, Jianliang
    Sun, Minmin
    Zhou, Zhenhao
    Zheng, Anyang
    STEEL RESEARCH INTERNATIONAL, 2022, 93 (10)
  • [6] A memetic algorithm based on k-nearest neighbor
    Xu, Jin
    Gu, Qiong
    Gai, Zhihua
    Gong, Wenyin
    Journal of Computational Information Systems, 2014, 10 (22): : 9565 - 9574
  • [7] Prediction of heart disease using k-nearest neighbor and particle swarm optimization.
    Jabbar, M. A.
    BIOMEDICAL RESEARCH-INDIA, 2017, 28 (09): : 4154 - 4158
  • [8] K-Nearest Neighbor Algorithm Optimization in Text Categorization
    Chen, Shufeng
    2017 3RD INTERNATIONAL CONFERENCE ON ENVIRONMENTAL SCIENCE AND MATERIAL APPLICATION (ESMA2017), VOLS 1-4, 2018, 108
  • [9] An Approach for Fault Diagnosis Based on an Improved k-Nearest Neighbor Algorithm
    Yu Feng
    Liu Lian-chang
    Liu Dong-ming
    PROCEEDINGS OF THE 35TH CHINESE CONTROL CONFERENCE 2016, 2016, : 6521 - 6525
  • [10] An Improved K-Nearest Neighbor Algorithm Using Tree Structure and Pruning Technology
    Li, Juan
    INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2019, 25 (01): : 35 - 48