A Fuzzy Neural Network Based on Non-Euclidean Distance Clustering for Quality Index Model in Slashing Process

The quality index model in slashing process is difficult to build by reason of the outliers and noise data from original data. To the above problem, a fuzzy neural network based on non-Euclidean distance clustering is proposed in which the input space is partitioned into many local regions by the fuzzy clustering based on non-Euclidean distance so that the computation complexity is decreased, and fuzzy rule number is determined by validity function based on both the separation and the compactness among clusterings. Then, the premise parameters and consequent parameters are trained by hybrid learning algorithm. The parameters identification is realized;meanwhile the convergence condition of consequent parameters is obtained by Lyapunov function. Finally, the proposed method is applied to build the quality index model in slashing process in which the experimental data come from the actual slashing process.The experiment results show that the proposed fuzzy neural network for quality index model has lower computation complexity and faster convergence time, comparing with GP-FNN, BPNN, and RBFNN.


Introduction
The slashing process is a very important procedure in textile manufacturing processes.It can improve the ability of warp to resist the loading of weaving and improve the textile ability, so as to ensure the smooth going of weaving [1,2].Size addon, size moisture regain, and elongation are very important quality indexes in slashing process in which size add-on (the amount of size added) is the key quality index which affects directly product quality in slashing process [3].Since the slashing process employs complex physical, chemical, and thermal changes, it is difficult to build precise first-principle model that can explain why the desired quality appears in products.Hence, it is a significant task to establish an accurate quality index model and obtain true quality index.
Another option to solve this difficult situation is to use artificial intelligence technology.Nowadays various new technologies such as artificial neural networks and fuzzy system have been accepted as a potentially useful tool for modeling complex nonlinear systems [4,5].As a solution, artificial intelligence technology has gained increasing popularity in various industries, like the chemical industry, bioprocess, steel industry, and so forth [6][7][8].In the textile industry, most of companies have also built integrated databases to store empirical data from production process.And most popular quality index models were built on the basis of the linear statistical model.However, the applicability of these statistical models to the complicated nonlinear processes such as slashing process is limited.
Recently, some researchers have proposed new technology to solve the above problem.In [9] a neural network model for predicting initial load-extension behavior is presented in which a single hidden layer feed-forward neural network based on a back-propagation algorithm with four input neurons and one output neuron is developed to predict initial modulus in the warp and weft directions.In [10], the predictability of the warp breakage rate from a sizing yarn quality index using a feed-forward back-propagation network is investigated.An eight-quality index (size add-on, abrasion resistance, abrasion resistance irregularity, hairiness beyond 3 mm, breaking strength, strength irregularity, elongation, and elongation irregularity) and warp breakage rates are rated in controlled conditions.A good correlation between predicted and actual warp breakage rates indicates that warp breakage rates can be predicted by artificial neural networks.In [11], the performance of multilayer perceptron (MLP) and multivariate linear regression (MLR) models for predicting the hairiness of worsted-spun wool yarns from various top, yarn, and processing parameters is evaluated.In [12], a predictive model using empirical data is built by a neural network in order to describe complicated nonlinear relationship between operating parameters and quality index in slashing process.However, there are some shortages in the above methods, such as ambiguous physical interpretation for weight and number of layers and neurons in artificial neural networks.
Since Zadeh proposed the fuzzy logic theorem to describe complicated systems, it has become very popular and has been successfully used in various problems [13,14].More recently, fuzzy logic has been highly recommended for modeling to solve the inherent imprecision and vagueness characteristics in nonlinear system [15,16].On the other hand, a neural network has the ability to learn from inputoutput pairs, self-organize its structure, and adapt to it in an interactive manner.The integration of fuzzy inference system and neural network will make full use of their advantages and avoid disadvantages [17,18].The fuzzy neural network (FNN) is a multilayer feed-forward network which uses neural network learning algorithms and fuzzy reasoning to map an input space to an output space.With the ability to combine the verbal power of a fuzzy system with the numeric power of a neural system adaptive network, fuzzy neural network has been shown to be powerful in modeling numerous processes [19].Fuzzy neural network has the advantage of allowing the extraction of fuzzy rules from numerical data or expert knowledge and adaptively constructs a rule base [20].
In this paper, a fuzzy neural network based on non-Euclidean distance for quality index model in slashing process is proposed in which the input space is partitioned into many local regions by the fuzzy c-means clustering based on non-Euclidean distance, and number of fuzzy rules and membership function are determined so that computation complexity is decreased.Then, the premise and consequent parameters of fuzzy neural network are trained by hybrid learning algorithm, and the convergence condition of consequent parameters is analyzed by Lyapunov function.The experiment shows that the proposed fuzzy neural network modeling method can restrain influence on noise data and decrease computation complexity, and the established size add-on model for slashing quality index has a faster convergence speed and higher accuracy.
The rest of the paper is organized as follows: the structure of fuzzy neural network is introduced in Section 2; the learning algorithm is proposed for fuzzy neural network in Section 3 in which structure identification and parameter estimation are introduced, respectively; a size add-on model is implemented for predicting slashing quality index in Section 4. Finally, the work is concluded in Section 5.

