원시데이터 수집 시스템
선정목록으로

Optimization and prediction of the cotton fabric dyeing process using Taguchi design-integrated machine learning approach

간접 관련 패션 · (24) 패션(코오롱FnC)

기본 정보

저자
  1. Md. Nahid Pervez — Hubei Provincial Engineering Laboratory for Clean Production and High Value Utilization of Bio-Based Textile Materials, Wuhan Textile University, Wuhan, 430200, China|||Sanitary Environmental Engineering Division (SEED), Department of Civil Engineering, University of Salerno, 84084, Fisciano, Italy|||School of Computing, Huanggang Normal University, Huanggang, 438000, China
  2. Wan Sieng Yeo — Department of Chemical and Energy Engineering, Faculty of Engineering and Science, Curtin University Malaysia, CDT 250, 98009, Miri, Sarawak, Malaysia
  3. Lina Lin — Hubei Provincial Engineering Laboratory for Clean Production and High Value Utilization of Bio-Based Textile Materials, Wuhan Textile University, Wuhan, 430200, China. linalin@wtu.edu.cn|||State Key Laboratory of New Textile Materials and Advanced Processing Technologies, Wuhan Textile University, Wuhan, 430073, China. linalin@wtu.edu.cn|||Hubei Provincial Engineering Laboratory for Clean Production and High Value Utilization of Bio-Based Textile Materials, Wuhan Textile University, Wuhan, 430200, China
  4. Xiaorong Xiong — School of Computing, Huanggang Normal University, Huanggang, 438000, China. xiongxiaorong@hgnu.edu.cn|||School of Computing, Huanggang Normal University, Huanggang, 438000, China
  5. Vincenzo Naddeo — Sanitary Environmental Engineering Division (SEED), Department of Civil Engineering, University of Salerno, 84084, Fisciano, Italy. vnaddeo@unisa.it|||Sanitary Environmental Engineering Division (SEED), Department of Civil Engineering, University of Salerno, 84084, Fisciano, Italy
  6. Yingjie Cai — Hubei Provincial Engineering Laboratory for Clean Production and High Value Utilization of Bio-Based Textile Materials, Wuhan Textile University, Wuhan, 430200, China
DOI
10.1038/s41598-023-39528-1
저널
Scientific Reports
발행년도
2023
발행기관
Nature Portfolio
피인용수
41
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-023-39528-1
토픽
Textile materials and evaluations
OpenAlex ID
W4385425374

평가 내용

관련도
간접 관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
–
R&D 측면
분석·모델링
확신도
0.80
근거 용어
cotton fabric dyeing, Taguchi design, machine learning, LSSVR model, process optimization
판단 근거
본 논문은 면(cotton) 섬유의 염색 공정 최적화를 위해 머신러닝(LSSVR)과 Taguchi 설계를 결합한 모델을 연구하고 있습니다. 이는 코오롱인더스트리의 패션(24) 사업부문에서 다루는 기능성 원단 및 섬유 소재의 제조 공정 효율화 및 품질 예측 기술에 간접적으로 응용될 수 있습니다.
R&D 활용 포인트
섬유 염색 공정의 변수(온도, pH, 농도 등)를 최적화하여 생산 비용을 절감하고, 머신러닝 모델을 통해 염색 품질(색상 강도, 고착률 등)을 사전에 예측하는 스마트 팩토리 기술로 활용 가능합니다.
평가 입력
본문 66,501자 중 30,032자 발췌

초록

초록이 없습니다.

본문 66,501자

