Abstract
To mitigate the problem of low classification accuracy in solid color printing and dyeing, a color difference classification model based on the differential evolution (DE) improved whale optimization algorithm (WOA) for extreme learning machine (ELM) optimization, named the DE–WOA–ELM, was developed in this study. Considering that the initial population of the WOA has a significant influence on the solution speed and quality, DE was used to generate a more suitable initial population for the WOA by avoiding local optima, thereby improving the performance. The method used an excellent global search ability to improve the WOA for optimization and obtained an optimal parameter combination for the ELM. Thus, the problem of randomly initializing the input weight and the hidden layer bias of the ELM, which leads to a nonuniform training model and unstable algorithm, was solved. Finally, by optimizing the input weight and hidden layer bias, the color difference classification model of the ELM with a strong generalization ability was constructed. The results of the color difference classification experiments on fabric images collected under standard light sources show that the average classification accuracy for the dataset is increased by 2.15%, 11.06%, 12.11%, and 0.47% compared with those of the ELM, support vector machine, back propagation neural network, and kernel ELM, respectively.
Keywords
In the printing and dyeing industry, the detection of color differences in printed and dyed fabrics is an essential component of quality control. In the actual production process, companies use swatches provided by customers as a standard to produce textile products that meet the customer requirements. When customers accept the dyeing quality of the textile products, they will compare the color difference with the luster of the original samples and products to determine whether the color of the textile products meets their requirements. The detection of color difference in conventionally printed and dyed fabrics depends on the subjective judgment of human beings, which leads to large errors and does not meet the needs of automated production. Therefore, online detection of color differences in printed and dyed fabrics has become an urgent need.
In the printing and dyeing industry, the color feature-based RGB color difference detection technology is the most commonly used method. In this method, the image is preprocessed in the RGB space and then converted into the CIELAB color space for calculation using a color difference formula. 1 This method is only a numerical representation, which visually reflects the color difference between two images, and it does not classify the rank. Wong 2 proposed a Naive Bayesian (NB) method based on the genetic algorithm (GA), which showed a significant instability in the prediction of color difference in dyed products. Because the NB method depends on prior knowledge of training samples, the classification accuracy is greatly reduced when the number of training samples changes. Furthermore, the optimization process of the GA lasts for a long time, and the classification accuracy is not ideal. Zhang and Yang 3 proposed a color difference detection algorithm based on the GA to optimize the support vector machine (GA–SVM). Although the optimization speed of the algorithm was faster, it increased the risk of falling into local optima. Zhou et al. 4 presented a color difference classification method to optimize the SVM based on the improved gray wolf optimizer (GWO) by illumination correction of dyed fabrics. 5 The excellent global search ability of the GWO was used to solve the problem of falling into local optima. A model based on the least squares support vector machine (LS–SVM),6,7 which solved a large number of storage problems in quadratic programming required for the original SVM in large-scale tasks, was also proposed. Simultaneously, the parameters of the LS–SVM were selected by using the GWO algorithm in the LS–SVM–GWO 8 model to improve the performance and overcome the shortcomings of the conventional parameter selection methods. There exist many studies on neural networks for color difference detection.9–11 For example, based on the CIELAB color space, Li et al. 10 proposed the Levenberg–Marquardt (LM) optimized back propagation (BP) algorithm for textile color difference detection. Li et al. 11 studied fabric color difference detection based on the Takagi–Sugeno (T–S) fuzzy neural network. The trained T–S fuzzy neural network was used to obtain the color characteristics of dyed fabrics. It avoided the large number of calculations in conventional color space conversion formulas and improved the detection efficiency to a certain extent. However, in general, the convergence speed of neural networks tends to be slow, they easily fall into local optima, and the real-time performance of the algorithms is poor.
To avoid the shortcomings of neural networks, in 2004, Huang et al. 12 proposed a single hidden layer feedforward neural network (SLFN) called the extreme learning machine (ELM). The ELM has a simple structure, few adjustment parameters, randomly generated hidden layer input weights and biases, and a high learning speed. Furthermore, it is suitable for different types of problems13–16 and is applicable to different tasks. For example, Zhang et al. 17 used the ELM for pathological brain detection. The random settings of the input layer weight and bias of the ELM may affect its performance.18,19 To solve these shortcomings, global search algorithms can be used. Differential evolution (DE)20,21 is used to optimize the input layer weights and biases of the ELM, but DE needs to control a larger number of parameters, and parameter selection is more dependent on empirical rules. The particle swarm optimization (PSO) algorithm is used to optimize the input layer weight and bias of the ELM, 22 but PSO is unstable and can easily fall to the local optima solution, and the results can be easily affected by the parameter size.
The whale optimization algorithm (WOA), a new nature-based metaheuristic optimization algorithm, was proposed by Mirjalili and Lewis
23
in 2016. It has the advantages of simple operation, fewer adjustment parameters, and a strong ability to jump out of local optima. The WOA was tested using several metaheuristic optimization problems and structural design problems.
23
The optimization results show that the WOA algorithm has a larger optimization effect than the existing GA, DE, PSO, and other metaheuristic algorithms. The initial population of the WOA is randomly set; however, population initialization is key in the algorithm because it directly affects the convergence speed and the quality of the final solution. Rahnamayan et al.24,25 proposed a new population initialization method that uses a reverse learning algorithm for population location initialization.
In this study, we developed a color difference classification model based on the DE improved WOA for ELM optimization to generate the initial population of the WOA and thus improve the quality of the WOA initial population. The main contributions are as follows.
For the first time, the ELM model was applied to the color difference classification of solid color printing and dyeing products to improve the classification accuracy. Because the quality of the initial population affects the global convergence rate and final solution of the group optimization algorithm, the idea that the initial population of the WOA is generated by using the DE algorithm was introduced, and the DE–WOA method was established. Because in the ELM, the input weight, and bias are randomly set, the classification accuracy and stability of the model will be poor. To overcome this problem, the improved WOA algorithm was used to optimize the input weight and hidden layer bias of the ELM in establishing the DE–WOA–ELM model. The influence of the WOA parameters in the DE–WOA–ELM on the algorithm performance was analyzed. Furthermore, the influence of the number of hidden nodes in the ELM on the accuracy of the algorithm classification was investigated. The stability of the algorithm was analyzed by using an iterative analysis method and a box plot. A statistical significance analysis was performed on the proposed algorithm and its competitors using the T-test and the F-test.
The remainder of the paper is organized as follows: the preliminaries section introduces the theoretical background of the ELM classifier and related algorithms. In the extreme learning machine based on the optimized whale optimization algorithm by differential evolution section, the ELM based on the DEWOA is proposed. The experimental results section provides the experimental conditions and data sources, including a discussion and analysis of the experimental results. The Sensitivity, stability, and significance analyses of parameters section presents a discussion and analysis of the sensitivity, stability, and significance of the parameters, and finally, the study is concluded in the conclusion section.
Preliminaries
The ELM, DE, and WOA used in the process of establishing the color difference classification model, that is, the DE–WOA–ELM, for printed and dyed products, are introduced in the following sections.
Extreme learning machine
The ELM
12
is a SLFN. Suppose that there are N samples
The single hidden layer neural network is trained to obtain the optimal parameters
12
and possibly obtain
The matrix of the output weight is calculated as
Differential evolution
DE
28
is a heuristic global search algorithm used to simulate biological evolution mechanisms. It is primarily used to solve global optimization problems of continuous variables. The main steps include mutation, crossover, and selection. In the DE algorithm, the difference vector between two individuals randomly selected from the population is used as the random variation source of the third individual, and the difference vector is weighted and summed with the third individual according to a certain rule to generate a variant individual. The mutation operation to DE is defined as follows
The basic principle of the cross-operation is that the parameters of the mutated individual and predetermined target individual are fused to generate the desired ones. For the ith individual in the jth dimension, the cross-operation is expressed as follows
DE uses the greedy algorithm to select individuals of the next generation to ensure the evolution direction. That is, the fitness of the test individual is better than that of the target individual; therefore, the test individual replaces the target individual in the next generation. Otherwise, the target individual remains the same. The selection operation formula is as follows
Whale optimization algorithm
The WOA
23
is a newly proposed metaheuristic optimization algorithm that simulates humpback whales' hunting behavior. The algorithm includes three mechanisms: encircling prey, spiral update, and random search.
Encircling prey: humpback whales can identify their prey's location and surround it,
23
as indicated in the following formula
Spiral update: to model this whale behavior, assume that there is a 50% probability of choosing between the reduced shrinking circling mechanism and spiral model to update the position of whales during the optimization process.
23
The mathematical model is established as follows
Random search: to strengthen the exploration of the WOA, whales will search for prey randomly by using a position randomly selected from the current whale group to update their position accordingly.
23
The mathematical model is presented as follows
Extreme learning machine based on the optimized whale optimization algorithm by differential evolution
The properties of the ELM are decided by two pivotal parameters: the input weight w and hidden layer bias b. This study proposes an optimization of the ELM of DE based on the improved WOA (DE–WOA–ELM). The overall framework of the method is illustrated in Figure 1. The DE–WOA–ELM consists of two parts: parameter optimization and evaluation in classification. In parameter optimization, nine-tenths of the entire dataset is internally five-fold cross-validated. When the internal parameter optimization is terminated, the optimal parameter pair is used as the input of the ELM by an external 10-fold cross-validation, and the classification task for printed and dyed products is in the external cycle
Flow chart of the proposed algorithm. WOA: whale optimization algorithm; ELM: extreme learning machine; DE: differential evolution.
Experimental results
The proposed algorithm was compared with the ELM, 13 PSO–ELM, 22 DE–ELM, 21 WOA–ELM, GWO–kernel extreme learning machine (KELM), 29 Grid–KELM, 30 KELM, 30 GWO–LS–SVM, 8 LS–SVM, 6 GA–SVM, 3 Grid–SVM, 5 PSO–SVM, 5 SVM, 5 T–S fuzzy neural network, 11 LM–BP, 9 and BP 9 to evaluate its effectiveness. The training time and prediction accuracy were applied to estimate the performance of the algorithm. For the experiment, a PC with 2.5 GHz CPU, 8GB RAM, dual core processor, and the 2015a version of MATLAB were used.
Datasets
Device selection
As shown in Figure 2, A SONY SSC-DC398P color camera, which uses a BNC video connector to output a standard Phase Alternating Line (PAL) video signal, was used. The camera's imaging device is a 1/3-inch interline transfer HyperHAD charge-coupled device (CCD) sensor with 752 × 582 pixels. When working in the continuous acquisition state, the maximum frame rate can reach 60 fps, 1/50–1/100,000 s shutter range, and a high signal-to-noise ratio. The high-sensitivity feature allows it to be shot in high-speed and low-light environments, giving users the control flexibility. The selection of illumination sources is especially important when performing color difference measurements in different industries. The research object of this study is a finished product fabric with cotton and polyester; hence, the material density of the cloth was not considered and the most commonly used illumination sources, that is, D65, A, and D50 were chosen. Under the condition of standard light sources (such as D65, D50, or A), the image collection mechanism of the CCD camera cannot be adjusted according to the change in light source information. The illumination correction algorithm
31
was introduced to eliminate the error in the color difference evaluation caused by the light source.
Selection of the color difference formula
In color difference detection systems, the selection of the color difference formula for different color spaces is important to better evaluate the color difference and meet the visual perception requirements of people. In this study, CIELAB, CMC, and CIEDE2000 formulas
32
were used to calculate the color difference.
Flow chart of image capture.
Under the same illumination, two frames ((a) and (b)) without a visual color difference and one frame (c) with a visual color difference are shown in Figure 3. Using one of the images without a visual color difference as the reference image, three color difference formulas were employed to calculate the color difference between the other image without a visual color difference and the reference image. Then, a color difference dataset, based on the pixel points whose mean value and variance can be calculated, was obtained (Table 1). Next, the color difference between the image with a visual color difference and the reference image was calculated, and another color difference dataset based on the pixel point was obtained (Table 2).
Experiment for the selection of the color difference formula. Color difference calculation values for no visual color difference Color difference calculation values for existing visual color difference
In cloth images without a color difference, the smaller the color difference calculation value, the better. In cloth images with a color difference, the larger the calculated color difference value, the better. Tables 1 and 2 show that the mean value of the color difference calculated by CMC is a better representative when there is no color difference. When there is a color difference, the mean value calculated by CIEDE2000 is better.
To increase the reliability of the CIEDE2000 color difference formula, multiple sets of experiments were performed using the colors of the cloth pictures (Figures 4(a)–(g)). The color difference between the image before and after light denoising and the standard image was calculated. The first column is the standard image and the second column is the processed image; they were compared with the Datacolor 650 measurement results. The CIEDE2000 formula and the Datacolor 650 measurement results are in close agreement, as indicated in Table 3.
Multicolor cloth images. Measurement result of CIEDE2000 and Datacolor 650
In this study, considering its applicability and accuracy 32 and based on the analysis and integration of existing color difference models and visual evaluation data, the CIEDE2000 color difference formula was selected to calculate the color difference between two pure color images for online detection.
Datasets
To evaluate the performance of the proposed algorithm in classifying printed and dyed products, we verified the captured dataset. As shown in Figure 2, by using a high-precision color industrial camera (SSC-DC398BP) under a standard light source (such as D65, D50, or A), we obtained the same textile image as an experimental material and processed the acquired image to obtain the dataset. Taking Figure 5 as an example, the specific process can be described as follows.
In Figure 5, the acquired image has noise and thus was subjected to wavelet denoising preprocessing. After denoising, the image was converted from RGB to the HSV (hue, saturation, value) color space, and ΔH, ΔS, and ΔV were calculated. Then, the image was then converted into the CIELAB color space, and ΔL, Δa, and Δb eigenvalues were calculated. The color difference between the two solid color images was calculated using the following CIEDE2000 formula
Repeating steps (1) and (2), the calculated level and ΔH, ΔS, ΔV, ΔL, Δa, and Δb eigenvalues of color difference were grouped into different datasets. In the trial, 1400 datasets were selected; 1400 × seven-dimensional color difference data. Some of the data are presented in Table 5, Figure 6 gives the three-dimensional representation (ΔL, Δa, and Δb) of the dataset, and Figure 7 shows the color distribution of the fabric sample.
Experimental conditions
The classification models used in this study are the following: the DE–WOA–ELM classification model, ELM model, WOA–ELM model, DE–ELM model, PSO–ELM model, conventional SVM classification model, LS–SVM model, GA–SVM model, Grid–SVM model, PSO–SVM model, BP model, and novel classification models applied in images, such as the GWO–KELM model, Grid–KELM model, KELM model, GWO–LS–SVM model, T–S fuzzy neural network model, and LM–BP model. The parameters of these models and the algorithm were set as follows.
Images of some of the textiles. Three-dimensional scatter plot (ΔL, Δa, and Δb). The color distribution of the fabric sample. Color difference criterion NBS: National Bureau of Standards. Partial dataset