Structure of Fuzzy Neural Networks
The fuzzy neural networks are composed of premise part and consequent part.The structure of fuzzy neural networks can be described as a multilayer neural network shown in Figure 1.
The first layer executes a fuzzification process, the second layer executes the fuzzy AND of the premise part of the fuzzy rules, the third layer normalizes the membership functions (MFs), the fourth layer executes the consequent part of the fuzzy rules, and finally the last layer computes the output of fuzzy system by summing up the outputs of layer four.And the node function of the layers is described as follows.
Layer 1.In the first layer, the node function is the fuzzy membership associated with the corresponding input where   is the inputs to node  and   are the linguistic labels characterized by appropriate membership functions   .Due to smoothness and concise notation, the Gaussian membership function is used: where {  ,   } are the premise parameters of fuzzy rules that change the shapes of the membership function.
Layer 2. In the second layer, the AND operator is applied to obtain one output that represents the result of the premise for Mathematical Problems in Engineering 3 that rule, that is, firing strength.Firing strength means the degrees to which the premise part of a fuzzy rule is satisfied and it shapes output function for the rule.Hence the outputs  2, of this layer are the products of the corresponding degrees from Layer 1: Layer 3. In the third layer, the aim is to calculate the ratio of the th rule firing strength to the sum of all rules firing strength.Consequently,   is taken as the normalized firing strength: Layer 4. The node function of the fourth layer computes the contribution of each th rule towards the total output and the function defined as where   is the th node output from the previous layer.
For { 0 ,  1 , . . .,   }, they are the coefficients of this linear combination that are referred to as consequent parameters.
Layer 5.In the fifth layer, the node computes the overall output by summing all the input signals.Accordingly, the defuzzification process transforms each rules fuzzy result into an output in this layer: The fuzzy neural network consists of totally five layers to implement different node functions to learn and tune parameters using a hybrid learning mode.So our goal is to train adaptive networks to be able to approximate unknown functions given by training data and find the precise value of the above parameters.

Learning Algorithm for Fuzzy Neural Networks
The learning algorithm for the fuzzy neural networks employs two parts: structure identification and parameter estimation.
In structure identification part, input space is partitioned into many local regions in order to reduce fuzzy rules and compact network structure.In parameter estimation part, the parameters of fuzzy neural networks are determined and the convergence is analyzed.

Structure Identification.
In structure identification part, in order to obtain number of fuzzy rules, the fuzzy neural network carries out input space partitioning that splits the input space into many local regions.The fuzzy c-means clustering algorithm is usually used to partition input space in which a number of fuzzy rules are determined.However, there are deficiencies in the traditional fuzzy -means clustering algorithm [21][22][23]: on the one hand, the noise and outliers data in data set affect the clustering result; on the other hand, improper clustering number cannot expose truly clustering structure.Hence, some improvements are proposed in this paper: (i) For the noise and outliers data, a fuzzy c-means clustering based on non-Euclidean distance is proposed for partitioning input space and improving clustering robustness.(ii) For the optimal clustering number, the validity function based on improved partition coefficient is built to obtain optimal clustering number in which the separation and compactness are considered.