본문 펼치기
## OPEN # Optimization and prediction of the cotton fabric dyeing process using Taguchi design‑integrated machine learning approach Md. Nahid Pervez <sup>1,2,3</sup> , Wan Sieng Yeo <sup>4</sup> , Lina Lin <sup>1,5</sup> <sup>*</sup> , Xiaorong Xiong <sup>2</sup> <sup>*</sup> , Vincenzo Naddeo <sup>3</sup> <sup>*</sup> & Yingjie Cai <sup>1</sup> The typical textile dyeing process calls for a wide range of operational parameters, and it has always been difficult to pinpoint which of these qualities is the most important in dyeing performance. Consequently, this research used a combined design of experiments and machine learning prediction models’ method to offer a sustainable and beneficial reactive cotton fabric dyeing process. To be more precise, we built a least square support vector regression (LSSVR) model based on Taguchi’s statistical orthogonal design ­(L27) to predict exhaustion percentage (E%), fixation rate (F%), and total fixation efficiency (T%) and color strength (K/S) in the reactive cotton dyeing process. The model’s prediction accuracy was assessed using many measures, including root mean square error (RMSE), mean absolute error (MAE), and the coefficient of determination ­(R <sup>2</sup> ). Principal component regression (PCR), partial least square regression (PLSR), and fuzzy modelling were some of the other types of regression models used to compare results. Our findings reveal that the LSSVR model greatly outperformed competing models in predicting the E%, F%, T%, and K/S. This is shown by the LSSVR model’s much smaller RMSE and MAE values. Overall, it provided the highest possible ­R <sup>2</sup> values, which reached 0.9819. Although various synthetic fibers have been developed, cotton remains the world’s most significant natural textile fiber because of its exceptional tensile strength, moisture absorption, softness, air permeability, hand feel, and water sorption qualities. The yearly consumption rate of cotton fibers has been breaking records for some time ­now <sup>1–3</sup> . Cotton also preserves its natural physical qualities despite being subjected to a wide range of dry, wet, and chemical treatments, and it is hydrophilic and alkali resistant. Based on this, cotton fabric has been used widely in producing colored (dyeing) fabrics with respect to its structural ­characteristics <sup>4, 5</sup> . Reactive dyes have historically been the dyestuff of choice for cotton fiber dyeing due to their many advantages, including excellent colorfastness, repeatability, a broad range of colors, vivid color, convenience, and ease of application. The reactive species in the dye molecules establish covalent connections with the hydroxyl species of the cellulose by nucleophilic substitution or the Michael addition process, resulting in a high color strength ­property <sup>6–9</sup> . Conventional reactive dyeing of a cotton fabric involves a series of process parameters salt concentration, dye mass, dye temperature, solution pH, material-to-liquor ratio, and time to achieve a maximum color strength ­property <sup>10, 11</sup> . Typically, these parameters can substantially impact the amount of chemicals, energy spent, and expenses associated with the dying process throughout the process of dyeing textiles. Most cotton fabric dyeing parameters are based on prior experience rather than a scientific process. Depending on which dyeing parameters are used with a given dyeing formulation, a wide range of performance metrics related to the dyeing process may be attained. The usual approach to process optimization involves modifying one parameter at a time while keeping the others at their current levels. This allows the effect of a single parameter to be studied while keeping the overall optimization intact. On top of that, substantial amounts of time, effort, and experimentation are 1Hubei Provincial Engineering Laboratory for Clean Production and High Value Utilization of Bio‑Based Textile Materials, Wuhan Textile University, Wuhan 430200, China. <sup>2</sup> School of Computing, Huanggang Normal University, Huanggang 438000, China. <sup>3</sup> Sanitary Environmental Engineering Division (SEED), Department of Civil Engineering, University of Salerno, 84084 Fisciano, Italy. <sup>4</sup> Department of Chemical and Energy Engineering, Faculty of Engineering and Science, Curtin University Malaysia, CDT 250, 98009 Miri, Sarawak, Malaysia. <sup>5</sup> State Key Laboratory of New Textile Materials and Advanced Processing Technologies, Wuhan Textile University, Wuhan 430073, China. <sup>*</sup> email: linalin@wtu.edu.cn; xiongxiaorong@hgnu.edu.cn; vnaddeo@unisa.it required. Furthermore, this method may provide inaccurate outcomes, such as the belief that interaction effects cannot be observed, making it difficult to ascertain process parameters’ ­performance <sup>12, 13</sup> . Therefore, process optimization by systematically dyeing cotton fabric in the presence of reactive dyes is a relevant factor in commercial dyeing operations. With this in mind, a computational tool that can optimize conditions for achieving the desired color strength of the reactive dyed cotton fabric at the lowest production cost may significantly contribute to textile dye assembly, reducing chemical inputs, process time, and economic expenses. In this scenario, the design of experiments, commonly referred to as DOE, is a technique that uses a systematic approach to establish a connection between the factors that affect the outcome of a process and the factors that affect the outcome of the process. The DOE methodology may generally be classified into two distinct categories: the complete factorial design and the Taguchi experimental design. The entire factorial design process involves evaluating and analyzing every potential combination of parameter values. When conducting research using a Taguchi experimental design, one only considers selected levels for assessment. As a result of the use of an orthogonal array (OA) architecture, the Taguchi method is regarded as a reliable approach. The OA can quantitatively determine the appropriate parameters and levels, and it is used to reduce the number of trials, the time of the experiments, the cost, and the quantity of necessary human ­energy <sup>14–16</sup> . Wahyudin et al. <sup>17</sup> employed an L9 orthogonal array design using ANOVA analysis as the primary statistical technique to improve the cotton knit fabric dying process, This research confirms that using Taguchi is critical to shortening the re-dyeing stage. According to the research ­of <sup>2</sup> a natural dye may be extracted using an L25 Taguchi methodology under ideal circumstances, and this method can then be used to color cotton fabrics. Hossain et al. <sup>18</sup> adopted a Taguchi design based on an orthogonal array of L9 designs to conduct the deep dyeing of cotton fabric using cacao husk extract to optimize the exhaustion percentage. While this Taguchi model is useful for analyzing data within narrow ranges, it cannot provide reliable predictions for process parameters beyond those limits. In accelerating the performance of statistical optimization techniques, machine learning (ML) is being used in various fields to speed up these operations and minimize the time and price of simulation. Least square support vector regression models (LSSVRs) are an example of a machine learning model that may get insights directly from data and comprehend how they operate with a wide range of inputs. Most notably, the LSSVR model shows excellent predictive power in determining the expected value of the target output variable in the context of nonlinear data. The LSSVR model is a nonlinear prediction method based on support vector machine theory (SVM). When it comes to decreasing the computational burden associated with reducing the number of viable classes, LSSVR delivers a more efficient response than the SVM by applying a separate set of linear equations in dual ­space <sup>19, 20</sup> . In recent years, academics from a broad range of disciplines have devoted increasing amounts of attention and interest throughout the course of many years. As such, the revolution of the textile industry 4.0 concept is strongly in line with the adaptation of machine learning so as to maintain sustainability and competence in the ­market <sup>21</sup> . With the inclusion of ML, textile industries’ production, especially dyeing sections, can greatly benefit from human interaction with the interface of intelligent computer-directed tools to enhance production effectiveness. Previous studies have emphasized the importance of ML in the textile industry; for example, Ribeiro et al. <sup>22</sup> applied automated machine learning in the textile design and finishing features to predict the physical properties of cotton woven fabric. ­Tsai <sup>23</sup> underlines sustainable production planning and control strategies using machine learning programming to develop the textile industry 4.0 approach. Similarly, He et al. <sup>24</sup> used a machine learning-based decision support system for controlling the textile manufacturing process. However, the application of machine learning for the textile dyeing process is rarely reported, which deserves further investigation. The Taguchi method and machine learning are two different approaches used in various fields. This study uses Taguchi Method to design experiments focusing on parameter optimization and robust design. Even Taguchi based on a table can predict other data, but the Taguchi model is useful for analyzing data within narrow ranges, it cannot provide reliable predictions for process parameters beyond those limits. Hence, this study uses the machine learning model based on Taguchi’s statistical orthogonal design to make the prediction. Given it, the present study combined the Taguchi orthogonal model with the LSSVR model for predicting the cotton fabric coloration properties via an industrial dyeing procedure for the first time in the literature. After that, the accuracy of the LSSVR is figured out by calculating the coefficient of determination, also known as ­R <sup>2</sup>, the root mean square error (RMSE), and the absolute mean error (MAE). In addition, the results are compared to those generated by employing models of the fuzzy model, principal component regression (PCR), and partial least square regression (PLSR) to gain a deeper comprehension of the predictive qualities these models possess. Experimental Materials and reagents. This study was conducted with 100% pure bleached cotton plain-weave fabric (140 g ­m <sup>−2</sup>, yarn count 40s Ne) obtained from Jiangnan Group Co., Ltd., China. Commercial dye C. I. Reactive Blue 194 (Table S1) was bought from Shanghai Jiaying Chemical Company, China. The nonionic detergent known as Luton 500 was acquired from the Dalton UK Company. The electrolyte (NaCl, 99.5%) and the alkali ­(Na2CO3, 99.8%) arrived from Sinopharm Chemical Reagent Co., Ltd., in Shanghai, China, 200002. Besides these chemicals, all other reagents and chemicals used in the experiment were typically laboratory-quality items. Computer‑aided dyeing process. _Taguchi‑based optimization approach._ Before beginning the Taguchi analysis, we established the response functions and the independent, manipulated variables. After that, the number of levels for the independent variables was decided. Minitab®17 statistical software was used to develop Taguchi’s orthogonal array-based design of experiments (OA ­L27) (Minitab Inc, Coventry, UK). Tables S2 and S3 provide a detailed overview of the experimental design used to conduct the 27 separate tests across 6 different variables and 3 different factor ­levels <sup>15</sup> . Dyeing experiments were carried out utilizing a commercial rotary infrared sample dyeing machine (Model HB-HWX24, Ronggui Huibao Dyeing and Finishing Machinery Factory, China) to dye cotton fabric with C. I. Reactive Blue 194 according to the provided design (Fig. 1). The dyebath was prepared by adding sodium chloride at 20 °C, heating, and sodium carbonate. The soaping procedure washed away unfixed dyes. Nonionic detergent (Luton 500, Dalton UK Co.), 2 g ­L <sup>−1</sup>, was used in the rotary infrared sample dyeing machine’s soap washing procedure at a material-to-liquor ratio of 1:10 and a temperature of 95 °C for 15 min (Fig. S1). After being washed with soap, the coloured samples were dried in an oven at 80 °C for 30 min. _Machine learning approach._ A total of 27 datasets were adopted from the dyeing process parameters of cotton fabric. These parameters included the dye dosage, dye-fixing temperature, dye-fixing time, dyebath pH, material-to-liquor ratio, salt concentration, and their responses, which included exhaustion percentage (E%), fixation rate (F%), total fixation efficiency (T%), and color strength (K/S). Once the data was uploaded into MATLAB, it was split 80/20 between the training and testing sets (Table S3). Figure 2 shows the general layout of the four different regression models (PCR, PLSR, Fuzzy approach, and LSSVR) used to predict E%, F%, T%, and K/S values. Models like PCR, PLSR, the fuzzy method, and LSSVR are developed using the training data, as shown in Fig. S2. The models’ progress was evaluated using the same models used during training and testing; they included the PCR, PLSR, Fuzzy method, and LSSVR models. The root-mean-square error (RMSE), mean absolute error (MAE), and correlation coefficient ­(R <sup>2</sup> ) values of each available regression model were calculated and compared. A rundown of the many parameter configurations for the PCR, PLSR, Fuzzy approach, and LSSVR models is provided in Table 1. The notations ­NT, ­N1, and ­N2 refer to the total number of datasets used for training, the number of datasets used for testing, and the number of latent variables. Meanwhile, the tuning parameters used in the LSSVR model are represented by the symbols γ, λ, and p. These symbols are referred to as Figure 1. Computer-aided cotton fabric reactive dyeing process. Figure 2. Main effects plot for S/N ratios in ( a ) E%, ( b ) F%, ( c ) T% and ( d ) K/S of B194-dyeings. <u>Parameters</u> NT N1 N2 <u>LV</u> <u>γ</u> <u>λ</u> _<u>p</u>_ <u>Values</u> <u>27</u> <u>21</u> <u>6</u> <u>1</u> <u>32</u> <u>0.0625</u> <u>3.051 × ­10</u> <sup>–5</sup> Table 1. Values used for PCR, PLSR, Fuzzy method, and LSSVR models. the LSSVR model parameters. The datasets for this cotton fabric dyeing process are available in the supplementary file. Moreover, even though the available models were used, the dataset is still required to train the available models to develop the models, particularly for this cotton fabric dyeing process. _Analysis of prediction behaviour._ The root-mean-square error, often known as RMSE, is a scale-dependent defect metric that significantly determines whether a prediction model is ­effective <sup>25</sup> . Because it allowed comparisons across alternative configurations for a single variable, this metric was used to determine whether or not the data splitting ratio was appropriate. To put it another way, root-mean-square error (RMSE) is a statistic that assesses how far a model strays from the correct answers, with a lower value suggesting that a prediction has a higher degree of accuracy. The RMSE is calculated by taking the root square of the total squared differences between the actual output and the projected ­output <sup>25</sup> . Alternatively, it might be seen as an indicator of the disparities between the expected values and those observed. When this is considered, a lower RMSE suggests greater accuracy and ability to forecast outcomes. The RMSE formula is shown here as Eq. (1) <sup>26</sup> . - i - <u>�</u> Yi − Y <sup>ˆ</sup> i <u>�</u> <u>�2</u> i Yi − Y <sup>ˆ</sup> i (1) RMSE = �� <u>�</u> <u>�</u> <u>�2</u> n The Yi shown here signifies the actual output, whereas the Y <sup>ˆ</sup> i denotes the predicted output, and n is the total number of samples taken. The MAE, as shown in Eq. (2), is a statistic that considers neither the directionality nor the severity of errors when evaluating a set of predictions. This value is the weighted mean of the absolute differences between the expected and actual observations for all the test data set observations. MAE = <sup>1</sup> (2) �n n �n j= n j=1 <sup>|Yi −</sup> <sup>Y�i|</sup> where The coefficient of determination, or ­R <sup>�</sup> represents the summation. The coefficient of determination, or ­R <sup>2</sup>, measures how well a regression model accounts for a certain dataset’s variation in the target ­variable <sup>25</sup> . ­R <sup>2</sup> is a statistical measure of the "goodness of fit" between a regression model’s observed and expected values. Its worth may range from zero to ­one <sup>27</sup> . If it’s near one, the inputs selected should produce the desired output; if it’s farther away, the fit might need some work. The coefficient of determination ­(R <sup>2</sup> ) is found by comparing the sum of squared errors to the sum of squared deviations from the mean of the variable in question. The level of similarity between observed and predicted data is quantified by a statistic called ­R <sup>2</sup> . Full details of the formula are given in Eq. (3) <sup>28</sup> . Yi − Y <sup>ˆ</sup> i <u>�</u> Yi − Y ~~�~~ i <u>�</u> i ~~�~~ <u>�2</u> ~~<u>�</u>~~ 2 R <sup>2</sup> = 1 − i (3) More specifically, Eq. (4) <sup>29</sup> provides a mathematical description of the prediction error (PE) that is put to use. We investigate the error of approximation, indicated by Ea, and compute Ea using Eq. (5) <sup>30</sup> to provide a quantitative demonstration of the predictive abilities of E%, F%, T%, and K/S values. ���� × 100% PE = (4) V1 RMSE2 + |RMSE1 − RMSE2| - <u>NN12</u> RMSE1 + <u>V1</u> - <u>V2</u> V1 ���� - <u>NN2</u> Ea = RMSE1 + RMSE2 + |RMSE1 − RMSE2| (5) where V1 and V2 represent the target and actual values, respectively. In training and testing datasets, ­RMSE1 and ­RMSE2 represent the RMSE, while ­MAE1 and ­MAE2 represent the MAE. Measurements and characterization. With the use of a UV–visible spectrophotometer (TU-1900 UV– Vis, PERSEE, China), the light absorbance values of the dyebath solution before and after dyeing, as well as the leftover soaping solution, were measured and recorded at the wavelength of maximum absorption, which was 560 nm. Using Eqs. (6)–(8) <sup>18</sup>, we determined the dye exhaustion percentage (E%), fixation rate (F%), and total fixation efficiency (T%). - <u>AoA−o</u> <u>At</u> × 100% E% = × 100% (6) - <u>AoA−o −At</u> A−t <u>As</u> × 100% F% = × 100% (7) T% = E% × F% × 100 (8) where the light absorbances of the dyebath before dyeing, after dyeing, and the remaining soaping solution is denoted by Ao, At, and As, respectively. A reflectance spectrophotometer was used to evaluate the color strength, denoted by the K/S ratio, of dyed fabric samples taken randomly from twenty different locations (CHN-Spec CS-650A, Hangzhou Color Spectrum Technology Company, China). The value of the color strength was determined by measuring it at the wavelength at which the dye absorbed the lightest, and the value of the color strength as an average has been presented here. The surface morphology of the undyed and dyed fabrics was analyzed using Phillips’s scanning electron microscope instrument (FE-SEM, Germany). The sample preparation for scanning electron microscopy was carried out as usual. The samples were individually fastened on a standard sample holder after the fabrics were trimmed to sizes no bigger than 1 ­cm <sup>2</sup> each. 10 kV was the acceleration voltage, while the working distance was between 15 and 17 mm. A coating of gold was sputtered onto the surfaces of the samples before they were analyzed using SEM. A Nicolet iS5 FT-IR spectroscopy (Thermo Fisher Scientific, USA) was used in order to perform an FTIR study on the undyed and dyed fabrics. In order to investigate the crystallinity behaviour, the X-ray diffraction patterns of the undyed and RB 194-dyed cotton fabric were measured using a Rigaku Ultima III X-ray diffractometer (Tokyo, Japan). The materials were meticulously scissored down to a powdery consistency in preparation for the examination. After that, the powder was placed in a laboratory hydraulic pressing machine and subjected to a static pressure of 127 MPa for sixty seconds to create a circular disc. The sample disc was then put on the holder of the equipment, and the diffraction pattern was recorded with a 2θ angle range from 10 to ­80 <sup>o</sup>, having a step size of 0.02° under CuKα radiation (λ = 1.54056 Å). Results and discussion Dyeing process optimization. Process optimization is important in controlling the process to obtain the targeted results. In general, textile dyeing is a complex process equipped with a manufacturing plant functionoriented and requires various steps to maintain the operation performance. According to the Taguchi design ­(L27) (Table S3) in Minitab software, an experiment was conducted to ensure the repetitiveness of the dyeing process. Based on the S/N ratio analysis, optimized parameters for each response, i.e., E% ­(A1B3C1D3E1F3), F% ­(A2B3C2D3E1F3), T% ­(A2B3C2D3E1F3) and K/S ­(A3B3C2D3E1F3), were found (Fig. 2). Characterization. The characterization details were measured for the undyed and optimized samples to gain better insights into the dyeing process. The scanning electronic microscope (SEM) was used to investigate the surface morphology of undyed and optimized RB 194-dyed cotton fabrics. The undyed cotton fabric had a seemingly smooth surface patterned with distinctive grooves unique to cotton fibers (Fig. 3a). As a comparison, an SEM image of cotton fabric dyed with RB 194 under optimized conditions showed a similar structure (Fig. 3b), with a smoother surface than the cotton fabric dyed with the undyed sample. This suggests that the dyeing process did not create any discernible alterations in the cotton ­fabric <sup>31</sup> . The variety of functional groups in both the undyed and conditionally optimized RB 194-dyed sample was analyzed using Fourier transform infrared spectroscopy. For the undyed sample (Fig. 4a), a dominating peak at 3423 ­cm <sup>−1</sup> may indicate an O–H stretching vibration. Subsequently, the asymmetric stretching vibration of ­CH2 groups may account for a peak of about 2920 ­cm <sup>−1</sup> . The C=C stretching vibration of aromatic groups corresponds to the absorption peak found at 1652 ­cm <sup>−132</sup> . The possibility exists that the C–C stretching vibration and the C–H bend stretching vibration are both present in the examined sample since there is a peak at 1458 ­cm <sup>−133</sup> . The existence of a C–O stretching vibration can be indicated by the peak at 1058 ­cm <sup>−134</sup> . Considering the optimized conditioned RB 194-dyed sample, the primary characteristic peaks were still intact, and the dyeing procedure did not develop any new peaks, suggesting that the aqueous reactive dyeing medium was appropriate for cotton fabric. Figure 3. SEM images of undyed fabric ( a ) and ( b ) RB 194 dyed fabric. Figure 4. ( a ) FTIR spectra and ( b ) XRD patterns of undyed and RB 194-dyed fabric, respectively. In Fig. 4b, we see XRD patterns for both undyed cotton and RB 194-dyed cotton that has been conditionally optimized. Both samples exhibit the characteristic cellulose I (Iβ) crystalline form, as shown by the 2θ values at 15.44°, 16.86°, 23.01°, and 34.90° in the diffraction ­pattern <sup>35</sup> . The XRD patterns show that the dyeing procedure did not affect the crystallinity of the cotton. During dyeing, the cellulosic fibers were swollen well, which swelling only occurred in the amorphous zone. Thus, the reactive blue 194 dyes were adsorbed in the amorphous area and the surface of the crystallinity zone. Subsequently, the dyes were fixed with the free hydroxyl groups of cellulosic fiber under the fixation conditions. In order to promote the dyeability of cotton fiber, caustic mercerlization and liquid ammonia ­treatment <sup>7</sup> were widely applied because both treatments can damage the crystalline structure of the cotton fiber, i.e., an increase of the amorphous zone, thereby increasing the dye adsorption and fixation ­rate <sup>36</sup> . The Reactive Blue 194 was adsorbed in cotton fiber and then fixed in cotton fiber via a covalent bond between the reactive group of dye and the hydroxyl group of cellulose after the addition of alkali at the target temperature. The dye fixation mechanism is shown in Fig. 5. Reactive Blue 194 (component a in Fig. 5) is a bifunctional reactive dye with one monochlorotriazinyl group and one vinyl sulphone sulfate; the latter is more reactive than the ­former <sup>37</sup> . After the addition of alkali, many hydroxyl groups of cellulose (component b in Fig. 5) were changed to cellulosate group (cellulose–O <sup>−</sup> ), which is more nucleophilic; meanwhile, the reactive groups became excited. During the dye fixation, the vinyl sulphone sulfate was transferred to the vinyl sulphone group and then reacted with cellulosate to form a covalent bond (component c in Fig. 5). The monochlorotriazinyl group also covalently Figure 5. Mechanism of cotton fabric dyeing with RB 194. bonded with cellulosate (component d in Fig. 5). Also, both reactive groups may form covalent bonds with cellulosate (component e in Fig. 5). These covalent bonds contributed to the high performance of the colorfastness to washing dyed cotton ­fabric <sup>38</sup> . Principal component analysis for feature selection. Principal component analysis (PCA) is a dimensional deduction method for unsupervised feature selection based on eigenvectors analysis computing principal components to identify critical original ­features <sup>39</sup> . In other words, PCA is a method for feature selection that selects variables according to the magnitude (from biggest to smallest in absolute values) of their PCA coefficients or loadings. These coefficients or loadings are the covariances or correlations between the original variables. The larger values denote that a variable has a stronger effect on that principal component and is more important to the corresponding ­variable <sup>40</sup> . Based on the results from PCA, the variances for the input variables involving the dye dosage, dye-fixing temperature, dye-fixing time, dyebath pH, material-to-liquor ratio, and salt concentration are 276.9231, 69.2308, 69.2308, 2.7692, 0.6923, and 0.0017, respectively. Therefore, the first four input variables, dye dosage, dye-fixing temperature, dye-fixing time, and dyebath pH, are important and capture 99.83% of the variation. Figure 6 depicts the PCA biplot illustrating how strongly each characteristic influences a principal component. This PCA biplot explores and visualizes the relationship and correlation between the ­variables <sup>41</sup> . From Fig. 6, it can be seen obviously that the scales of the first four variables, including the dye dosage, dye-fixing temperature, dye-fixing time, dyebath pH, material-to-liquor ratio, and salt concentration, appear relatively higher (have a long distance from the origin). These results are identical to the calculated variances from that PCA in which they indicate that these variables have a significant portion of the variance in the data. Moreover, the principal component scores and loadings for the first two principal components are illustrated in Fig. 6. The axes show the principal component scores, and the vectors are the loading vectors that represent the loading pair per the original variable. It can simply be said that most variables, including the material-to-liquor ratio, pH, temperature, salt concentration, colour strength, and exhaustion percentage, are in the same direction as PC1; hence, they positively correlate with PC1. Meanwhile, the time and dye dosage have the same direction as PC2, indicating they are positively correlated with PC2. Modelling assessment. Estimates of the dyed cotton fabric’s qualities, such as E%, F%, T%, and K/S values, may be calculated using predictive modelling tools, such as the LSSVR model, combined with the dyeing process parameters. In the past, there have only been a few studies that focused on modelling the dying process within the context of a statistical ­design <sup>18,</sup> <sup>42,</sup> <sup>43</sup> . Nevertheless, these predictions can only be made using this method within the bounds of the data that has been supplied. Therefore, in this research, various machine learning models, such as LSVVR, Fuzzy approach, PLSR, and PCR, were developed to overcome the drawbacks of this mathematical modelling methodology by using the characteristics associated with the dyeing process. The results of the previously described machine-learning models for E%, F%, T%, and K/S, respectively, are summarized in Tables 2, 3, 4, and 5 for convenience. In this work, a model’s performance was quantified using three widely used error metrics, including RMSE, MAE, and R2, to exclude any possibility of bias in the evaluation of the model’s ­performance <sup>44</sup> . Tables 2, 3, 4, and 5 show that the training data’s error metrics are _RMSE1_, _MAE1_, R1 <sup>2</sup>, whereas the testing data’s error metrics are _RMSE1_, _MAE1_, and R2 <sup>2</sup> . According to Table 2, the LSSVR model performed the best compared to the other models, even though its ­R <sup>2</sup> is slightly lower than the fuzzy method for E% in its predictions. The PCR and PLSR models came in second Figure 6. PCA biplot illustrates how strongly each characteristic influences a principal component. <u>Models</u> <u>LSSVR</u> <u>Fuzzy method</u> <u>PE (%)</u> <u>PLSR</u> <u>PE (%)</u> <u>PCR</u> <u>PE (%)</u> <u>Training data</u> _<u>RMSE1</u>_ <u>2.9905</u> <u>2.2589</u> <u>24</u> <u>10.6924</u> <u>258</u> <u>10.6125</u> <u>255</u> _<u>MAE1</u>_ <u>2.5067</u> <u>2.0514</u> <u>18</u> <u>9.4379</u> <u>277</u> <u>9.3608</u> <u>273</u> R1 <sup>2</sup> <u>0.9118</u> <u>0.9605</u> <u>5</u> <u>− 3214.4102</u> <u>352,620</u> <u>− 63.7725</u> <u>7094</u> <u>Testing data</u> _<u>RMSE2</u>_ <u>5.4307</u> <u>11.2175</u> <u>107</u> <u>9.8863</u> <u>82</u> <u>9.6690</u> <u>78</u> _<u>MAE2</u>_ <u>4.9230</u> <u>9.4050</u> <u>91</u> <u>7.0750</u> <u>44</u> <u>7.3627</u> <u>50</u> R2 <sup>2</sup> <u>0.6606</u> <u>− 3.6309</u> <u>650</u> <u>− 49.3686</u> <u>7574</u> <u>− 26.0508</u> <u>4044</u> _<u>Ea</u>_ <u>5.9730</u> <u>13.2083</u> <u>121</u> <u>11.3195</u> <u>90</u> <u>11.3463</u> <u>90</u> Table 2. Predictive modelling results for E% from LSSVR, Fuzzy method, PLSR, and PCR. <u>Models</u> <u>LSSVR</u> <u>Fuzzy method</u> <u>PE (%)</u> <u>PLSR</u> <u>PE (%)</u> <u>PCR</u> <u>PE (%)</u> <u>Training data</u> _<u>RMSE1</u>_ <u>2.4614</u> <u>2.9405</u> <u>19</u> <u>16.2657</u> <u>561</u> <u>18.3409</u> <u>645</u> _<u>MAE1</u>_ <u>1.8105</u> <u>2.4981</u> <u>38</u> <u>14.9927</u> <u>728</u> <u>15.4525</u> <u>754</u> R1 <sup>2</sup> <u>0.9813</u> <u>0.9728</u> <u>1</u> <u>− 2.5867</u> <u>364</u> <u>− 171.4889</u> <u>17,575</u> <u>Testing data</u> _<u>RMSE2</u>_ <u>4.3178</u> <u>23.3673</u> <u>441</u> <u>18.1833</u> <u>321</u> <u>23.5394</u> <u>445</u> _<u>MAE2</u>_ <u>3.7186</u> <u>19.5317</u> <u>425</u> <u>17.0150</u> <u>358</u> <u>20.6946</u> <u>457</u> R2 <sup>2</sup> <u>0.9621</u> <u>− 7.1373</u> <u>842</u> <u>− 0.7999</u> <u>183</u> <u>− 10.8179</u> <u>1224</u> _<u>Ea</u>_ <u>4.7304</u> <u>27.9066</u> <u>490</u> <u>18.6095</u> <u>293</u> <u>24.6947</u> <u>422</u> Table 3. Predictive modelling results for F% from LSSVR, Fuzzy method, PLSR, and PCR. <u>Models</u> <u>LSSVR</u> <u>Fuzzy method</u> <u>PE (%)</u> <u>PLSR</u> <u>PE (%)</u> <u>PCR</u> <u>PE (%)</u> <u>Training data</u> _<u>RMSE1</u>_ <u>2.5189</u> <u>2.8530</u> <u>13</u> <u>17.2373</u> <u>584</u> <u>19.0416</u> <u>656</u> _<u>MAE1</u>_ <u>1.9418</u> <u>2.5271</u> <u>30</u> <u>15.2605</u> <u>686</u> <u>16.3155</u> <u>740</u> R1 <sup>2</sup> <u>0.9819</u> <u>0.9773</u> <u>0</u> <u>− 3.3742</u> <u>444</u> <u>− 145.9199</u> <u>14,962</u> <u>Testing data</u> _<u>RMSE2</u>_ <u>5.6166</u> <u>24.5134</u> <u>336</u> <u>18.0975</u> <u>222</u> <u>22.9552</u> <u>309</u> _<u>MAE2</u>_ <u>4.6206</u> <u>20.9400</u> <u>353</u> <u>16.2958</u> <u>253</u> <u>19.8805</u> <u>330</u> R2 <sup>2</sup> <u>0.9359</u> <u>− 2.9147</u> <u>411</u> <u>− 1.0139</u> <u>208</u> <u>− 12.0759</u> <u>1390</u> _<u>Ea</u>_ <u>6.3049</u> <u>29.3268</u> <u>365</u> <u>18.2886</u> <u>190</u> <u>23.8248</u> <u>278</u> Table 4. Predictive modelling results for T% from LSSVR, Fuzzy method, PLSR, and PCR. <u>Models</u> <u>LSSVR</u> <u>Fuzzy method</u> <u>PE (%)</u> <u>PLSR</u> <u>PE (%)</u> <u>PCR</u> <u>PE (%)</u> <u>Training data</u> _<u>RMSE1</u>_ <u>0.5174</u> <u>0.8560</u> <u>65</u> <u>3.8945</u> <u>653</u> <u>3.6564</u> <u>607</u> _<u>MAE1</u>_ <u>0.3933</u> <u>0.7457</u> <u>90</u> <u>3.4129</u> <u>768</u> <u>2.8996</u> <u>637</u> R1 <sup>2</sup> <u>0.9815</u> <u>0.9403</u> <u>− 4</u> <u>− 594.6781</u> <u>− 60,686</u> <u>− 6.3313</u> <u>− 745</u> <u>Testing data</u> _<u>RMSE2</u>_ <u>1.2914</u> <u>2.8376</u> <u>120</u> <u>3.0383</u> <u>135</u> <u>3.0535</u> <u>136</u> _<u>MAE2</u>_ <u>1.0123</u> <u>2.4967</u> <u>147</u> <u>2.7166</u> <u>168</u> <u>2.0417</u> <u>102</u> R2 <sup>2</sup> <u>0.8497</u> <u>− 5.7888</u> <u>− 781</u> <u>− 20.5215</u> <u>− 2515</u> <u>− 2.7525</u> <u>− 424</u> _<u>Ea</u>_ <u>1.4634</u> <u>3.2780</u> <u>124</u> <u>4.5605</u> <u>212</u> <u>4.1252</u> <u>182</u> Table 5. Predictive modelling results for K/S from LSSVR, Fuzzy method, PLSR, and PCR. and third, respectively, particularly for those models’ training data applications. Compared to the other models, the LSSVR model’s RMSE and MAE values are 91% to 107% lower than those of the other models (as shown in Table 2). Consequently, the LSSVR model continues to provide the best overall results. The LSSVR model has ­R <sup>2</sup> values that are, except the R1 <sup>2</sup> value in Table 2, − 650% better than those of the Fuzzy technique, the PCR model, and the PLSR model. In addition, Table 3 shows that the F% predictions made by the LSSVR model were the most accurate, followed by those made by the Fuzzy technique, the PLSR model, and the PCR model. In Table 3, the LSSVR model has lower RMSE and MAE values (by 19% to 425%) and higher ­R <sup>2</sup> (by − 1% to 842%) than the Fuzzy approach, PCR, and PLSR models. Further, Table 4 shows that the LSSVR model, followed by the Fuzzy technique, the PLSR model, and the PCR model, has the best T% prediction accuracy. Table 4 demonstrates that compared to the Fuzzy method, PCR, and PLSR models, the LSSVR model has lower RMSE and MAE values by 13% to 353% and a higher ­R <sup>2</sup> by 0% to − 411%. In a similar vein, the LSSVR model fared better than the other models for K/S shown in Table 5 since it had lower RMSE and MAE values (by 65% to 147%, respectively) and a higher ­R <sup>2</sup> (by − 4% to − 781%, respectively) than the Fuzzy approach, PCR, and PLSR models. The LSSVR model outperformed the other models in Tables 2, 3, 4 and 5 because it includes an extra model— the leave-one-out cross-validation model—that finds the optimal tuning parameters for ­prediction <sup>29</sup> . Furthermore, the nonlinear experimental data is mapped onto a higher dimensional space that may produce a better forecast thanks to the LSSVR model’s usage of the renowned kernel function, the radial basis function. Also, besides the LSSVR model, the rest of the models have very low ­R <sup>2</sup> values for both training and testing datasets, indicating that these models performed poorly for this cotton fabric dyeing process. The ­R <sup>2</sup> values for the LSSVR model are between 0.6606 and 0.9819, which are higher than the benchmarked or acceptable ­R <sup>2</sup> value reported by ­Ozili <sup>45</sup> and Veerasamy et al. <sup>46</sup> . Tables 2, 3, 4 and 5 show that the Fuzzy approach implemented in MATLAB’s fuzzy logic designer program yields superior results when used on training data. However, the fuzzy technique had the worst results for testing data, with R2 <sup>2</sup> for E%, F%, T%, and K/S all being negative. This indicates the fuzzy method has a very poor prediction ability. According to Satrio et al. <sup>47</sup>, negative ­R <sup>2</sup> values indicate a large gap between the observed and predicted values; in this case, the fuzzy technique in this investigation yielded extremely dissimilar results. This is because the training data creates rules and criteria that form the basis of the fuzzy method’s membership function, fuzzy logic operators, and if–then ­statements <sup>19</sup> . An assortment of fuzzy rules, a database detailing the membership functions used by the fuzzy rules, and a reasoning mechanism outlining the inference path upon the rules to adopt projected data are the three parts of this ­framework <sup>48</sup> . As a consequence, the fuzzy technique fails to provide satisfactory results if the testing data differs from the training data. Tables 2, 3, 4 and 5 show that the findings from the PCR and PLSR models are quite comparable, although the PLSR model incorporates both the input and output variables. In contrast, the PCR model only uses the input ­variables <sup>29, 49</sup> . The similarity in their findings might be attributed to the assumption that the input factors are equally crucial to the prediction ­accuracy <sup>27</sup> . Both the PCR and the PLSR models were superior to the fuzzy technique when dealing with the testing data, although producing comparable outcomes. This is because PCR and PLSR models are dimension deduction techniques, which means they utilize the training data to fit one or more response variables (predictability variables) <sup>50</sup> . From Tables 2, 3, 4 and 5, notice that there is no condition where the model performed well on the training data but did not perform well on the testing ­data <sup>51</sup> . Hence, it can be assured that no model is overfitted. Moreover, from Tables 2, 3, 4 and 5, the Fuzzy method, PLSR, and PCR gave negative ­R <sup>2</sup> values, which indicate negative correlations, where the values of one variable tend to increase when the values of the other variable ­decrease <sup>52</sup> . Also, these negative ­R <sup>2</sup> values mean that the Fuzzy method, PLSR, and PCR performed poorly and are unsuitable for the cotton fabric dyeing process. Predictivity assessment. In addition to assessing the model’s performance using three error metrics, Fig. 7a–h with error bars for the actual data compare the prediction results for E%, F%, T%, and K/S from the PCR, PLSR, Fuzzy approach, and LSSVR models on the training and testing data. Figure 7a through f show that, in comparison to the fuzzy technique, the PLSR model, and the PCR model, the LSSVR model’s projected data is more similar to the actual data. Predictive power increases as the degree of similarity between predicted and observed data ­decrease <sup>53</sup> . Moreover, from these Fig. 7a–h, it can also be seen that the predicted data from the LSSVR, especially for training data in Fig. 7a,c,e,g are mostly within or close to the error bars. However, the predicted data from the fuzzy technique, the PLSR, and the PCR are outside or far from the error bars. These figures can also conclude that the LSSVR model’s superiority in forecasting E%, F%, T%, and K/S is validated beyond a reasonable doubt. Accuracy of the models. The model’s correctness in terms of coefficients was also assessed using the same datasets ­(R <sup>2</sup> ). Using both training and test data, the LSSVR model predicts values for E%, F%, T%, and K/S, and these values are compared to the actual values in Fig. 8a–h. The higher the model’s predictive ability, the closer the point is to ­line <sup>54</sup> . Each data point in Fig. 8a through h is rather near the line. This indicates that LSSVR’s anticipated outputs are consistent with the tested data for all responses. Good concordance between the model’s predicted values and the actual experimental findings is indicative of the model’s ­validity <sup>55</sup> . Important characteristics for optimizing the dyeing performance on cotton fabric, such as E%, F%, T%, and K/S, may be predicted using the LSSVR model. Feasibility of sustainable textile industry 4.0. The production of textiles has traditionally required a lot of human work and generated a lot of waste and pollution. The manufacturing process in the textile busi (a) Training data (b) Training data Testing data Actual E% (covered by the line with error bars) Predicted E% from LSSVR Predicted E% from PCR Predicted E% from PLSR Predicted E% from Fuzzy method Actual E% with error bars 1 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6 Number of samples 95 90 85 80 75 70 65 60 Actual E% (covered by the line with error bars) Predicted E% from LSSVR Predicted E% from PCR Predicted E% from PLSR Predicted E% from Fuzzy method <u>Actual E% with error bars</u> 2 4 6 8 10 12 14 16 18 20 Number of samples 100 95 90 85 80 75 70 65 60 (c) Training data (d) Testing data Actual F% (covered by the line with error bars) Predicted F% from LSSVR Predicted F% from PCR Predicted F% from PLSR Predicted F% from Fuzzy method Actual F% with error bars 1 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6 Number of samples Testing data Training data 90 80 70 60 50 40 30 20 90 80 70 60 50 40 30 20 Actual F% (covered by the line with error bars) Predicted F% from LSSVR Predicted F% from PCR Predicted F% from PLSR Predicted F% from Fuzzy method Actual F% with error bars 2 4 6 8 10 12 14 16 18 20 Number of samples Training data (e) (f) Training data 80 70 60 50 40 30 20 10 80 70 60 50 40 30 20 Actual T% (covered by the line with error bars) Predicted T% from LSSVR Predicted T% from PCR Predicted T% from PLSR Predicted T% from Fuzzy method Actual T% with error bars 2 4 6 8 10 12 14 16 18 20 Number of samples (g) Training data (h) Training data Actual T% (covered by the line with error bars) Predicted T% from LSSVR Predicted T% from PCR Predicted T% from PLSR Predicted T% from Fuzzy method Actual T% with error bars 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6 Number of samples Actual K/S (covered by the line with error bars) Predicted K/S from LSSVR Predicted K/S from PCR Predicted K/S from PLSR Predicted K/S from Fuzzy method Actual K/S with error bars 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6 Number of samples 16 14 12 10 8 6 4 2 0 Actual K/ ~~S (~~ covered by the line with error bars) Predicted K/S from LSSVR Predicted K/S from PCR Predicted K/S from PLSR Predicted K/S from Fuzzy method <u>Actual K/S with error bars</u> 2 4 6 8 10 12 14 16 18 20 Number of samples 14 12 10 8 6 4 2 0 -2 Figure 7. Comparison of predictive results from PCR, PLSR, Fuzzy method, and LSSVR models ( a ) prediction of E% using training data, ( b ) prediction of E% using testing data, ( c ) prediction of F% using training data, ( d ) prediction of F% using testing data, ( e ) prediction of T% using training data, and ( f ) prediction of T% using testing data, ( g ) prediction of K/S using training data, ( d ) prediction of K/S using testing data. ness used to be quite intricate. A lot of little things needed to be done; therefore, manufacturing tended toward high volume but less variation. According to proponents, "Industry 4.0" ushers in a new era of fully automated, (a) Training data (b) 90 85 80 75 70 Testing data 100 95 90 85 80 75 70 65 Training data 65 R <sup>2</sup> =0.9118 R2=0.6606 60 60 65 70 75 80 85 90 95 Actual E% 60 60 65 70 75 80 85 90 95 Actual E% (c) Training data (d) 90 80 70 60 50 40 30 20 Testing data 90 80 70 60 50 40 30 20 Training data 30 2=0.9813 R2 R 2=0.9621 10 10 20 30 40 50 60 70 80 90 Actual F% 10 10 20 30 40 50 60 70 80 90 Actual F% (e) Training data (f) 80 70 60 50 40 30 20 Testing data 90 80 70 60 50 40 30 20 Training data 30 R 20 2=0.9819 R 2=0.9359 10 10 20 30 40 50 60 70 80 Actual T% 10 10 20 30 40 50 60 70 80 Actual T% (g) 16 Training data (h) 12 10 8 6 4 Testing data 16 14 12 10 8 6 4 2 2 4 6 8 10 12 14 16 Actual K/S Training data 2=0.9815 2 R R 2 2=0.8497 0 3 4 5 6 7 8 9 10 11 12 13 Actual K/S Figure 8. Correlation between the actual and predicted values from the LSSVR model ( a ) E% using training data, ( b ) E% using testing data, ( c ) F% using training data, ( d ) F% using testing data, ( e ) T% using training data, ( f ) T% using testing data. ( g ) K/S using training data, ( h ) K/S using testing data. intelligent production. It further incorporates industrial operations systems with information, communication, and intelligence technology. Profitable business models, increased productivity, better quality, and safer working Figure 9. A framework for sustainable textile industry 4.0. conditions are just some of the many advantages that manufacturing companies may reap from adopting Industry 4.0. Due to these promising implications, it has attracted much interest from academics and ­professionals <sup>56</sup> . Emerging in the last several years, both Industry 4.0 and sustainability1 are technical and organizational advancements that are affected by or contribute to increased productivity and environmentally responsible manufacturing. Global competitiveness, fluctuating markets, demand for increasing customization through communication, information, and intelligence, and shrinking innovation and product life cycles are some of the modern difficulties that Industry 4.0 technologies aim to address. Significant opportunities and challenges for sustainable organizational and societal growth are associated with using Industry 4.0 technology. In terms of the bottom line, the advantages of flexible manufacturing include quicker set-up and delivery times, lower labor and material costs, more production flexibility, better productivity, and improved ­customization <sup>57</sup> . From a green perspective, energy and resource consumption may be lowered using Industry 4.0 technology for detection and data analysis throughout manufacturing and supply chain operations. Carbon footprint studies that are data-driven and auditable may help reduce waste and greenhouse gas emissions. Disassembling the individual parts of a product is possible by reusing, recycling, or remanufacturing ­it <sup>58</sup> . To address the current trend of research, this study employs the Taguchi optimization technique to improve the precision of the dyeing process, in tandem with machine learning to consider the potential constraints of production and impact on attaining maximum security toward sustainable textile industry 4.0 development (Fig. 9). Conclusions The current study developed a novel combined approach LSSVR model, entitled the Taguchi-integrated LSSVR model, for predicting the exhaustion percentage (E%), fixation rate (F%), and total fixation efficiency (T%), and color strength (K/S) of reactive dyed cotton fabric. The experimental results from the dyeing process were used to inform the development of this integrated model, which takes the dye dosage, dye-fixing temperature, dye-fixing time, dyebath pH, material-to-liquor ratio, and salt concentration as input. Finding the optimal circumstances for the dyeing method is crucial for optimizing the cotton fabric’s E%, F%, T%, and K/S. Predictive modeling techniques, such as LSSVR, play an important role in the procedures required to produce reactive dyed cotton textiles of the appropriate quality. Compared to the Fuzzy method, PCR, and PLSR models, the LSSVR model performed significantly better in predicting the E%, F%, T%, and K/S, as evidenced by its RMSE and MAE values being 91%–107%, 19% to 425%, 13% to 353% and 65% to 147% lower, respectively, while its ­R <sup>2</sup> values were - 650%, − 1% to 842%, 0% to − 411%, and − 4% to − 781% higher, respectively. Results suggest that the LSSVR model might be used as a prediction tool in the textile industry during the dyeing process stage. It was found that the LSSVR model has not been utilized for the cotton fabric dyeing process. Hence, the LSSVR model was introduced in this study. The results of this study show that LSSVR is suitable for the cotton fabric dyeing process, and it is recommended for other similar cases. More study is needed to determine whether or not incorporating another algorithm into the LSSVR model would enhance its prediction ability. It is also important to pay more attention to the new features and expenses connected with improving the dyeing process for cotton textiles as a prospect of the sustainable textile industry 4.0 framework. Data availability The datasets generated during the current study are available from the corresponding author on reasonable [request (Prof. Lina Lin, L. Lin), while the data set is uploaded to https://​github.​com/​pzczxs/​MLSSVR.](https://github.com/pzczxs/MLSSVR) Code availability No code was attempted or used during the current manuscript. Received: 26 April 2023; Accepted: 26 July 2023 References 1. Zhang, S. _et al._ Clean dyeing of cotton fabrics by cationic colored nanospheres. _J. Clean. Prod._ 372 [, 133712. https://​doi.​org/​10.​](https://doi.org/10.1016/j.jclepro.2022.133712) [1016/j.​jclep​ro.​2022.​133712 (2022).](https://doi.org/10.1016/j.jclepro.2022.133712) 2. Shafiq, F. _et al._ Extraction of natural dye from aerial parts of argy wormwood based on optimized Taguchi approach and functional finishing of cotton fabric. _Materials_ 14 [, 5850. https://​doi.​org/​10.​3390/​ma141​95850 (2021).](https://doi.org/10.3390/ma14195850) 3. Mahmud, S., Pervez, M. N., Taher, M. A., Mohiuddin, K. & Liu, H.-H. Multifunctional organic cotton fabric based on silver nano particles green synthesized from sodium alginate. _Text. Res. J._ 90 [, 1224–1236. https://​doi.​org/​10.​1177/​00405​17519​887532 (2020).](https://doi.org/10.1177/0040517519887532) 4. Hossain, M. Y. _et al._ Adsorption, kinetics, and thermodynamic studies of cacao husk extracts in waterless sustainable dyeing of cotton fabric. _Cellulose_ 28 [, 2521–2536. https://​doi.​org/​10.​1007/​s10570-​020-​03662-0 (2021).](https://doi.org/10.1007/s10570-020-03662-0) 5. Hossain, M. Y. _et al._ Green and sustainable method to improve fixation of a natural functional dye onto cotton fabric using cationic dye-fixing agent/D5 microemulsion. _J. Nat. Fibers._ 19 [, 11283–11298. https://​doi.​org/​10.​1080/​15440​478.​2021.​20249​33 (2022).](https://doi.org/10.1080/15440478.2021.2024933) 6. Tang, A. Y. L., Lee, C. H., Wang, Y. & Kan, C.-W. Polyethylene glycol (PEG) non-ionic surfactant-based reverse micellar dyeing of cotton fabric with hot type trichloropyrimidine (TCP)-based reactive dyes. _J. Nat. Fibers._ [https://​doi.​org/​10.​1080/​15440​478.​2022.​](https://doi.org/10.1080/15440478.2022.2131689) [21316​89 (2022).](https://doi.org/10.1080/15440478.2022.2131689) 7. Lin, L. _et al._ Influence of sequential liquid ammonia and caustic mercerization pre-treatment on dyeing performance of knit cotton fabric. _Materials_ 15 [, 1758. https://​doi.​org/​10.​3390/​ma150​51758 (2022).](https://doi.org/10.3390/ma15051758) 8. Lin, L. _et al._ Combination of pre- and post-mercerization processes for cotton fabric. _Materials_ 15 [, 2092. https://​doi.​org/​10.​3390/​](https://doi.org/10.3390/ma15062092) [ma150​62092 (2022).](https://doi.org/10.3390/ma15062092) 9. Zhang, P. _et al._ Dyeing of raw ramie yarn with Reactive Orange 5 dye. _Ind. Crops. Prod._ 176 [, 114315. https://​doi.​org/​10.​1016/j.​](https://doi.org/10.1016/j.indcrop.2021.114315) [indcr​op.​2021.​114315 (2022).](https://doi.org/10.1016/j.indcrop.2021.114315) 10. Lin, L. _et al._ Sustainable and eco-friendly dyeing of traditional grass cloth with a reactive dye in palm oil medium. _RSC. Adv._ 12, [29767–29776. https://​doi.​org/​10.​1039/​D2RA0​5736K (2022).](https://doi.org/10.1039/D2RA05736K) 11. Lin, L. _et al._ Combination of wet fixation and drying treatments to improve dye fixation onto spray-dyed cotton fabric. _Sci. Rep._ 11 [, 15403. https://​doi.​org/​10.​1038/​s41598-​021-​94885-z (2021).](https://doi.org/10.1038/s41598-021-94885-z) 12. Pervez, M. N. _et al._ A novel route to process rationalisation on cellulose dyeing. _MATEC Web Conf._ 108 [, 03005. https://​doi.​org/​](https://doi.org/10.1051/matecconf/201710803005) [10.​1051/​matec​conf/​20171​08030​05 (2017).](https://doi.org/10.1051/matecconf/201710803005) 13. Han, L. _et al._ Short clean dyeing of two-component cotton/polyamide fabrics through adaptive adjustment of the dye solution. _J._ _Clean. Prod._ 333 [, 130077. https://​doi.​org/​10.​1016/j.​jclep​ro.​2021.​130077 (2022).](https://doi.org/10.1016/j.jclepro.2021.130077) 14. Shafiq, F. _et al._ Structural relationships and optimization of resin-finishing parameters using the Taguchi approach. _Cellulose_ 25, [6175–6190. https://​doi.​org/​10.​1007/​s10570-​018-​1957-2 (2018).](https://doi.org/10.1007/s10570-018-1957-2) 15. Zhang, P. _et al._ Toward improved performance of reactive dyeing on cotton fabric using process sensitivity analysis. _Int. J. Cloth._ _Sci._ 34 [, 469–484. https://​doi.​org/​10.​1108/​IJCST-​03-​2021-​0035 (2022).](https://doi.org/10.1108/IJCST-03-2021-0035) 16. Pervez, M. N., Shafiq, F., Sarwar, Z., Jilani, M. M. & Cai, Y. Multi-response optimization of resin finishing by using a Taguchi-based grey relational analysis. _Materials_ 11 [, 426. https://​doi.​org/​10.​3390/​ma110​30426 (2018).](https://doi.org/10.3390/ma11030426) 17. Wahyudin, Kharisma, A., Murphiyanto, R. D. J., Perdana, M. K. & Kasih, T. P. Application of Taguchi method and ANOVA in the optimization of dyeing process on cotton knit fabric to reduce re-dyeing process. _IOP Conf. Ser. Earth Environ. Sci._ 109, 012023. [https://​doi.​org/​10.​1088/​1755-​1315/​109/1/​012023 (2017).](https://doi.org/10.1088/1755-1315/109/1/012023) 18. Hossain, M. Y. _et al._ Effluent-free deep dyeing of cotton fabric with cacao husk extracts using the Taguchi optimization method. _Cellulose_ 28 [, 517–532. https://​doi.​org/​10.​1007/​s10570-​020-​03525-8 (2021).](https://doi.org/10.1007/s10570-020-03525-8) 19. Yeo, W. S. & Lau, W. J. Predicting the whiteness index of cotton fabric with a least squares model. _Cellulose_ 28 [, 8841–8854. https://​](https://doi.org/10.1007/s10570-021-04096-y) [doi.​org/​10.​1007/​s10570-​021-​04096-y (2021).](https://doi.org/10.1007/s10570-021-04096-y) 20. Guo, Z. & Bai, G. Application of least squares support vector machine for regression to reliability analysis. _Chin. J. Aeronaut._ 22, [160–166. https://​doi.​org/​10.​1016/​S1000-​9361(08)​60082-5 (2009).](https://doi.org/10.1016/S1000-9361%0x2808%0x2960082-5) 21. Ahmad, S., Miskon, S., Alabdan, R. & Tlili, I. Towards sustainable textile and apparel industry: Exploring the role of business intelligence systems in the era of industry 4.0. _Sustainability_ 12 [, 2632. https://​doi.​org/​10.​3390/​su120​72632 (2020).](https://doi.org/10.3390/su12072632) 22. Ribeiro, R. _et al._ In _Artificial Intelligence Applications and Innovations._ (eds Maglogiannis, I., Iliadis, L., & Pimenidis, E.) 244–255 (Springer International Publishing). 23. Tsai, W.-H. Green production planning and control for the textile industry by using mathematical programming and industry 4.0 techniques. _Energies_ 11 [, 2072. https://​doi.​org/​10.​3390/​en110​82072 (2018).](https://doi.org/10.3390/en11082072) 24. He, Z., Tran, K.-P., Thomassey, S., Zeng, X. & Yi, C. _Developments of Artificial Intelligence Technologies in Computation and Robotics_ 550–557. 25. Neill, S. P. & Hashemi, M. R. Ocean modelling for resource characterization. In _Fundamentals of Ocean Renewable Energy_ (eds Neill, S. P. & Reza Hashemi, M.) 193–235 (Academic Press, 2018). 26. Yeo, W. S., Saptoro, A. & Kumar, P. Adaptive soft sensor development for non-Gaussian and nonlinear processes. _Ind. Eng. Chem._ _Res._ 58 [, 20680–20691. https://​doi.​org/​10.​1021/​acs.​iecr.​9b038​21 (2019).](https://doi.org/10.1021/acs.iecr.9b03821) 27. Thien, T. F. & Yeo, W. S. A comparative study between PCR, PLSR, and LW-PLS on the predictive performance at different data splitting ratios. _Chem. Eng. Commun._ 209 [, 1439–1456. https://​doi.​org/​10.​1080/​00986​445.​2021.​19578​53 (2022).](https://doi.org/10.1080/00986445.2021.1957853) 28. Yeo, W. S., Saptoro, A. & Kumar, P. Missing data treatment for locally weighted partial least square-based modelling: A comparative study. _Asia-Pac. J. Chem. Eng._ 15 [, e2422. https://​doi.​org/​10.​1002/​apj.​2422 (2020).](https://doi.org/10.1002/apj.2422) 29. Yeo, W. S. _2021 International Conference on Green Energy, Computing and Sustainable Technology (GECOST)._ 1–5 (IEEE). 30. Ngu, J. C. Y. & Yeo, C. A comparative study of different kernel functions applied to LW-KPLS model for nonlinear processes. _Biointerface. Res. Appl. Chem._ 13 [, 184. https://​doi.​org/​10.​33263/​BRIAC​132.​184 (2022).](https://doi.org/10.33263/BRIAC132.184) 31. Zhao, J. _et al._ A heterogeneous binary solvent system for recyclable reactive dyeing of cotton fabrics. _Cellulose_ 25, 7381–7392. [https://​doi.​org/​10.​1007/​s10570-​018-​2069-8 (2018).](https://doi.org/10.1007/s10570-018-2069-8) 32. Sela, S. K., Nayab-Ul-Hossain, A. K. M., Rakib, M. S. I. & Niloy, M. K. H. Improving the functionality of raw cotton: Simultaneous strength increases and additional multi-functional properties. _Heliyon_ 6 [, e04607. https://​doi.​org/​10.​1016/j.​heliy​on.​2020.​e04607](https://doi.org/10.1016/j.heliyon.2020.e04607) (2020). 33. Abidi, N. _et al._ Evaluating cell wall structure and composition of developing cotton fibers using Fourier transform infrared spec troscopy and thermogravimetric analysis. _J. Appl. Polym. Sci._ 107 [, 476–486. https://​doi.​org/​10.​1002/​app.​27100 (2008).](https://doi.org/10.1002/app.27100) 34. Abidi, N., Cabrales, L. & Hequet, E. Fourier transform infrared spectroscopic approach to the study of the secondary cell wall development in cotton fiber. _Cellulose_ 17 [, 309–320. https://​doi.​org/​10.​1007/​s10570-​009-​9366-1 (2010).](https://doi.org/10.1007/s10570-009-9366-1) 35. French, A. D. Idealized powder diffraction patterns for cellulose polymorphs. _Cellulose_ 21 [, 885–896. https://​doi.​org/​10.​1007/​](https://doi.org/10.1007/s10570-013-0030-4) [s10570-​013-​0030-4 (2014).](https://doi.org/10.1007/s10570-013-0030-4) 36. Naikwade, M., Liu, F., Wen, S., Cai, Y. & Navik, R. Combined use of cationization and mercerization as pretreatment for the deep dyeing of ramie fibre. _Fibers Polym._ 18 [, 1734–1740. https://​doi.​org/​10.​1007/​s12221-​017-​5512-9 (2017).](https://doi.org/10.1007/s12221-017-5512-9) 37. Yang, Y. & Hughes, J. E. Reactive tendering: The electron-withdrawing inductive effect of reactive dyes on acid hydrolysis of β-1, 4-glucosidic bonds. _Textile Chem. Color._ 29, 23–29 (1997). 38. Amin, M. N. & Blackburn, R. S. Sustainable chemistry method to improve the wash-off process of reactive dyes on cotton. _ACS._ _Sustain. Chem. Eng._ 3 [, 725–732. https://​doi.​org/​10.​1021/​acssu​schem​eng.​5b000​34 (2015).](https://doi.org/10.1021/acssuschemeng.5b00034) 39. Hasan, B. M. S. & Abdulazeez, A. M. A review of principal component analysis algorithm for dimensionality reduction. _J. Soft_ _Comput. Data Min._ 2, 20–30 (2021). 40. de Andrade, L. _et al._ Impact of socioeconomic factors and health determinants on preterm birth in Brazil: A register-based study. _BMC Pregnancy Childbirth_ 22 [, 872. https://​doi.​org/​10.​1186/​s12884-​022-​05201-0 (2022).](https://doi.org/10.1186/s12884-022-05201-0) 41. Ferreira, E., Macedo, E., Fernandes, P., Bahmankhah, B. & Coelho, M. C. Biplots of kinematic variables and pollutant emissions for an intercity corridor. _Transp. Res. Procedia_ 62 [, 680–687. https://​doi.​org/​10.​1016/j.​trpro.​2022.​02.​084 (2022).](https://doi.org/10.1016/j.trpro.2022.02.084) 42. Lin, L. _et al._ Sustainable traditional grass cloth fiber dyeing using the Taguchi L16 ­(4 <sup>4</sup> ) orthogonal design. _Sci. Rep._ 12, 13833. [https://​doi.​org/​10.​1038/​s41598-​022-​18213-9 (2022).](https://doi.org/10.1038/s41598-022-18213-9) 43. Cai, Y. _et al._ Improved reactive dye fixation on ramie fiber in liquid ammonia and optimization of fixation parameters using the Taguchi approach. _Dyes Pigments_ 183 [, 108734. https://​doi.​org/​10.​1016/j.​dyepig.​2020.​108734 (2020).](https://doi.org/10.1016/j.dyepig.2020.108734) 44. Singla, P., Duhan, M. & Saroha, S. Review of different error metrics: A case of solar forecasting. _AIUB. J. Sci. Eng._ 20, 158–165. [https://​doi.​org/​10.​53799/​ajse.​v20i4.​212 (2021).](https://doi.org/10.53799/ajse.v20i4.212) 45. Ozili, P. K. _Social Research Methodology and Publishing Results: A Guide to Non-native English Speakers_ 134–143 (IGI Global, 2023). 46. Veerasamy, R. _et al._ Validation of QSAR models-strategies and importance. _Int. J. Drug Des. Discov_ 3, 511–519 (2011). 47. Aditya Satrio, C. B., Darmawan, W., Nadia, B. U. & Hanafiah, N. Time series analysis and forecasting of coronavirus disease in Indonesia using ARIMA model and PROPHET. _Procedia. Comput. Sci._ 179 [, 524–532. https://​doi.​org/​10.​1016/j.​procs.​2021.​01.​036](https://doi.org/10.1016/j.procs.2021.01.036) (2021). 48. Kovac, P., Rodic, D., Pucovsky, V., Savkovic, B. & Gostimirovic, M. Application of fuzzy logic and regression analysis for modeling surface roughness in face milliing. _J. Intell. Manuf._ 24 [, 755–762. https://​doi.​org/​10.​1007/​s10845-​012-​0623-z (2013).](https://doi.org/10.1007/s10845-012-0623-z) 49. Yeo, W. S., Chan, M. K. & Bukhari, N. A. In _International Conference on Intelligent Computing & Optimization._ (eds Vasant, P., Zelinka, I., & Weber, G.W.) 927–937 (Springer, Cham). 50. Du, C., Wei, J., Wang, S. & Jia, Z. Genomic selection using principal component regression. _Heredity_ 121 [, 12–23. https://​doi.​org/​](https://doi.org/10.1038/s41437-018-0078-x) [10.​1038/​s41437-​018-​0078-x (2018).](https://doi.org/10.1038/s41437-018-0078-x) 51. Dankers, F., Traverso, A., Wee, L. & van Kuijk, S. (Dekker A., Springer International Publishing, Cham). 52. Schober, P., Boer, C. & Schwarte, L. A. Correlation coefficients: Appropriate use and interpretation. _Anesth. Analg._ 126, 1763–1768 (2018). 53. Choi, S., Kim, Y. J., Briceno, S. & Mavris, D. _2016 IEEE/AIAA 35th Digital Avionics Systems Conference (DASC)_ 1–6 (IEEE). 54. Yeo, W. S. & Sung, A. N. _2021 International Conference on Green Energy, Computing and Sustainable Technology (GECOST)._ 1–4 (IEEE). 55. Mesbah, M., Soroush, E. & Rezakazemi, M. Development of a least squares support vector machine model for prediction of natural gas hydrate formation temperature. _Chin. J. Chem. Eng._ 25 [, 1238–1248. https://​doi.​org/​10.​1016/j.​cjche.​2016.​09.​007 (2017).](https://doi.org/10.1016/j.cjche.2016.09.007) 56. Ghoreishi, M. & Happonen, A. _Proceedings of 6th International Congress on Information and Communication Technology._ (eds Yang, X.-S., Sherratt, S., Dey, N., & Joshi, A.) 189–200 (Springer). 57. Küsters, D., Praß, N. & Gloy, Y.-S. Textile learning factory 4.0—Preparing Germany’s textile industry for the digital future. _Procedia._ _Manuf._ 9 [, 214–221. https://​doi.​org/​10.​1016/j.​promfg.​2017.​04.​035 (2017).](https://doi.org/10.1016/j.promfg.2017.04.035) 58. Majumdar, A., Garg, H. & Jain, R. Managing the barriers of Industry 4.0 adoption and implementation in textile and clothing industry: Interpretive structural model and triple helix framework. _Comput. Ind._ 125 [, 103372. https://​doi.​org/​10.​1016/j.​compi​nd.​](https://doi.org/10.1016/j.compind.2020.103372) [2020.​103372 (2021).](https://doi.org/10.1016/j.compind.2020.103372) Acknowledgements This work was financially supported by the China National Textile& Apparel Council (2013‘‘Textile Vision’’ Applied Basic Research, 2013-153). Besides, we would like to express our sincere gratitude for the support from the Sanitary Environmental Engineering Division (SEED) and grants (FARB projects) from the University of Salerno, Italy, coordinated by V. Naddeo. Grant Number: 300393FRB22NADDE. Author contributions M.N.P., Y.C. done all the experimental work and wrote the experimental and results parts. M.N.P. W.S.Y. Y.C. written and edited the abstract, introduction and literature review. L.L. X.X. V.N. Funding acquisition, Project administration, Supervision, Writing – review & editing. and all authors reviewed the manuscript. Competing interests The authors declare no competing interests. Additional information Supplementary Information [The online version contains supplementary material available at https://​doi.​org/​](https://doi.org/10.1038/s41598-023-39528-1) [10.​1038/​s41598-​023-​39528-1.](https://doi.org/10.1038/s41598-023-39528-1) Correspondence and requests for materials should be addressed to L.L., X.X. or V.N. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from [the copyright holder. To view a copy of this licence, visit http://​creat​iveco​mmons.​org/​licen​ses/​by/4.​0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2023

