Analyzing the Effects of Plasma Treatment Process Parameters on Fading of Cotton Fabrics Dyed with Two-Color Mix Dyes Using Bayesian Regulated Neural Networks (BRNNs)

ABSTRACT This study used Bayesian Regulated Neural Networks (BRNN) with 10-fold cross-validation to accurately forecast fading effects of plasma treatment on cotton fabrics for a given set of parameters. By training six independent BRNN models, a reduction in model complexity and an enhancement in generalizability to unknown datasets were achieved. The input comprises plasma treatment parameters and color measurements of the cotton fabric before fading, while the output comprises color measurements after fading. The plasma treatment parameters included color depth, air (oxygen) concentration, water content and treatment time. Color measurements included CIE L*a*b*C*h and K/S values. Furthermore, 162 datasets derived from two-color mixed-dye cotton fabrics were utilized for training and testing. The outcomes revealed superior prediction performance of the BRNN compared to the Levenberg-Marquardt Neural Networks, with R2 values approaching 1 and 82.35% to 94.12% of the sample predictions lying within the acceptable color difference range. Through global sensitivity analysis, the impact of treatment parameters on fading effects was quantified, providing a scientific basis for parameter adjustment. This study not only elucidated the mechanism of plasma treatment-induced fading but also offers effective prediction tools for the intelligent and digital development of the fashion clothing fading domain.


Introduction
A prevailing trend in fashionable clothing involves the fading of textiles to enhance their visual appeal, traditionally achieved through chemical or mechanical processes.However, these methods present challenges concerning (1) measurement precision, (2) environmental harm, and (3) difficulty in meeting high production demands (Ibrahim and Eid 2020;Liu et al. 2019;Samanta, Basak, and Chattopadhyay 2017).Plasma treatment emerges as a sustainable alternative, achieving zero emissions and improved hydrophilicity of treated textiles (Ibrahim et al. 2010;Paul 2015).It can also generate fading effects and modify surface characteristics on cotton textiles without impacting their bulk properties (Atav et al. 2022;Ibrahim et al. 2022;Kan, Cheung, and Kooh 2017).Moreover, plasmainduced ozone treatment presents high efficiency in terms of energy use, obviating the need for water or chemicals (Srikrishnan and Jyoshitaa 2022).The process of fading cotton textiles exposed to plasma-induced ozone can be represented by twelve equations, as shown in Table 1.When operating parameters for plasma treatment are kept constant, investing some effort in process optimization ensures maximum performance, uniformity, and repeatability of the plasma surface treatment process, thus achieving control over the fading effect (Peran and Ercegović Ražić 2020).
Besides, Eyupoglu, et al. (2022) demonstrated that pre-treatment with oxygen plasma can substantially enhance the wrinkle resistance and tensile strength of cellulose acetate-based textiles.Furthermore, plasma treatment with gases such as oxygen and nitrogen can improve the absorption rate and colorfastness of silk fabrics to natural dyes (Dayioglu et al. 2015;Dayioğlu et al. 2016).The dye-absorption capabilities of polyester/viscose nonwoven fabric can also be enhanced post-plasma treatment (Canbolat, Kilinc, and Kut 2015).Domonkos and Tichá (2023) spotlighted the potential of low-temperature atmospheric pressure plasma technique for its cost-effectiveness, safety, and environmental friendliness.This technique can increase the surface energy of materials and boost their adhesion, chemical alterations, printability, and dyeability (Domonkos and Tichá 2023).Haque and Naebe (2023) proposed a novel technique of plasma-assisted spray dyeing on wool, characterized by its energy efficiency, absence of wastewater, and high color intensity and colorfastness.
However, the interaction between plasma and fabric constitutes a complex process, influenced by an array of factors such as the parameters of plasma treatment, the gas used for plasma generation, and the chemical composition of the fabric (Jelil 2015;Zille, Oliveira, and Souto 2015).Critical parameters incorporate air concentration, treatment duration, and fabric moisture content (Kan, Cheung, and Chan 2016).(1) An increase in air concentration engenders more hydroxyl radicals, which, in the presence of dye, intensifies oxidation and fading (Kan, Cheung, and Chan 2016).(2) Prolonged treatment duration likewise enhances the likelihood of dye oxidation and fading (Kan, Cheung, and Chan 2016).(3) Lower water content in the fabric might augment fading, as a higher water content could dilute the bleaching agent in the plasma-induced ozone treatment process, thereby diminishing the fading effect (Kan, Cheung, and Chan 2016).Thus, to identify the optimal plasma treatment parameters for achieving the desired fading effect, iterative experimentation and observation are requisite.
In the realm of modeling complex datasets, neural networks have demonstrated superior performance over statistical models, particularly non-linear multidimensional functions, as they obviate the need for a detailed investigation of the chemical or physical characteristics of the pertinent processes (Gadekar and Ahammed 2019).For instance, the Levenberg-Marquardt Neural Network (LMNN) model, which optimizes network weights to minimize the sum of squares of errors between predicted and actual outputs, has been employed to forecast the ultraviolet protection performance of the polyester fabric and the dyeability of mohair fibers (Eyupoglu, Eyupoglu, andMerdan 2021, 2022).Additionally, certain neural networks utilize the Bayesian Regularization algorithm.This algorithm, grounded in Bayesian learning theory, introduces a priori distribution to reduce model complexity and prevent overfitting, thereby providing robust models (Kayri 2016).Notably, the fusion of plasma treatment with intelligent techniques such as Bayesian Regularized Neural Network (BRNN) can render cotton processing more sustainable by predicting fading effects, thereby reducing trial and error.
Table 1.The process of how cotton fabrics fade when exposed to plasma-induced ozone.