Structure Identification Using Fuzzy Clustering Based on Non-Euclidean Distance.
In fuzzy -means clustering algorithm, the objective function is where  is the number of cluster centers,  is the number of data points,   is the th cluster center,   is the th data,  is the weight factor, and   is the membership functions of fuzzy sets in the interval [0, 1].
The Euclidean norm is used as a metric in fuzzy -means clustering.However, the parameter estimate resulting from a clustering objective function based on this Euclidean metric may not be robust in a noisy environment because every data point is given equal weight even though a data point may be far away from other data points.
An ideal clustering method should be robust and able to tolerate these noisy environments.If we can give a small weight to those noisy points or outliers and a large weight to those compact points in the data set, then the weighted sum of   will be more robust.
In this paper, we proposed a new fuzzy -means clustering algorithm in which a new non-Euclidean metric alternates the traditional Euclidean distance metric.
We replace the Euclidean norm with a new metric in fuzzy c-means clustering.The new metric is where  is a coefficient of data dispersity and ‖ − ‖ is a Euclidean distance.
The data dispersity describes disperse degree of data point in data set.In a data set with the same number of data points, the disperse data points occupy larger space, and the compact data points have smaller space relatively.The data dispersity is defined as where  is the number of data points, ℎ  = [1 − exp(−  )],   ,  = 1, . . ., , is the length of each dimension,  is the dimension of data set, and  is a positive integer.Note that the new metric (, ) is a monotone increasing function of ‖ − ‖.And the new metric (, ) satisfies the following three conditions: Using the new metric, we propose a new fuzzy -means clustering objective function as where  is the number of cluster centers,  is the number of data points,   is the th cluster center,   is the th element of dataset, and  is a coefficient of data disperse level.
We plot the distance metric on both the Euclidean norm and the proposed non-Euclidean distance metric (8) with different , shown in Figure 2. We see that the new metric is bounded and monotone increasing with distance measure zero as ‖  −   ‖ = 0 and distance measure one as ‖  −   ‖ tends to infinite.If ‖  −   ‖ is larger than a level (i.e.,   keeps away from   ) then the distance measure will be close to its maximum value and give a small weight to   .However, the distance measure with the Euclidean norm presents a straight line.According to the analysis in Figure 2, the Euclidean norm is sensitive to noise or outliers point data and the proposed non-Euclidean norm is more robust than the common used Euclidean norm.

Validity Function for Optimal Clustering Number.
In fuzzy c-means clustering, Bezdek proposed two cluster validity indexes, the partition coefficient (PC) and partition entropy (PE) [24,25].Although these validity indexes are widely cited in the literature, the major drawback is that they use only the fuzzy membership degrees for each cluster without considering the data structure of the clusters [26,27].To overcome this disadvantage, we present a novel validity function based on improved partition coefficient for the optimal clustering number.It evaluates fuzzy c-partitions by exploiting the concepts of compactness and separation.
The proposed validity function is combined on the basis of partition coefficient method and introduces the exponential function to suppress the effect of noise or outliers point data and therefore takes into account the geometrical properties of the input data and improves the accuracy of clustering partition.
The proposed validity function is where  = (1/) ∑  =1 ‖  − ‖ 2 and  = (1/) ∑  =1   .The first item in validity function  V is partition coefficient which describes intradata compactness, and the second item describes the product between interdata separation and the intradata compactness.In the validity function  V , the bigger value indicates better cluster partition.It is worth noting that the second item in validity function introduces an exponential function exp(−‖  −   ‖ 2 /) to weaken the influence on noise or outliers data.Now we have the exact procedure of structure identification as follows.
Step 1. Initialize clustering number  min = 2,  max = √, give weight factor m, and set iterative error  and maximum iterations .
Step 5. Compute the validity function  V .
Step 6.If  =  max , then the clustering procedure is terminated; otherwise go to Step 2 until achieving the maximum iterations .
Step 7. Choose the optimal clustering number according to the maximum value of validity function  V and then output corresponding clustering centers.
After obtaining cluster centers, the number of fuzzy rules is determined in accordance with the number of cluster centers, and the shape of membership function in domain is confirmed.