섹션 본문 35문단 · 37,034자

(제목 없음)

1The typical textile dyeing process calls for a wide range of operational parameters, and it has always been difficult to pinpoint which of these qualities is the most important in dyeing performance. Consequently, this research used a combined design of experiments and machine learning prediction models' method to offer a sustainable and beneficial reactive cotton fabric dyeing process. To be more precise, we built a least square support vector regression (LSSVR) model based on Taguchi's statistical orthogonal design (L 27 ) to predict exhaustion percentage (E%), fixation rate (F%), and total fixation efficiency (T%) and color strength (K/S) in the reactive cotton dyeing process. The model's prediction accuracy was assessed using many measures, including root mean square error (RMSE), mean absolute error (MAE), and the coefficient of determination (R 2 ). Principal component regression (PCR), partial least square regression (PLSR), and fuzzy modelling were some of the other types of regression models used to compare results. Our findings reveal that the LSSVR model greatly outperformed competing models in predicting the E%, F%, T%, and K/S. This is shown by the LSSVR model's much smaller RMSE and MAE values. Overall, it provided the highest possible R 2 values, which reached 0.9819.Although various synthetic fibers have been developed, cotton remains the world's most significant natural textile fiber because of its exceptional tensile strength, moisture absorption, softness, air permeability, hand feel, and water sorption qualities. The yearly consumption rate of cotton fibers has been breaking records for some time now 1-3 . Cotton also preserves its natural physical qualities despite being subjected to a wide range of dry, wet, and chemical treatments, and it is hydrophilic and alkali resistant. Based on this, cotton fabric has been used widely in producing colored (dyeing) fabrics with respect to its structural characteristics 4, 5 . Reactive dyes have historically been the dyestuff of choice for cotton fiber dyeing due to their many advantages, including excellent colorfastness, repeatability, a broad range of colors, vivid color, convenience, and ease of application. The reactive species in the dye molecules establish covalent connections with the hydroxyl species of the cellulose by nucleophilic substitution or the Michael addition process, resulting in a high color strength property 6-9 .Conventional reactive dyeing of a cotton fabric involves a series of process parameters salt concentration, dye mass, dye temperature, solution pH, material-to-liquor ratio, and time to achieve a maximum color strength property10,11. Typically, these parameters can substantially impact the amount of chemicals, energy spent, and expenses associated with the dying process throughout the process of dyeing textiles. Most cotton fabric dyeing parameters are based on prior experience rather than a scientific process. Depending on which dyeing parameters are used with a given dyeing formulation, a wide range of performance metrics related to the dyeing process may be attained. The usual approach to process optimization involves modifying one parameter at a time while keeping the others at their current levels. This allows the effect of a single parameter to be studied while keeping the overall optimization intact. On top of that, substantial amounts of time, effort, and experimentation are OPEN