Descriptions Equations
No. References • The first step is the release of high- energy electrons through electron impact due to plasma treatment.
• Mixed radicals are produced when electrons with high energy interact with air moisture.
• This process can be explained by Equation (1).(Cheung 2018;Kan, Cheung, andChan 2016, Zhang et al. 2008;Srikrishnan and Jyoshitaa 2022) • Meanwhile, some electrons with a high energy level interact with oxygen molecules in the air.During this reaction, O� and O 3 are formed.
• Besides, it is possible to introduce ozone into the water.When injected into the water, ozone can be held for between three and twenty minutes.
• As ozone is highly soluble in water, ozone produced previously is easily absorbed by airborne moisture, which serves as a powerful oxidant.
• It has been reported that the radical �OH formed following ozone dissolution is an important cause of color fading.
• A description of this process can be found in Equations ( 4) to (7).
• During ozone plasma generation, charged particles, free radicals, and ultraviolet (UV) light are produced.
• Additionally, UV rays, which are pro- duced by the plasma treatment process, are also responsible for generating �OH radicals.
• Despite this, the efficiency of �OH production in water via UV is rather low, while the efficiency of the production of �OH radical is relatively high when ozone is present.
• A description of this process can be found in Equations ( 8) and (9).
• Among the oxidation radicals pro- duced during the plasma process, the hydroxyl radical �OH is most prevalent, mainly contributing to the degradation of dyes in textiles.
• �OH can promote the oxidation of dye molecules (RH) to produce organic radicals R�, capable of increasing the reaction rate and can be used to further oxidize dye molecules.
• In this manner, the dyed fabric was able to achieve a fading effect.
Presently, research employing intelligent techniques for plasma treatment remains scarce.In available studies, three main aspects have been investigated: (1) Feedforward neural network models were used to predict wool dyeing properties after air-vacuum plasma treatment, with regression values of around 0.95 (Omerogullari Basyigit et al. 2023); (2) using generalized regression neural networks to predict dye removal in aqueous solutions (Mitrović et al. 2020); and (3) developing adaptive neural network fuzzy inference systems to predict dye intensity (K/S) in dyed wool fabrics (Haji and Payvandy 2020).Furthermore, due to the unclear interactions between plasma and fabric surfaces, selecting appropriate plasma treatment conditions proves complex (Jelil 2015).Therefore, this study aimed to develop a BRNN system to precisely predict the fading effects of plasma treatment on reactive dyed cotton fabric.To assess model accuracy and performance, five metrics were utilized: Mean Absolute Error (MAE), Root Mean Square Error (RMSE), Mean Absolute Percentage Error (MAPE), Coefficient of Determination (R 2 ), and running time.Besides, a global sensitivity analysis was conducted to systematically study the impact of various parameters during plasma treatment.