Hybrid Learning Algorithm.
The fuzzy neural network applies a hybrid learning algorithm, the gradient descent, and the least-squares method, to update parameters.We employ the gradient descent to tune premise nonlinear parameters {  ,   }, while the least-squares method is used to identify consequent parameters { 0 ,  1 , . . .,   }.The learning procedure has two steps: In the first step, the least-squares method is used to identify the consequent parameters, while the premise parameters are assumed to be fixed for the current cycle through the training set.Then, the error signals propagate backwards.Gradient descent method is used to update the premise parameters, through minimizing the overall quadratic cost function, while the consequent parameters remain fixed.
When the premise parameters are fixed, the consequent parameters are expressed as where  = [      ],  = [ 0   ] T ,  = 1, . . ., , and  is the output of fuzzy neural networks.The least-squares method is used to identify the consequent parameters: Then the gradient descent method is used to update the premise parameters {  ,   }, through minimizing the overall quadratic cost function, while the consequent parameters remain fixed.The premise parameters are updated as follows: where  is the error between the desired output and the actual output and  is the learning rate, 0 <  < 0. The procedure of hybrid learning is as follows.
Step 1. Set error and max training times .
Step 3. Fix the consequent parameters, using the gradient descent method for training the premise parameters {  ,   }: Step 4. Repeat Steps 2 and 3, until the error is satisfied or the max training times  are reached.

Convergence Analysis.
To ensure the convergence of consequent parameters, we employ a discrete Lyapunov function.Lyapunov function is defined as where () = Ŷ() − () is error between the desired output and the actual output.

Experiments and Result Analysis
In this section, we firstly identify a nonlinear system for verifying the effectiveness of the proposed fuzzy neural network.Then, the fuzzy neural network is applied for modeling quality index in slashing process, and the accuracy and convergence time are compared with fuzzy neural network with grip partition, BP neural network, and RBF neural network.

4.1.
A Nonlinear System.For a nonlinear system where In this subsection, 290 samples' data are used to identify the nonlinear system, in which 200 samples' data are training data and 90 samples' data are testing data.In structure identification part, the fuzzy clustering proposed in Section 3.1 is used to partition input space.The cluster validity function with different clustering number is shown in Figure 3.And we obtain that the optimum clustering number is three, and then three fuzzy rules are generated.
In parameter identification part, the premise parameter and consequent parameter are trained by hybrid learning algorithm in which the premise parameter is trained by gradient descent and the consequent parameter is tuned by least-squares method.On the basis of convergence condition, the learning rate  is 0.015.In the training phase, the convergence time is 2.543 s.
After the training phase, 90 samples' data are used to verify the performance of model.Figure 4 shows the comparison between model output and the actual output in which maximum relative error is 1.1725, maximum absolute error is 0.0401, and root-mean square error is 0.0137.Figure 5 shows the relative error of model.Hence, the model is valid and has a high accuracy.