2required. Furthermore, this method may provide inaccurate outcomes, such as the belief that interaction effects cannot be observed, making it difficult to ascertain process parameters' performance 12,13 . Therefore, process optimization by systematically dyeing cotton fabric in the presence of reactive dyes is a relevant factor in commercial dyeing operations.

3With this in mind, a computational tool that can optimize conditions for achieving the desired color strength of the reactive dyed cotton fabric at the lowest production cost may significantly contribute to textile dye assembly, reducing chemical inputs, process time, and economic expenses. In this scenario, the design of experiments, commonly referred to as DOE, is a technique that uses a systematic approach to establish a connection between the factors that affect the outcome of a process and the factors that affect the outcome of the process. The DOE methodology may generally be classified into two distinct categories: the complete factorial design and the Taguchi experimental design. The entire factorial design process involves evaluating and analyzing every potential combination of parameter values. When conducting research using a Taguchi experimental design, one only considers selected levels for assessment. As a result of the use of an orthogonal array (OA) architecture, the Taguchi method is regarded as a reliable approach. The OA can quantitatively determine the appropriate parameters and levels, and it is used to reduce the number of trials, the time of the experiments, the cost, and the quantity of necessary human energy [14][15][16] . Wahyudin et al. 17 employed an L9 orthogonal array design using ANOVA analysis as the primary statistical technique to improve the cotton knit fabric dying process, This research confirms that using Taguchi is critical to shortening the re-dyeing stage. According to the research of 2 a natural dye may be extracted using an L25 Taguchi methodology under ideal circumstances, and this method can then be used to color cotton fabrics. Hossain et al. 18 adopted a Taguchi design based on an orthogonal array of L9 designs to conduct the deep dyeing of cotton fabric using cacao husk extract to optimize the exhaustion percentage. While this Taguchi model is useful for analyzing data within narrow ranges, it cannot provide reliable predictions for process parameters beyond those limits.