Fabric samples and dyeing
Cotton single knitted fabric (Lacoste: 32s/2) with a weight of 220 g/m 2 was dyed by mixing two reactive dyes of three primary colors, red (Levafix Red CA), blue (Levafix Blue CA) and yellow (Levafix Yellow CA) at a dyeing plant in China.The dyes were supplied by DyStar, China and were used as received for dyeing without purification.Di-chloro quinoxaline is the structure of the Levafix series (Shaffer et al. 2012), as shown in Figure 1.This type of dye exhibits good lightfastness in lighter shades and excellent perspiration and lightfastness in the color range and has a high degree of reproducibility and leveldyeing properties (Cheung 2018).
Three mixed secondary colors of nacarat (RN), green (RG) and violet (RV) were used for dyeing to different depths of 0.5%, 1.5% and 3%.The dyed fabric samples were of size approximately 30 cm x 40 cm.Of these, nacarat (a shade of pale red-orange) at 0.5% concentration is made by combining dyes of equal concentrations of red and yellow.Green is made by combining equal concentrations of blue and yellow, and violet is made by combining equal concentrations of red and blue dyes.For example, in this study, a 0.5% concentration of violet is a combination of 0.5% concentration of red with a 0.5% concentration of blue, and so on.The process of dyeing cotton fabrics with dyestuff was described in Table 2 and Figure 2.

Plasma treatment of faded colors
For the plasma treatment used for fading, a commercial ozone plasma machine G2 (standard model, Spain Jeanologia) was used.In comparison to conventional processes, the G2 plasma machine saves 62% of energy (kW/h), 67% of water, 85% of chemicals, and reduces the amount of time required for production by 85% (Kan, Cheung, and Chan 2016).Using electric currents to ionize oxygen molecules within the incoming air, the G2 creates a mixture of reactive oxygen to fade textiles (Kan, Cheung, and Chan 2016).Before being returned to the atmosphere, residual ozone plasma undergoes a transformation into purified air (Kan, Cheung, and Chan 2016).Table 3 demonstrates how the specifications of G2 plasma machine.Table 4 summarizes the plasma treatment parameters used at a garment processing factory in China for cotton fabrics.Three parameters were used in the process, air concentration, dyed fabric water content and treatment time.Though 30 minutes is a long time for textile treatment, different plasma operating parameters need to be investigated to determine how fading occurs on two-color mixed dyed cotton fabrics.Different colors fade at different rates.For example, yellow fades more

Procedure of reactive dyeing
The dyeing process References Stage 1 (1) Dyeing of cotton fabric with 1.5% (by weight of fabric) of reactive dyestuff in a 10:1 liquid-to-goods ratio, if cotton fabric with a weight of 10 kg was to be dyed on an industry-scale winch dyeing machine.Then 42.5 g/l of salt (sodium chloride) and the cotton fabric samples were placed in a dye bath set at 30°C and treated for 10 minutes.
(2) The reactive dye was then added to the dye bath within 20 minutes.
(3) Salt, dye, and fabric were treated in the dye bath for a further 10 minutes.(4) Soda ash (11.5 g/L) was added to the dye bath within 15-30 minutes.
(5) The fabric was then treated for a further 10 minutes.(Cheung 2018;Kan, Cheung, and Chan 2016) Stage 2 Temperature of the dye bath was increased to 60°C at a rate of 1°C/min within 30 minutes.Stage 3 After the temperature had reached 60°C, the fabric was kept in the dye bath for 60 minutes.Stage 4 (1) The fabric was taken from the dye bath and was rinsed under cold water so as to wash away the undyed dye.
(2) Post-treatment was carried out to further remove undyed dyestuff by using a nonionic detergent with a concentration of 1.0%.(3) After the detergent treatment, the fabric was rinsed in cold water.The dyed fabric was conditioned at 20 ± 2°C and 65 ± 2% relative humidity for at least 24 hours in advance of further treatment.slowly than blue (Atav et al. 2022).Furthermore, the operating parameters of the three plasma treatments are interdependent (Kan, Cheung, and Chan 2016).Depending on the operating parameters of the other two plasma treatments, such as providing a lower concentration of air (oxygen) and a higher water content, the treatment time of the plasma used for fading might need to be extended (Ibrahim et al. 2010;Kan, Cheung, and Chan 2016).Thus, to include the full range of acceptable plasma operating parameters, the treatment time included 30 minutes.For each type of dye, 54 fabric samples were used for color measurements, and 162 samples were used for the three different reactive dye colors.There were 18 combinations of plasma treatment parameters (3�3�2¼18), and dyes were applied at three different dye concentrations (18�3¼54), and there were three different dyes (54�3¼162).These three dyes were used to produce 162 fabric samples labeled RN1-RN54 (for nacarat color), RG1-RG54 (for green color) and RV1-RV54 (for violet color).