Parameter setting for the extreme learning machine optimization algorithm
WOA: whale optimization algorithm; DE: differential evolution; PSO: particle swarm optimization.
Parameter setting for the support vector machine optimization algorithm
GA: genetic algorithm; PSO: particle swarm optimization.
Parameter setting for the kernel extreme learning machine optimization algorithm
GWO: gray wolf optimizer.
All the input values (variables) were normalized to [−1, 1] using the min–max normalization so that they can be in the same range. Each feature x is linearly transformed from [min, max] toward y in the new interval [NewMin, NewMax] according to Equation (17)
Experimental results for datasets
Performance comparison of the DE–WOA–ELM, WOA–ELM, DE–ELM, PSO–ELM, and ELM (the optimal results are shown in bold)
DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; PSO: particle swarm optimization.
Performance comparison of the DE–WOA–ELM, GWO–LS–SVM, LS–SVM, GA–SVM, Grid–SVM, PSO–SVM, and SVM (the optimal results are shown in bold)
DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; GWO: gray wolf optimizer; LS–SVM: least squares support vector machine; GA: genetic algorithm; PSO: particle swarm optimization.
Performance comparison of the DE–WOA–ELM, T–S fuzzy neural network, LM–BP, and BP (the optimal results are shown in bold)
DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; T–S: Takagi–Sugeno; LM–BP: Levenberg–Marquardt back propagation.
Performance comparison of the DE–WOA–ELM, GWO–KELM, Grid–KELM, and KELM (the optimal results are shown in bold)
DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; GWO: gray wolf optimizer; KELM: kernel extreme learning machine.
Sensitivity, stability, and significance analyses of parameters
To determine the optimal parameters of the proposed algorithm and examine its performance, the influence of the number of hidden layer nodes on the algorithm classification accuracy was investigated and the stability and significance of the parameters were analyzed.
Evaluation of the WOA parameters
To determine the influence of the standard parameters of the WOA in the DE–WOA–ELM, different values of the main parameters in the WOA algorithm (population number (m) and maximum number of iterations (t) were used under the criterion that the number of ELM hidden layer nodes is 100) and the vector in Equation (10) were extensively tested on the data. To test different combinations of these parameters, m and t were allowed to take five different values (10, 20, 30, 40, or 50) and seven different values (20, 35, 50, 65, 80, 90, and 100), respectively. The last parameter (vector a) varies linearly in three different intervals: [1, 0], [2, 0], and [4, 0].
The dataset was tested by simultaneously changing the values of m, t, and a to illustrate the effect of these parameters on the performance of the WOA, and 105 parameter combinations were calculated for the dataset. For each set of parameters in the dataset, the algorithm used a 10-fold cross-validation to calculate the average accuracy and reliably compare the results. Figures 8–10 show the corresponding performance indicators when the parameters (m, t, and vector a) in the dataset were changed. In Figures 8–10, the bubble size represents the level of average accuracy. The evaluation of the WOA parameters on the dataset shows that 100 iterations, in most cases, are sufficient to obtain the optimal result. When a is in [2, 0], the average accuracy is more stable than when it is in [1, 0] and [4, 0]. Moreover, when the population is 20, the average classification accuracy is the highest.
Change in average accuracy with respect to the changes in the main controlling parameters of the proposed whale optimization algorithm-based method in the case of Change in average accuracy with respect to the changes in the main controlling parameters of the proposed whale optimization algorithm-based method in the case of Change in average accuracy with respect to the changes in the main controlling parameters of the proposed whale optimization algorithm-based method in the case of 