4In accelerating the performance of statistical optimization techniques, machine learning (ML) is being used in various fields to speed up these operations and minimize the time and price of simulation. Least square support vector regression models (LSSVRs) are an example of a machine learning model that may get insights directly from data and comprehend how they operate with a wide range of inputs. Most notably, the LSSVR model shows excellent predictive power in determining the expected value of the target output variable in the context of nonlinear data. The LSSVR model is a nonlinear prediction method based on support vector machine theory (SVM). When it comes to decreasing the computational burden associated with reducing the number of viable classes, LSSVR delivers a more efficient response than the SVM by applying a separate set of linear equations in dual space 19,20 . In recent years, academics from a broad range of disciplines have devoted increasing amounts of attention and interest throughout the course of many years. As such, the revolution of the textile industry 4.0 concept is strongly in line with the adaptation of machine learning so as to maintain sustainability and competence in the market 21 . With the inclusion of ML, textile industries' production, especially dyeing sections, can greatly benefit from human interaction with the interface of intelligent computer-directed tools to enhance production effectiveness. Previous studies have emphasized the importance of ML in the textile industry; for example, Ribeiro et al. 22 applied automated machine learning in the textile design and finishing features to predict the physical properties of cotton woven fabric. Tsai 23 underlines sustainable production planning and control strategies using machine learning programming to develop the textile industry 4.0 approach. Similarly, He et al. 24 used a machine learning-based decision support system for controlling the textile manufacturing process. However, the application of machine learning for the textile dyeing process is rarely reported, which deserves further investigation.