Color measurement arrangements
Prior to measuring color, the fabric samples were conditioned at 65 ± 2% relative humidity and 20 ± 2°C for at least 24 hours.There were three types of fabrics dyed with reactive dyes: RG, RN and RV.Colors were measured as specific CIE L*a* b*C*h and K/S values.Among them, CIE C* value and CIE h value can be calculated from the CIE a* value and the CIE b* value (Hunt and Pointer 2011).Besides, to calculate the K/S value, Equation ( 1), the Kubelka-Munk dyeing depth equation shown below is used (Brinkworth 1972).For each type of sample, an illuminant D65, plus a large aperture value and a 10° observer angle were used to measure color with the Macbeth Color-Eye 7000A spectrophotometer.The color-measuring device was also calibrated with black and white traps.Moreover, seven fabric samples of each type and four uniformly colored areas of each fabric sample were tested and these data were averaged to improve the accuracy of the color measurements.

Modelling, simulation and prediction using BRNN
For 162 two-color mixed dye cotton fabric samples, the CIE L*a*b*C*h and K/S values were measured.
After preliminary data processing, the relationship between plasma treatment process parameters and CIE L*a*b*C*h and K/S values was investigated using BRNN.145 of these data sets were used for BRNN modeling and simulation, while the remaining 17 unseen data, selected by stratified sampling, were used for testing the generalizability of the BRNN.Table 5 below illustrates how these data sets were divided.
For the purpose of implementing regression analysis on smaller data sets, a small three-layer neural network was constructed.Utilization of the Bayesian Regularization Algorithm (BRA) was embraced to mitigate the risk of overfitting (Doan and Liong 2004).Despite the increment in processing time, the algorithm bolstered the model's generalizability (Doan and Liong 2004).Further, a 10-fold crossvalidation procedure was incorporated into the model.Cross-validation is based on data division, where the majority of the data is used to train the model and the remaining small portion of the data is used to validate the error to measure the predictive performance of the model and to select the bestperforming model at the end (Yadav and Shukla 2016;Zhang and Yang 2015).For each training Table 5. Division of the data sets.

Datasets for training and validation (145)
Unseen datasets of BRNN for testing (17) RG1, RG3-RG11, RG13-RG21, RG23-RG31, RG33-RG41, RG43-RG51, RG53, RG54 RN1-RN7, RN9-RN17, RN19-RN27, RN29-RN37, RN39-RN47, RN49-RN54 RV1-RV3, RV5-RV13, RV15-RV23, RV25-RV33, RV35-RV43, RV45-RV53 RG2, RG12, RG22, RG32, RG42, RG52 RN8, RN18, RN28, RN38, RN48 RV4, RV14, RV24, RV34, RV44, RV54 session, the data sets were divided into ten subsets, one of which is used for validation, and the other nine are used for training.There were ten repetitions of such training.Each training session has between 3 and 12 hidden layers of neurons, depending on the number of input and output layers, with the optimal number of hidden layers being determined by the particular training session.After the selected network has been trained 10 times and has met the performance target in different training rounds, the final value is calculated by taking the average of the 10 runs.In the case of limited datasets, a modular approach was further used to minimize the complexity of the neural network in addition to BRA and cross-validation (Choudhury, Berndt, and Man 2015).The designed BRNN model was divided into six modules in order to predict the six output values.Modularization facilitates the understanding of the relationship between each output value and the plasma processing parameters, thereby reducing training time at the same time.With the input and output values shown in Figure 3, six similar neural network modules were created.Furthermore, the outcomes from the Levenberg-Marquardt Neural Networks (LMNNs) will be attainable when the implemented BRA was substituted with the Levenberg-Marquardt Algorithm.A comparative analysis of the BRNNs and the LMNNs serves as an approach to scrutinize the performance of the BRNN model in greater depth.
Figure 3 illustrates that in the fading prediction system, the input consists of plasma treatment parameters as well as color measurements of the cotton fabric before fading treatment, while the output comprises color measurements after fading treatment.MATLAB (version R2021a) software was used to construct the BRNN model, with the maximum number of training epochs (iterations) set to 1000 so that the network would have sufficient time and iterations to minimize the error.For transfer functions of the hidden and output layers, MATLAB's built-in functions "logsig" and "purelin" were used respectively.Additionally, a learning rate of 0.01 was also set, as well as a training termination error of 10 −6 .Prior to training, data normalization was undertaken to mitigate computational errors associated with parameter magnitude and to attenuate the influence of outliers (Farooq et al. 2021).Figure 4 illustrates the BRNN model's topology.In order to assess the applicability and generalizability of the BRNN model, the final BRNN model was used to predict an unseen dataset of 17 (Figure 5).