The choice of activation function in the ELM
The average classification accuracy of different activation functions
Effect of the number of hidden nodes in the ELM on the accuracy of algorithm classification
There is no established rule on setting the number of hidden neurons in SLFNs. To investigate the effect of the number of hidden layer nodes in the DE–WOA–ELM on its performance, a simulation was performed for 5–50 neurons (5 neurons were added each time). After searching for the optimal weight in [5, 100], the range was extended by increasing the number of neurons starting from 100 to 500, adding 100 neurons each time. The main reason for this increase was to use larger networks to test the performance of the algorithms.
Each algorithm was tested in the experiment using different numbers of hidden neurons, and then the best performance and the number of neurons in that performance were reported. Figure 11 and Table 14 show the relationship between the average accuracy of five algorithms and the number of hidden neurons after performing 10-fold cross-validations of the data. The average accuracy of five algorithms improved as the number of neurons increased. In addition, by increasing the number of neurons to several hundreds, the average accuracy of the other algorithms was reduced. The WOA-optimized training models, including the WOA–ELM and DE–WOA–ELM, showed a better performance; in particular, the DE–WOA–ELM more consistently had high accuracy (up to 99.57%).
Relationship between average accuracy and the number of hidden neurons: (a) number of hidden nodes in [5, 50]; (b) number of hidden nodes in [100, 500]. DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; PSO: particle swarm optimization. Classification accuracy distribution of the DE–WOA–ELM, WOA–ELM, DE–ELM, PSO–ELM, and ELM. DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; PSO: particle swarm optimization. Classification accuracy distribution of DE–WOA–ELM, GA–SVM, Grid–SVM, PSO–SVM, SVM, LS–SVM, and GWO–LS–SVM. DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; GA: genetic algorithm; SVM: support vector machine; PSO: particle swarm optimization; GWO: gray wolf optimizer; LS–SVM: least squares support vector machine. Classification accuracy distribution of the DE–WOA–ELM, T–S, LM–BP, and BP. DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; T–S: Takagi–Sugeno; LM–BP: Levenberg–Marquardt back propagation. Average accuracy of different algorithms with different numbers of neurons DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; PSO: particle swarm optimization.