5The Taguchi method and machine learning are two different approaches used in various fields. This study uses Taguchi Method to design experiments focusing on parameter optimization and robust design. Even Taguchi based on a table can predict other data, but the Taguchi model is useful for analyzing data within narrow ranges, it cannot provide reliable predictions for process parameters beyond those limits. Hence, this study uses the machine learning model based on Taguchi's statistical orthogonal design to make the prediction. Given it, the present study combined the Taguchi orthogonal model with the LSSVR model for predicting the cotton fabric coloration properties via an industrial dyeing procedure for the first time in the literature. After that, the accuracy of the LSSVR is figured out by calculating the coefficient of determination, also known as R 2 , the root mean square error (RMSE), and the absolute mean error (MAE). In addition, the results are compared to those generated by employing models of the fuzzy model, principal component regression (PCR), and partial least square regression (PLSR) to gain a deeper comprehension of the predictive qualities these models possess.

Experimental

6Materials and reagents. This study was conducted with 100% pure bleached cotton plain-weave fabric (140 g m −2 , yarn count 40s Ne) obtained from Jiangnan Group Co., Ltd., China. Commercial dye C. I. Reactive Blue 194 (Table S1) was bought from Shanghai Jiaying Chemical Company, China. The nonionic detergent known as Luton 500 was acquired from the Dalton UK Company. The electrolyte (NaCl, 99.5%) and the alkali (Na 2 CO 3 , 99.8%) arrived from Sinopharm Chemical Reagent Co., Ltd., in Shanghai, China, 200002. Besides these chemicals, all other reagents and chemicals used in the experiment were typically laboratory-quality items.

7Computer-aided dyeing process. Taguchi-based optimization approach. Before beginning the Taguchi analysis, we established the response functions and the independent, manipulated variables. After that, the number of levels for the independent variables was decided. Minitab®17 statistical software was used to develop Taguchi's orthogonal array-based design of experiments (OA L 27 ) (Minitab Inc, Coventry, UK). Tables S2 and S3 provide a detailed overview of the experimental design used to conduct the 27 separate tests across 6 different variables and 3 different factor levels 15 (Fig. 1). The dyebath was prepared by adding sodium chloride at 20 °C, heating, and sodium carbonate. The soaping procedure washed away unfixed dyes. Nonionic detergent (Luton 500, Dalton UK Co.), 2 g L −1 , was used in the rotary infrared sample dyeing machine's soap washing procedure at a material-to-liquor ratio of 1:10 and a temperature of 95 °C for 15 min (Fig. S1). After being washed with soap, the coloured samples were dried in an oven at 80 °C for 30 min.

8Machine learning approach. A total of 27 datasets were adopted from the dyeing process parameters of cotton fabric. These parameters included the dye dosage, dye-fixing temperature, dye-fixing time, dyebath pH, material-to-liquor ratio, salt concentration, and their responses, which included exhaustion percentage (E%), fixation rate (F%), total fixation efficiency (T%), and color strength (K/S). Once the data was uploaded into MATLAB, it was split 80/20 between the training and testing sets (Table S3). Figure 2 shows the general layout of the four different regression models (PCR, PLSR, Fuzzy approach, and LSSVR) used to predict E%, F%, T%, and K/S values. Models like PCR, PLSR, the fuzzy method, and LSSVR are developed using the training data, as shown in Fig. S2. The models' progress was evaluated using the same models used during training and testing; they included the PCR, PLSR, Fuzzy method, and LSSVR models. The root-mean-square error (RMSE), mean absolute error (MAE), and correlation coefficient (R 2 ) values of each available regression model were calculated and compared. A rundown of the many parameter configurations for the PCR, PLSR, Fuzzy approach, and LSSVR models is provided in Table 1. The notations N T , N 1 , and N 2 refer to the total number of datasets used for training, the number of datasets used for testing, and the number of latent variables. Meanwhile, the tuning parameters used in the LSSVR model are represented by the symbols γ, λ, and p. These symbols are referred to as www.nature.com/scientificreports/ the LSSVR model parameters. The datasets for this cotton fabric dyeing process are available in the supplementary file. Moreover, even though the available models were used, the dataset is still required to train the available models to develop the models, particularly for this cotton fabric dyeing process.

9Analysis of prediction behaviour. The root-mean-square error, often known as RMSE, is a scale-dependent defect metric that significantly determines whether a prediction model is effective 25 . Because it allowed comparisons across alternative configurations for a single variable, this metric was used to determine whether or not the data splitting ratio was appropriate. To put it another way, root-mean-square error (RMSE) is a statistic that assesses how far a model strays from the correct answers, with a lower value suggesting that a prediction has a higher degree of accuracy. The RMSE is calculated by taking the root square of the total squared differences between the actual output and the projected output 25 . Alternatively, it might be seen as an indicator of the disparities between the expected values and those observed. When this is considered, a lower RMSE suggests greater accuracy and ability to forecast outcomes. The RMSE formula is shown here as Eq.

10(1) 26 .

11The Y i shown here signifies the actual output, whereas the Ŷ i denotes the predicted output, and n is the total number of samples taken.

12The MAE, as shown in Eq. (2), is a statistic that considers neither the directionality nor the severity of errors when evaluating a set of predictions. This value is the weighted mean of the absolute differences between the expected and actual observations for all the test data set observations.

13where represents the summation.

14The coefficient of determination, or R 2 , measures how well a regression model accounts for a certain dataset's variation in the target variable 25 . R 2 is a statistical measure of the "goodness of fit" between a regression model's observed and expected values. Its worth may range from zero to one 27 . If it's near one, the inputs selected should produce the desired output; if it's farther away, the fit might need some work. The coefficient of determination (R 2 ) is found by comparing the sum of squared errors to the sum of squared deviations from the mean of the variable in question. The level of similarity between observed and predicted data is quantified by a statistic called R 2 . Full details of the formula are given in Eq. (3) 28 .

15More specifically, Eq. (4) 29 provides a mathematical description of the prediction error (PE) that is put to use. We investigate the error of approximation, indicated by Ea, and compute Ea using Eq. (5) 30 to provide a quantitative demonstration of the predictive abilities of E%, F%, T%, and K/S values.

16where V 1 and V 2 represent the target and actual values, respectively. In training and testing datasets, RMSE 1 and RMSE 2 represent the RMSE, while MAE 1 and MAE 2 represent the MAE.

Measurements and characterization.

17With the use of a UV-visible spectrophotometer (TU-1900 UV-Vis, PERSEE, China), the light absorbance values of the dyebath solution before and after dyeing, as well as the leftover soaping solution, were measured and recorded at the wavelength of maximum absorption, which was 560 nm. Using Eqs. (6)-(8) 18 , we determined the dye exhaustion percentage (E%), fixation rate (F%), and total fixation efficiency (T%). www.nature.com/scientificreports/ where the light absorbances of the dyebath before dyeing, after dyeing, and the remaining soaping solution is denoted by Ao, At, and As, respectively. A reflectance spectrophotometer was used to evaluate the color strength, denoted by the K/S ratio, of dyed fabric samples taken randomly from twenty different locations (CHN-Spec CS-650A, Hangzhou Color Spectrum Technology Company, China). The value of the color strength was determined by measuring it at the wavelength at which the dye absorbed the lightest, and the value of the color strength as an average has been presented here.