Verification of the BRNN's accuracy
The evaluation of model performance typically involves a composite of metrics, including MAE, MAPE, RMSE, and R 2 (Chai and Draxler 2014).Each metric possesses inherent advantages: MAE is applicable to uniformly distributed errors, RMSE is sensitive to outliers, MAPE offers a measure of relative performance, while R 2 yields insights into a model fit (Chai and Draxler 2014; Ostertagova and Ostertag 2012).However, a single metric cannot furnish a comprehensive evaluation, for instance, R 2 lacks information regarding residuals.Consequently, a combined indicator evaluation system is more  appropriate for assessing the overall performance of the model (Chai and Draxler 2014).In addition, sensitivity analysis can be employed to rank the influence of input parameters on model outputs, with the Sobol index serving as a measure commonly utilized in the global sensitivity analysis (Iooss and Prieur 2019).The first-order Sobol index signifies the portion of total variance instigated by a singular parameter, while the total-order Sobol index represents the proportion of total variance precipitated by a parameter and all its interactions with other parameters (Iooss and Prieur 2019).If the discrepancy between the first-order and total-order Sobol indices of a parameter is minimal, it infers that the interplay among input parameters is relatively weak (Iooss and Prieur 2019).Evaluating the contribution of each parameter to the output results via global sensitivity analysis will facilitate an enhanced comprehension of the intricacies of the plasma treatment process, thus providing guidance for experimental design and parameter optimization.(Kayri 2016).Despite this, the great predictive performance of BRNN justifies the tolerable reduction in computational efficiency.

Results and discussion
Furthermore, through global sensitivity analysis, an examination was conducted concerning the impact of various parameters on fabric color during plasma treatment (Table 7).According to the Sobol indices, it was discerned that: (1) The depth of color in the fabric and the initial CIE L* value of the color significantly influenced the CIE L* after plasma treatment, accounting for 36.14% and 61.07%, respectively.(2) The initial color of the fabric primarily affected the CIE a*, CIE b*, CIE C*, and CIE h values, constituting 85% to 96%, while the influence of other input parameters remained relatively minimal.(3) Concerning the K/S value, treatment duration, initial color, air concentration, and color depth played pivotal roles, with ratios of 35.86%, 30.39%, 19.92%, and 14.35%, respectively, whereas the effect of water content could be deemed negligible (0.14%).( 4) The disparity between the first-order and total-order Sobol indices of input parameters was minimal, indicating that the interaction of individual input parameters with other parameters had a relatively minor impact on the output.( 5) Similar to the study conducted by Kan, Cheung, and Chan (2016), this study focused on the influence of varying parameters on fabric fading during plasma treatment, but further quantified their impact through sensitivity analysis.For instance, the impact hierarchy on the K/S value was treatment duration (35.86%) > pre-treatment K/S value (30.39%) > color depth (14.35%) > air concentration (19.92%) > water content (0.14%).The novelty lies in the application of global sensitivity analysis to plasma treatment, offering a new perspective for textile research.By understanding the influence of each parameter on fabric color, we can better optimize the plasma treatment process, fostering its application in the textile sector.
In order to further test the utility and generalizability of trained BRNN modules, six modules were tested on 17 datasets not involved in training and validation, and the predicted values were compared to the actual values   present in the dyed fabric (Özkan, Baykal, and Özdemir 2018;Tang et al. 2018).The probable cause of its inaccuracy may be at the measuring stage, which is impacted by the fabric structure, texture, evenness of dyeing, and flatness (Özkan, Baykal, and Özdemir 2018).For instance, K/S values of cotton knitwear can be significantly affected by fiber structure and fabric porosity (Özkan, Baykal, and Özdemir 2018).It is possible that there is already some error in K/S values at the time of measurement, which can cause more significant errors during prediction.
The effectiveness of the trained BRNN model was evaluated by comparing predicted and actual color values from an unknown dataset using the CMC, CIE94, and CIE2000 color difference formulas.A color difference (∆E) of 1.0 units, deemed acceptable in the textile industry, is typically imperceptible to  observers, while a ∆E between 1 and 2 is noticeable to experienced observers, and a ∆E exceeding 2 is discernible to novices (Minaker, Mason, and Chow 2021).Therefore, the tolerance value of ∆E set at 2 is acceptable.As shown in Table 9, values with superscript "*" are outside the tolerance limits (RN18, RV34 and RV54).As a result, of the 17 sets of data, between 82.35% and 94.12% of predicted colors were within the acceptable or imperceptible range based on different color differences formulas.Table 10 and Figure 12 illustrate the color differences measured by different formulas.
In general, the BRNN with 10-fold cross-validation exhibits adaptability to training datasets, generalizability to unseen data, and efficacious color difference prediction within acceptable boundaries.This underscores the repeatability and scalability of the BRNN model, not merely facilitating the fitting of known data, but also forecasting the fading effect of two-color dyed cotton fabric under various plasma treatment parameters.Nonetheless, minor predictive errors have surfaced due to deviations in color measurements, and fabric characteristics such as dye uniformity, fabric smoothness, structure, and surface texture, in conjunction with finite sample  size (Özkan, Baykal, and Özdemir 2018;Tang et al. 2018).Although 10-fold cross-validation bolsters the predictive capacity for smaller datasets, due to the inherent randomness in splitting the training data, it still engenders minor inaccuracies, causing fluctuations in average precision (Fushiki 2011;Rodriguez, Perez, and Lozano 2009).
Thus, the trained and validated BRNN models can effectively reduce the number of trials required to achieve a specific color change in reactive dyed cotton fabrics after plasma treatment.Global sensitivity analysis, employing Sobol indices, delivers quantifiable insights regarding the impact of various parameters during plasma treatment on the coloration of the fabric.The adjustment of plasma treatment parameters in this manner translates to significant savings in time and resources.Future endeavors will encompass the prediction of fading effects of diverse color combinations in apparel through intelligent technology, thereby enhancing the feasibility of plasma treatment technique in fashionable attire.By simulating the fading of cotton textiles under plasma treatment using intelligent techniques, manufacturers can propel the digitalization and intellectualization of cotton processing, thus advancing the industrialization of plasma fading treatment technique.The number of the unseen Data is 17, the tolerance setting is 2.