Comparison of p-values in the F-test (
DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; PSO: particle swarm optimization; GA: genetic algorithm; SVM: support vector machine; LS–SVM: least squares support vector machine; T–S: Takagi–Sugeno; LM–BP: Levenberg–Marquardt back propagation; GWO: gray wolf optimizer; KELM: kernel extreme learning machine.
Comparison of p-values in the T-test with equal variance hypothesis (
DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; PSO: particle swarm optimization; KELM: kernel extreme learning machine.
Effect of fabric color on the classification of color difference
To verify the effect of fabric color on the proposed algorithm, four fabrics of different colors were randomly selected and numbered as (a)–(d), as shown in Figure 18. The classification accuracy of these four colors was tested separately, and the results are presented in Table 18. When the colors of the fabrics are different, the proposed DE–WOA–ELM algorithm has the same average classification accuracy under the same conditions, which demonstrates that the algorithm is independent of the fabric color.
Different colors of fabrics. (Color online only.) Comparison of p-values in the T-test with heteroscedastic hypothesis ( DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; PSO: particle swarm optimization; GA: genetic algorithm; SVM: support vector machine; LS–SVM: least squares support vector machine; T–S: Takagi–Sugeno; LM–BP: Levenberg–Marquardt back propagation; GWO: gray wolf optimizer; KELM: kernel extreme learning machine. Average classification accuracy of fabrics with different colors DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine.
Stability analysis of the proposed algorithm
The stability of the proposed algorithm was validated by analyzing the box plot and the impact of the number of iterations.
Analysis of the box plot Figures 12–15 show the distribution of the classification accuracy of each algorithm. Each box in the block diagram represents 10 runs of each algorithm used in the experiment. The median of each box plot and the spacing of the upper and lower four digits show that the precision of the DE–WOA–ELM is very symmetrical and compact, which indicates that it is more stable than the other algorithms. Impact of the number of iterations on the algorithm
Classification accuracy distribution of the DE–WOA–ELM, KELM, Grid–KELM, and GWO–KELM. DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; KELM: kernel extreme learning machine; GWO: gray wolf optimizer. The convergence curves of the DE–WOA–ELM and other algorithms are shown in Figures 16 and 17. Note that the y-axis represents the average values of the best solutions obtained in each iteration of 30 runs. Figure 17 shows that the model based on the WOA optimization converges to the optimal value after it exceeds 30 iterations because the WOA does not find a suitable solution to use in the initial iteration phase when it avoids the local optimum. Therefore, this algorithm searches for a suitable solution to converge in the search space. However, for the initial population optimized by DE, the DE–WOA–ELM converges in less than 10 iterations to the optimal result. The other algorithms converge slowly or very poorly.

Significance analysis
Student's t-test (T-test) was used to detect whether there is a significant difference between the proposed algorithm and the other algorithms (Equation (18))
The T-test analyzes the significance of the mean difference between two samples. To use the T-test, the variances of two samples should be equal. Therefore, the joint hypotheses test (F-test) was performed before the T-test, as shown in Equations (19) and (20)
Convergence curves of the DE–WOA–ELM, PSO–SVM, GA–SVM, and GWO–LS–SVM. DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; GA: genetic algorithm; SVM: support vector machine; PSO: particle swarm optimization; GWO: gray wolf optimizer; LS–SVM: least squares support vector machine. Convergence curves of the DE–WOA–ELM, PSO–ELM, WOA–ELM, and DE–ELM. DE: differential evolution; WOA: whale optimization algorithm; ELM: extreme learning machine; PSO: particle swarm optimization.


Tables 15–17 present the results of the F-test and T-test for the equal variance hypothesis and the heteroscedasticity hypothesis, respectively. Table 15 shows that
Conclusion
A single hidden layer feedforward network training method based on the optimization of the ELM of the DE improved WOA was proposed. The main conclusions are as follows.
DE was used to produce quality populations for the WOA. The proposed DE-WOA method can adjust its parameters adaptively to prevent premature convergence in the iteration stage. In addition, it can prevent the problem of slow convergence at the end of the iteration stage. The proposed DE–WOA–ELM model used the WOA to optimize the input weight and hidden layer bias. The Moore–Penrose generalized inverse model was used to determine the output weight. The proposed model was used to solve the problem that the original ELM randomly generates input weights and hidden layer bias. The performance of the DE–WOA–ELM was evaluated using a dataset obtained from printed and dyed products as the experimental material. Statistical significance analysis using the T-test and F-test was performed on the proposed algorithm and its competitors. Compared with the SVM technology and optimized SVM, neural networks, the conventional ELM, PSO–ELM, DE–ELM, KELM, and optimized KELM algorithms, the proposed DE–WOA–ELM is superior and its accuracy is extremely high. Furthermore, the proposed DE–WOA–ELM reduces the size of the network and is more stable.
Footnotes
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work is supported by NSFC-Zhejiang Joint Fund for the Integration of Industrialization and Informatization (No.U1609205), the Zhejiang Provincial Natural Science Foundation of China (No. LY18F030018), the Science Foundation of Zhejiang Sci-Tech University (No. 18032232-Y), and the Zhejiang Top Priority Discipline of Textile Science and Engineering.