18The surface morphology of the undyed and dyed fabrics was analyzed using Phillips's scanning electron microscope instrument (FE-SEM, Germany). The sample preparation for scanning electron microscopy was carried out as usual. The samples were individually fastened on a standard sample holder after the fabrics were trimmed to sizes no bigger than 1 cm 2 each. 10 kV was the acceleration voltage, while the working distance was between 15 and 17 mm. A coating of gold was sputtered onto the surfaces of the samples before they were analyzed using SEM. A Nicolet iS5 FT-IR spectroscopy (Thermo Fisher Scientific, USA) was used in order to perform an FTIR study on the undyed and dyed fabrics. In order to investigate the crystallinity behaviour, the X-ray diffraction patterns of the undyed and RB 194-dyed cotton fabric were measured using a Rigaku Ultima III X-ray diffractometer (Tokyo, Japan). The materials were meticulously scissored down to a powdery consistency in preparation for the examination. After that, the powder was placed in a laboratory hydraulic pressing machine and subjected to a static pressure of 127 MPa for sixty seconds to create a circular disc. The sample disc was then put on the holder of the equipment, and the diffraction pattern was recorded with a 2θ angle range from 10 to 80 o , having a step size of 0.02° under CuKα radiation (λ = 1.54056 Å).

Results and discussion