Figure 12.
Color difference between the actual value and predicted value on unseen data.

Figure 3 .
Figure 3. Six BRNN models with their inputs and outputs.

Figure 5 .
Figure 5.A flowchart showing how BRNN models predict fading effects.
).As shown in Figures 6-10, the predicted and actual values are very close to each other, and the fitted trends are essentially the same, indicating that the model provides good predictions of CIE L*a*b*C*h values of the unseen dataset.Figure 11 depicts a similar trend, with the predicted values being slightly different from the actual results.Table 8 presents a comparison of predicted and actual values, and Equations (2) and (3) provide the formulas for calculating the difference and the MAE of ∆CIE L*a*b*C*h of predicted and actual values.The MAE of ΔCIE L*a*b*C* does not exceed 1, and the values of ΔCIE h and ∆K/S are slightly larger.Since K/S values are calculated based on the reflectance spectrum of dyed cotton fabric, they indicate the amount of dye

Figure 7 .
Figure 7.The predicted and actual CIE a* values in unseen data set.

Figure 8 .
Figure 8.The predicted and actual CIE b* values in unseen data set.

Figure 9 .
Figure 9.The predicted and actual CIE C* values in unseen data set.

Figure 10 .
Figure 10.The predicted and actual CIE h values in unseen data set.

Figure 11 .
Figure 11.The predicted and actual K/S values in unseen data set.

Table 2 .
The process of dyeing with reactive dyes.

Table 4 .
Plasma treatment parameters applied to twocolor mixed dyed fabric samples.
Table 6 exhibits the performance of BRNN and LMNN modules, with MAE, MAPE, and RMSE metrics within an acceptable range of CIE L*a*b*C* values, albeit slightly larger for CIE h and K/S values.The prediction error may be attributed to the influence of cotton fabric structure on sample reflectance at certain wavelengths, consequently affecting the K/S values.The R 2 values for CIE L*a*b*C*h are exceptionally close to 1, indicating excellent model fitting, although there exists some deviation in the predicted K/S values.Comparison between BRNN and LMNN reveals that BRNN outperforms LMNN in predicting CIE L*a*b*C*h and K/S values, exhibiting lower MAE, RMSE, and MAPE values, and higher R 2 values.However, as the training process of BRA entails employing prior distributions to estimate model hyperparameters, BRNN necessitates more running time

Table 6 .
Performance of the six trained BRNN and LMNN models.

Table 7 .
First-order and total-order Sobol indices for different output values.
Figure 6.The predicted and actual CIE L* values in unseen data set.

Table 8 .
Difference between predicted and actual CIE L*a*b*C*h values or K/S values.

Table 9 .
Color difference between predicted and actual values and color depiction figure.

Table 10 .
Summary of the color differences measured by different formulas.