Quality Index Model in Slashing
Process.In this subsection, the proposed fuzzy neural network based on non-Euclidean distance clustering is applied in size add-on model for predicting slashing quality index.
The size add-on is the most important quality index in slashing process.In actual slashing process, many operating parameters affect add-on in slashing process, such as size concentration, size box temperature, speed, nip pressure, raw material and structure of warp, and surface characteristics of squeeze rollers.Among these operating parameters, the major operating variables are size concentration, size temperature, low nip pressure, high nip pressure, and sizing speed.Hence, these major operating variables are selected as input of fuzzy neural networks and size add-on is the output.
In this experiment, the original data from experimental prototype should be preprocessed in order that the wrong or  uncorrelated information in original data is removed.In this paper, we adopt the following methods to deal with wrong or uncorrelated data: (i) According to technological requirements, the sample data on operating variables must be limited.For example, the nip pressure should be limited when it exceeds threshold value.
(ii) The wrong data will be rejected.For example, when the temperature of size box is negative, it should be rejected.
After data preprocessing procedure, 240 samples' data are used to build size add-on model.However, the original data are dispersed and irregular because of complex physics, chemistry, and thermodynamic process in slashing process.The variation range of size concentration, size temperature, low nip pressure, high nip pressure, and sizing speed is shown in Table 1 where OV max is the maximum value of operating variable and OV min is the minimum value of operating variable.
From Table 1, the fluctuation of operating variables is observed in which the variation of high nip pressure and speed is particularly obvious.
On the basis of the above analysis, the proposed fuzzy neural network is used to build size add-on model.The fuzzy -means clustering based on non-Euclidean distance is used to partition input space and the optimum clustering number can be determined by the validity function based on improved partition coefficient.Table 2 lists the clustering centers and Figure 6 shows the validity function corresponding to different clustering numbers.
After partitioning input space, 13 clustering centers are obtained.The obtained fuzzy rule is as follows: If (Concentration is in 1 cluster ) and (Temperature is in 2 cluster ) and (Speed is in 3 cluster ) and (Low press is in 4 cluster ) and (High press is in 5 cluster ) then (Add-on is out 1 cluster ),  = 1, 2, . . ., 13.
Next, the hybrid learning algorithm is adopted in training phase.The gradient descent is used to train premise parameter of fuzzy neural networks.And the least-squares method is used to obtain consequent parameters.On the basis of convergence condition, the learning rate selects  In order to verify the performance of difference models, we use the 10-fold cross validation to compare the performance of difference models.The data set is divided into 10 subsets.Each time, one of the 10 subsets is used as the test set and the other 9 subsets are put together to form a training set.Then the average error across all 10 trials is computed.The proposed fuzzy neural network based on non-Euclidean distance clustering (nED-FNN) is compared with fuzzy neural network with grip partition (GP-FNN), BP neural network (BPNN), and RBF neural network (RBFNN).And the convergence time, max relative error (MRE), max absolute error (MAE), and root-mean square error (RMSE) are compared, respectively.The above models are running in MATLAB 2008a on computer with Intel i7-2637 M 1.7 GHz CPU and 4 G memory.In training phase, the training steps are 150 for each method.In nED-FNN, the membership function is Gaussian, convergence time is 52.15 s in training phase, and rootmean square error is 0.0222.In GP-FNN, the numbers of membership functions are 2 and 3, respectively, the input type of membership function is Gaussian, convergence times are 19.24s and 539.60 s, respectively, in training phase, and root-mean square errors are 0.1886 and 0.0548.In BPNN, the nodes of hidden layer are 50, convergence time is 28.27 s in training phase, and root-mean square error is 0.0779.In RBFNN, the nodes of hidden layer are 50, convergence time is 3.84 s in training phase, and root-mean square error is 0.1220.The performance contrast with difference models is shown in Table 3.
The comparison analysis in Table 3 shows that the convergence speed is slow in GP-FNN method, and the convergence time is longer than 500 s when the number of membership functions is more than 2. In contrast with GP-FNN, BPNN, and RBFNN, the proposed nED-FNN is not only high accuracy but also low computational complexity and short convergence time among the above modeling methods.Figure 7 shows errors of different models.
After comparison analysis, 60 samples' data are used to build size add-on model.Figure 8 shows contrast curve between the output of size add-on model and actual samples data.

Conclusions
In this paper, we proposed a novel fuzzy neural network based on non-Euclidean distance clustering.A non-Euclidean distance clustering is used to partition input space in order to  reduce influence on noise and outlier data and computational complexity.Then, the premise parameters and consequent parameters of fuzzy neural network are trained by hybrid learning algorithm, and the convergence condition of consequent parameters in fuzzy neural network is obtained by the discrete Lyapunov function.The proposed fuzzy neural network is used to build size add-on model in slashing process.The experiment results show that the proposed fuzzy neural network for size add-on has lower computation complexity and faster convergence time, comparing with GP-FNN, BPNN, and RBFNN.

Figure 2 :
Figure 2: Contrast curve between Euclidean distance and non-Euclidean distance.

Figure 6 :
Figure 6: Variation of validity function corresponding to different clustering number.

Figure 7 :
Figure 7: Errors contrast with different models.

Figure 8 :
Figure 8: Contrast curve for size add-on model.

Table 1 :
Every operating variable variation.
. In Table 1, the change rate describes fluctuation of operating variables:

Table 2 :
The clustering centers.

Table 3 :
Performance contrast with difference models.