19Dyeing process optimization. Process optimization is important in controlling the process to obtain the targeted results. In general, textile dyeing is a complex process equipped with a manufacturing plant functionoriented and requires various steps to maintain the operation performance. According to the Taguchi design (L 27 ) (Table S3) in Minitab software, an experiment was conducted to ensure the repetitiveness of the dyeing process. Based on the S/N ratio analysis, optimized parameters for each response, i.e., E% (

20Characterization. The characterization details were measured for the undyed and optimized samples to gain better insights into the dyeing process. The scanning electronic microscope (SEM) was used to investigate the surface morphology of undyed and optimized RB 194-dyed cotton fabrics. The undyed cotton fabric had a seemingly smooth surface patterned with distinctive grooves unique to cotton fibers (Fig. 3a). As a comparison, an SEM image of cotton fabric dyed with RB 194 under optimized conditions showed a similar structure (Fig. 3b), with a smoother surface than the cotton fabric dyed with the undyed sample. This suggests that the dyeing process did not create any discernible alterations in the cotton fabric 31 .

21The variety of functional groups in both the undyed and conditionally optimized RB 194-dyed sample was analyzed using Fourier transform infrared spectroscopy. For the undyed sample (Fig. 4a), a dominating peak at 3423 cm −1 may indicate an O-H stretching vibration. Subsequently, the asymmetric stretching vibration of CH 2 groups may account for a peak of about 2920 cm −1 . The C=C stretching vibration of aromatic groups corresponds to the absorption peak found at 1652 cm −132 . The possibility exists that the C-C stretching vibration and the C-H bend stretching vibration are both present in the examined sample since there is a peak at 1458 cm −133 . The existence of a C-O stretching vibration can be indicated by the peak at 1058 cm −134 . Considering the optimized conditioned RB 194-dyed sample, the primary characteristic peaks were still intact, and the dyeing procedure did not develop any new peaks, suggesting that the aqueous reactive dyeing medium was appropriate for cotton fabric. 35 . The XRD patterns show that the dyeing procedure did not affect the crystallinity of the cotton. During dyeing, the cellulosic fibers were swollen well, which swelling only occurred in the amorphous zone. Thus, the reactive blue 194 dyes were adsorbed in the amorphous area and the surface of the crystallinity zone. Subsequently, the dyes were fixed with the free hydroxyl groups of cellulosic fiber under the fixation conditions. In order to promote the dyeability of cotton fiber, caustic mercerlization and liquid ammonia treatment 7 were widely applied because both treatments can damage the crystalline structure of the cotton fiber, i.e., an increase of the amorphous zone, thereby increasing the dye adsorption and fixation rate 36 .

22The Reactive Blue 194 was adsorbed in cotton fiber and then fixed in cotton fiber via a covalent bond between the reactive group of dye and the hydroxyl group of cellulose after the addition of alkali at the target temperature. The dye fixation mechanism is shown in Fig. 5. Reactive Blue 194 (component a in Fig. 5) is a bifunctional reactive dye with one monochlorotriazinyl group and one vinyl sulphone sulfate; the latter is more reactive than the former 37 . After the addition of alkali, many hydroxyl groups of cellulose (component b in Fig. 5) were changed to cellulosate group (cellulose-O − ), which is more nucleophilic; meanwhile, the reactive groups became excited. During the dye fixation, the vinyl sulphone sulfate was transferred to the vinyl sulphone group and then reacted with cellulosate to form a covalent bond (component c in Fig. 5). The monochlorotriazinyl group also covalently www.nature.com/scientificreports/ bonded with cellulosate (component d in Fig. 5). Also, both reactive groups may form covalent bonds with cellulosate (component e in Fig. 5). These covalent bonds contributed to the high performance of the colorfastness to washing dyed cotton fabric 38 .

Principal component analysis for feature selection. Principal component analysis (PCA) is a dimen-

23sional deduction method for unsupervised feature selection based on eigenvectors analysis computing principal components to identify critical original features 39 . In other words, PCA is a method for feature selection that selects variables according to the magnitude (from biggest to smallest in absolute values) of their PCA coefficients or loadings. These coefficients or loadings are the covariances or correlations between the original variables. The larger values denote that a variable has a stronger effect on that principal component and is more important to the corresponding variable 40 . Based on the results from PCA, the variances for the input variables involving the dye dosage, dye-fixing temperature, dye-fixing time, dyebath pH, material-to-liquor ratio, and salt concentration are 276.9231, 69.2308, 69.2308, 2.7692, 0.6923, and 0.0017, respectively. Therefore, the first four input variables, dye dosage, dye-fixing temperature, dye-fixing time, and dyebath pH, are important and capture 99.83% of the variation. Figure 6 depicts the PCA biplot illustrating how strongly each characteristic influences a principal component. This PCA biplot explores and visualizes the relationship and correlation between the variables 41 . From Fig. 6, it can be seen obviously that the scales of the first four variables, including the dye dosage, dye-fixing temperature, dye-fixing time, dyebath pH, material-to-liquor ratio, and salt concentration, appear relatively higher (have a long distance from the origin). These results are identical to the calculated variances from that PCA in which they indicate that these variables have a significant portion of the variance in the data. Moreover, the principal component scores and loadings for the first two principal components are illustrated in Fig. 6. The axes show the principal component scores, and the vectors are the loading vectors that represent the loading pair per the original variable. It can simply be said that most variables, including the material-to-liquor ratio, pH, temperature, salt concentration, colour strength, and exhaustion percentage, are in the same direction as PC1; hence, they positively correlate with PC1. Meanwhile, the time and dye dosage have the same direction as PC2, indicating they are positively correlated with PC2.

24Modelling assessment. Estimates of the dyed cotton fabric's qualities, such as E%, F%, T%, and K/S values, may be calculated using predictive modelling tools, such as the LSSVR model, combined with the dyeing process parameters. In the past, there have only been a few studies that focused on modelling the dying process within the context of a statistical design 18,42,43 . Nevertheless, these predictions can only be made using this method within the bounds of the data that has been supplied. Therefore, in this research, various machine learning models, such as LSVVR, Fuzzy approach, PLSR, and PCR, were developed to overcome the drawbacks of this mathematical modelling methodology by using the characteristics associated with the dyeing process.

25The results of the previously described machine-learning models for E%, F%, T%, and K/S, respectively, are summarized in Tables 2, 3, 4, and 5 for convenience. In this work, a model's performance was quantified using three widely used error metrics, including RMSE, MAE, and R2, to exclude any possibility of bias in the evaluation of the model's performance 44 . Tables 2, 3, 4, and 5 show that the training data's error metrics are RMSE 1 , MAE 1 , R 1 2 , whereas the testing data's error metrics are RMSE 1 , MAE 1 , and R 2 2 . According to Table 2, the LSSVR model performed the best compared to the other models, even though its R 2 is slightly lower than the fuzzy method for E% in its predictions. The PCR and PLSR models came in second www.nature.com/scientificreports/ www.nature.com/scientificreports/ and third, respectively, particularly for those models' training data applications. Compared to the other models, the LSSVR model's RMSE and MAE values are 91% to 107% lower than those of the other models (as shown in Table 2). Consequently, the LSSVR model continues to provide the best overall results. The LSSVR model has R 2 values that are, except the R 1 2 value in Table 2, − 650% better than those of the Fuzzy technique, the PCR model, and the PLSR model.

26In addition, Table 3 shows that the F% predictions made by the LSSVR model were the most accurate, followed by those made by the Fuzzy technique, the PLSR model, and the PCR model. In Table 3, the LSSVR model has lower RMSE and MAE values (by 19% to 425%) and higher R 2 (by − 1% to 842%) than the Fuzzy approach, PCR, and PLSR models. Further, Table 4 shows that the LSSVR model, followed by the Fuzzy technique, the PLSR model, and the PCR model, has the best T% prediction accuracy. Table 4 demonstrates that compared to the Fuzzy method, PCR, and PLSR models, the LSSVR model has lower RMSE and MAE values by 13% to 353% and a higher R 2 by 0% to − 411%. In a similar vein, the LSSVR model fared better than the other models for K/S shown in Table 5 since it had lower RMSE and MAE values (by 65% to 147%, respectively) and a higher R 2 (by − 4% to − 781%, respectively) than the Fuzzy approach, PCR, and PLSR models.

27The LSSVR model outperformed the other models in Tables 2, 3, 4 and 5 because it includes an extra modelthe leave-one-out cross-validation model-that finds the optimal tuning parameters for prediction 29 . Furthermore, the nonlinear experimental data is mapped onto a higher dimensional space that may produce a better forecast thanks to the LSSVR model's usage of the renowned kernel function, the radial basis function. Also, besides the LSSVR model, the rest of the models have very low R 2 values for both training and testing datasets, indicating that these models performed poorly for this cotton fabric dyeing process. The R 2 values for the LSSVR model are between 0.6606 and 0.9819, which are higher than the benchmarked or acceptable R 2 value reported by Ozili 45 and Veerasamy et al. 46 .

28Tables 2, 3, 4 and 5 show that the Fuzzy approach implemented in MATLAB's fuzzy logic designer program yields superior results when used on training data. However, the fuzzy technique had the worst results for testing data, with R 2 2 for E%, F%, T%, and K/S all being negative. This indicates the fuzzy method has a very poor prediction ability. According to Satrio et al. 47 , negative R 2 values indicate a large gap between the observed and predicted values; in this case, the fuzzy technique in this investigation yielded extremely dissimilar results. This is because the training data creates rules and criteria that form the basis of the fuzzy method's membership function, fuzzy logic operators, and if-then statements 19 . An assortment of fuzzy rules, a database detailing the membership functions used by the fuzzy rules, and a reasoning mechanism outlining the inference path upon the rules to adopt projected data are the three parts of this framework 48 . As a consequence, the fuzzy technique fails to provide satisfactory results if the testing data differs from the training data. Tables 2, 3, 4 and 5 show that the findings from the PCR and PLSR models are quite comparable, although the PLSR model incorporates both the input and output variables. In contrast, the PCR model only uses the input variables 29,49 . The similarity in their findings might be attributed to the assumption that the input factors are equally crucial to the prediction accuracy 27 . Both the PCR and the PLSR models were superior to the fuzzy technique when dealing with the testing data, although producing comparable outcomes. This is because PCR and PLSR models are dimension deduction techniques, which means they utilize the training data to fit one or more response variables (predictability variables) 50 . From Tables 2, 3, 4 and 5, notice that there is no condition where the model performed well on the training data but did not perform well on the testing data 51 . Hence, it can be assured that no model is overfitted.

29Moreover, from Tables 2, 3, 4 and 5, the Fuzzy method, PLSR, and PCR gave negative R 2 values, which indicate negative correlations, where the values of one variable tend to increase when the values of the other variable decrease 52 . Also, these negative R 2 values mean that the Fuzzy method, PLSR, and PCR performed poorly and are unsuitable for the cotton fabric dyeing process.

30Predictivity assessment. In addition to assessing the model's performance using three error metrics, Fig. 7a-h with error bars for the actual data compare the prediction results for E%, F%, T%, and K/S from the PCR, PLSR, Fuzzy approach, and LSSVR models on the training and testing data. Figure 7a through f show that, in comparison to the fuzzy technique, the PLSR model, and the PCR model, the LSSVR model's projected data is more similar to the actual data. Predictive power increases as the degree of similarity between predicted and observed data decrease 53 . Moreover, from these Fig. 7a-h, it can also be seen that the predicted data from the LSSVR, especially for training data in Fig. 7a,c,e,g are mostly within or close to the error bars. However, the predicted data from the fuzzy technique, the PLSR, and the PCR are outside or far from the error bars. These figures can also conclude that the LSSVR model's superiority in forecasting E%, F%, T%, and K/S is validated beyond a reasonable doubt.

31Accuracy of the models. The model's correctness in terms of coefficients was also assessed using the same datasets (R 2 ). Using both training and test data, the LSSVR model predicts values for E%, F%, T%, and K/S, and these values are compared to the actual values in Fig. 8a-h. The higher the model's predictive ability, the closer the point is to line 54 . Each data point in Fig. 8a through h is rather near the line. This indicates that LSSVR's anticipated outputs are consistent with the tested data for all responses. Good concordance between the model's predicted values and the actual experimental findings is indicative of the model's validity 55 . Important characteristics for optimizing the dyeing performance on cotton fabric, such as E%, F%, T%, and K/S, may be predicted using the LSSVR model. Figure 7. Comparison of predictive results from PCR, PLSR, Fuzzy method, and LSSVR models (a) prediction of E% using training data, (b) prediction of E% using testing data, (c) prediction of F% using training data, (d) prediction of F% using testing data, (e) prediction of T% using training data, and (f) prediction of T% using testing data, (g) prediction of K/S using training data, (d) prediction of K/S using testing data. 8. Correlation between the actual and predicted values from the LSSVR model (a) E% using training data, (b) E% using testing data, (c) F% using training data, (d) F% using testing data, (e) T% using training data, (f) T% using testing data. (g) K/S using training data, (h) K/S using testing data. www.nature.com/scientificreports/ conditions are just some of the many advantages that manufacturing companies may reap from adopting Industry 4.0. Due to these promising implications, it has attracted much interest from academics and professionals 56 . Emerging in the last several years, both Industry 4.0 and sustainability1 are technical and organizational advancements that are affected by or contribute to increased productivity and environmentally responsible manufacturing. Global competitiveness, fluctuating markets, demand for increasing customization through communication, information, and intelligence, and shrinking innovation and product life cycles are some of the modern difficulties that Industry 4.0 technologies aim to address. Significant opportunities and challenges for sustainable organizational and societal growth are associated with using Industry 4.0 technology. In terms of the bottom line, the advantages of flexible manufacturing include quicker set-up and delivery times, lower labor and material costs, more production flexibility, better productivity, and improved customization 57 .

32From a green perspective, energy and resource consumption may be lowered using Industry 4.0 technology for detection and data analysis throughout manufacturing and supply chain operations. Carbon footprint studies that are data-driven and auditable may help reduce waste and greenhouse gas emissions. Disassembling the individual parts of a product is possible by reusing, recycling, or remanufacturing it 58 .

33To address the current trend of research, this study employs the Taguchi optimization technique to improve the precision of the dyeing process, in tandem with machine learning to consider the potential constraints of production and impact on attaining maximum security toward sustainable textile industry 4.0 development (Fig. 9).

Conclusions

34The current study developed a novel combined approach LSSVR model, entitled the Taguchi-integrated LSSVR model, for predicting the exhaustion percentage (E%), fixation rate (F%), and total fixation efficiency (T%), and color strength (K/S) of reactive dyed cotton fabric. The experimental results from the dyeing process were used to inform the development of this integrated model, which takes the dye dosage, dye-fixing temperature, dye-fixing time, dyebath pH, material-to-liquor ratio, and salt concentration as input. Finding the optimal circumstances for the dyeing method is crucial for optimizing the cotton fabric's E%, F%, T%, and K/S. Predictive modeling techniques, such as LSSVR, play an important role in the procedures required to produce reactive dyed cotton textiles of the appropriate quality. Compared to the Fuzzy method, PCR, and PLSR models, the LSSVR model performed significantly better in predicting the E%, F%, T%, and K/S, as evidenced by its RMSE and MAE values being 91%-107%, 19% to 425%, 13% to 353% and 65% to 147% lower, respectively, while its R 2 values were − 650%, − 1% to 842%, 0% to − 411%, and − 4% to − 781% higher, respectively. Results suggest that the LSSVR model might be used as a prediction tool in the textile industry during the dyeing process stage. It was found that the LSSVR model has not been utilized for the cotton fabric dyeing process. Hence, the LSSVR model was introduced in this study. The results of this study show that LSSVR is suitable for the cotton fabric dyeing process, and it is recommended for other similar cases. More study is needed to determine whether or not incorporating another algorithm into the LSSVR model would enhance its prediction ability. It is also important to pay more attention to the new features and expenses connected with improving the dyeing process for cotton textiles as a prospect of the sustainable textile industry 4.0 framework.

Data availability

35The datasets generated during the current study are available from the corresponding author on reasonable request (Prof. Lina Lin, L. Lin), while the data set is uploaded to https:// github. com/ pzczxs/ MLSSVR.

참고문헌 51건

  1. Artificial Intelligence Applications and Innovations IFIP advances in information and communication technology · Springer Science+Business Media · 2015 10.1007/978-3-319-23868-5
  2. Sustainable Chemistry Method to Improve the Wash-off Process of Reactive Dyes on Cotton ACS Sustainable Chemistry & Engineering · American Chemical Society · 2015 10.1021/acssuschemeng.5b00034
  3. Idealized powder diffraction patterns for cellulose polymorphs Cellulose · Springer Science+Business Media · 2013 10.1007/s10570-013-0030-4
  4. Application of fuzzy logic and regression analysis for modeling surface roughness in face milliing Journal of Intelligent Manufacturing · Springer Science+Business Media · 2012 10.1007/s10845-012-0623-z
  5. Application of Least Squares Support Vector Machine for Regression to Reliability Analysis Chinese Journal of Aeronautics · Elsevier BV · 2009 10.1016/s1000-9361(08)60082-5
  6. Fourier transform infrared spectroscopic approach to the study of the secondary cell wall development in cotton fiber Cellulose · Springer Science+Business Media · 2009 10.1007/s10570-009-9366-1
  7. Evaluating cell wall structure and composition of developing cotton fibers using Fourier transform infrared spectroscopy and thermogravimetric analysis Journal of Applied Polymer Science · Wiley · 2007 10.1002/app.27100
  8. Development of a least squares support vector machine model for prediction of natural gas hydrate formation temperature Chinese Journal of Chemical Engineering · Elsevier BV · 2016 10.1016/j.cjche.2016.09.007
  9. Prediction of weather-induced airline delays based on machine learning algorithms 2015 IEEE/AIAA 34th Digital Avionics Systems Conference (DASC) · 2016 10.1109/dasc.2016.7777956
  10. A novel route to process rationalisation on cellulose dyeing MATEC Web of Conferences · EDP Sciences · 2017 10.1051/matecconf/201710803005
  11. Textile Learning Factory 4.0 – Preparing Germany's Textile Industry for the Digital Future Procedia Manufacturing · Elsevier BV · 2017 10.1016/j.promfg.2017.04.035
  12. Combined use of cationization and mercerization as pretreatment for the deep dyeing of ramie fibre Fibers and Polymers · Springer Science+Business Media · 2017 10.1007/s12221-017-5512-9
  13. Application of Taguchi method and ANOVA in the optimization of dyeing process on cotton knit fabric to reduce re-dyeing process IOP Conference Series Earth and Environmental Science · IOP Publishing · 2017 10.1088/1755-1315/109/1/012023
  14. Multi-Response Optimization of Resin Finishing by Using a Taguchi-Based Grey Relational Analysis Materials · Multidisciplinary Digital Publishing Institute · 2018 10.3390/ma11030426
  15. Correlation Coefficients: Appropriate Use and Interpretation Anesthesia & Analgesia · Lippincott Williams & Wilkins · 2018 10.1213/ane.0000000000002864
  16. Genomic selection using principal component regression Heredity · Springer Nature · 2018 10.1038/s41437-018-0078-x
  17. Ocean Modelling for Resource Characterization Elsevier eBooks · Elsevier BV · 2018 10.1016/b978-0-12-810448-4.00008-2
  18. Structural relationships and optimization of resin-finishing parameters using the Taguchi approach Cellulose · Springer Science+Business Media · 2018 10.1007/s10570-018-1957-2
  19. Green Production Planning and Control for the Textile Industry by Using Mathematical Programming and Industry 4.0 Techniques Energies · Multidisciplinary Digital Publishing Institute · 2018 10.3390/en11082072
  20. A heterogeneous binary solvent system for recyclable reactive dyeing of cotton fabrics Cellulose · Springer Science+Business Media · 2018 10.1007/s10570-018-2069-8
  21. Adaptive Soft Sensor Development for Non-Gaussian and Nonlinear Processes Industrial & Engineering Chemistry Research · American Chemical Society · 2019 10.1021/acs.iecr.9b03821
  22. Multifunctional organic cotton fabric based on silver nanoparticles green synthesized from sodium alginate Textile Research Journal · SAGE Publishing · 2019 10.1177/0040517519887532
  23. Missing data treatment for locally weighted partial least square‐based modelling: A comparative study Asia-Pacific Journal of Chemical Engineering · Wiley · 2020 10.1002/apj.2422
  24. Towards Sustainable Textile and Apparel Industry: Exploring the Role of Business Intelligence Systems in the Era of Industry 4.0 Sustainability · Multidisciplinary Digital Publishing Institute · 2020 10.3390/su12072632
  25. Improving the functionality of raw cotton: simultaneous strength increases and additional multi-functional properties Heliyon · Elsevier BV · 2020 10.1016/j.heliyon.2020.e04607
  26. Improved reactive dye fixation on ramie fiber in liquid ammonia and optimization of fixation parameters using the Taguchi approach Dyes and Pigments · Elsevier BV · 2020 10.1016/j.dyepig.2020.108734
  27. Effluent-free deep dyeing of cotton fabric with cacao husk extracts using the Taguchi optimization method Cellulose · Springer Science+Business Media · 2020 10.1007/s10570-020-03525-8
  28. Managing the barriers of Industry 4.0 adoption and implementation in textile and clothing industry: Interpretive structural model and triple helix framework Computers in Industry · Elsevier BV · 2020 10.1016/j.compind.2020.103372
  29. Adsorption, kinetics, and thermodynamic studies of cacao husk extracts in waterless sustainable dyeing of cotton fabric Cellulose · Springer Science+Business Media · 2021 10.1007/s10570-020-03662-0
  30. Time series analysis and forecasting of coronavirus disease in Indonesia using ARIMA model and PROPHET Procedia Computer Science · Elsevier BV · 2021 10.1016/j.procs.2021.01.036
  31. Combination of wet fixation and drying treatments to improve dye fixation onto spray-dyed cotton fabric Scientific Reports · Nature Portfolio · 2021 10.1038/s41598-021-94885-z
  32. A comparative study between PCR, PLSR, and LW-PLS on the predictive performance at different data splitting ratios Chemical Engineering Communications · Taylor & Francis · 2021 10.1080/00986445.2021.1957853
  33. Predicting the whiteness index of cotton fabric with a least squares model Cellulose · Springer Science+Business Media · 2021 10.1007/s10570-021-04096-y
  34. Prediction of Yellowness Index Using Partial Least Square Regression Model 2021 10.1109/gecost52368.2021.9538723
  35. Extraction of Natural Dye from Aerial Parts of Argy Wormwood Based on Optimized Taguchi Approach and Functional Finishing of Cotton Fabric Materials · Multidisciplinary Digital Publishing Institute · 2021 10.3390/ma14195850
  36. Dyeing of raw ramie yarn with Reactive Orange 5 dye Industrial Crops and Products · Elsevier BV · 2021 10.1016/j.indcrop.2021.114315
  37. Short clean dyeing of two-component cotton/polyamide fabrics through adaptive adjustment of the dye solution Journal of Cleaner Production · Elsevier BV · 2021 10.1016/j.jclepro.2021.130077
  38. Review of Different Error Metrics: A Case of Solar Forecasting AIUB Journal of Science and Engineering (AJSE) · American International University - Bangladesh · 2021 10.53799/ajse.v20i4.212
  39. Green and Sustainable Method to Improve Fixation of a Natural Functional Dye onto Cotton Fabric Using Cationic Dye-Fixing Agent/D5 Microemulsion Journal of Natural Fibers · Taylor & Francis · 2022 10.1080/15440478.2021.2024933
  40. Toward improved performance of reactive dyeing on cotton fabric using process sensitivity analysis International Journal of Clothing Science and Technology · Emerald Publishing Limited · 2022 10.1108/ijcst-03-2021-0035
  41. Influence of Sequential Liquid Ammonia and Caustic Mercerization Pre-Treatment on Dyeing Performance of Knit Cotton Fabric Materials · Multidisciplinary Digital Publishing Institute · 2022 10.3390/ma15051758
  42. Combination of Pre- and Post-Mercerization Processes for Cotton Fabric Materials · Multidisciplinary Digital Publishing Institute · 2022 10.3390/ma15062092
  43. A Comparative Study of Different Kernel Functions Applied to LW-KPLS Model for Nonlinear Processes Biointerface Research in Applied Chemistry · AMG Transcend Association · 2022 10.33263/briac132.184
  44. Biplots of kinematic variables and pollutant emissions for an intercity corridor Transportation research procedia · Elsevier BV · 2022 10.1016/j.trpro.2022.02.084
  45. Sustainable traditional grass cloth fiber dyeing using the Taguchi L16 (4^4) orthogonal design Scientific Reports · Nature Portfolio · 2022 10.1038/s41598-022-18213-9
  46. Clean dyeing of cotton fabrics by cationic colored nanospheres Journal of Cleaner Production · Elsevier BV · 2022 10.1016/j.jclepro.2022.133712
  47. Polyethylene Glycol (PEG) Non-Ionic Surfactant-Based Reverse Micellar Dyeing of Cotton Fabric with Hot Type Trichloropyrimidine (TCP)-Based Reactive Dyes Journal of Natural Fibers · Taylor & Francis · 2022 10.1080/15440478.2022.2131689
  48. Sustainable and eco-friendly dyeing of traditional grass cloth with a reactive dye in palm oil medium RSC Advances · Royal Society of Chemistry · 2022 10.1039/d2ra05736k
  49. Impact of socioeconomic factors and health determinants on preterm birth in Brazil: a register-based study BMC Pregnancy and Childbirth · BioMed Central · 2022 10.1186/s12884-022-05201-0
  50. The Acceptable R-Square in Empirical Modelling for Social Science Research Advances in knowledge acquisition, transfer, and management book series/Advances in knowledge acquisition, transfer and management book series · Springer Nature · 2023 10.4018/978-1-6684-6859-3.ch009
  51. Validation of QSAR Models - Strategies and Importance International Journal of Drug Design and Discovery · 2011 10.37285/ijddd.2.3.1