New Similarity of Triangular Fuzzy Number and Its Application

The similarity of triangular fuzzy numbers is an important metric for application of it. There exist several approaches to measure similarity of triangular fuzzy numbers. However, some of them are opt to be large. To make the similarity well distributed, a new method SIAM (Shape's Indifferent Area and Midpoint) to measure triangular fuzzy number is put forward, which takes the shape's indifferent area and midpoint of two triangular fuzzy numbers into consideration. Comparison with other similarity measurements shows the effectiveness of the proposed method. Then, it is applied to collaborative filtering recommendation to measure users' similarity. A collaborative filtering case is used to illustrate users' similarity based on cloud model and triangular fuzzy number; the result indicates that users' similarity based on triangular fuzzy number can obtain better discrimination. Finally, a simulated collaborative filtering recommendation system is developed which uses cloud model and triangular fuzzy number to express users' comprehensive evaluation on items, and result shows that the accuracy of collaborative filtering recommendation based on triangular fuzzy number is higher.


Introduction
Due to the uncertainty of information and the complexity of the decision-making problem, it is difficult for decisionmakers to express their preferences by using exact numbers. It is easier for them to use linguistic labels (fuzzy terms) to express their preferences [1,2]. Triangular fuzzy number not only can be used to express the vagueness and the uncertainty of information, but also can be used to represent fuzzy terms in information processing. Besides integrated with decision-making [3][4][5], triangular fuzzy number has been applied in many fields such as risk evaluation [6], performance evaluation [7], forecast [8], matrix games [9], and space representation [10].
Similarity is an important tool to provide the foundation for analogical reasoning between two fuzzy concepts, and is widely applied in many fields [9]. Some applications of triangular fuzzy numbers depend on their similarity. Chen and Lin proposed the distance of two triangular fuzzy numbers and calculated the similarity of two triangular fuzzy numbers based on the distance between them [11]. Hsieh and Chen put forward the concept of graded mean integration representation and computed the similarity of two triangular fuzzy numbers based on it [12]. Yager used the kernel function to represent a triangular fuzzy number [13], and Xu defined the concept of fuzzy expectation value of a fuzzy number [14]. By using the utility value of triangular fuzzy number, Hsieh and Chen compared two triangular fuzzy numbers and measured the similarity of two triangular fuzzy numbers [15]. S.-J. Chen and S.-M. Chen (2003) presented a simple center of gravity method to calculate the center-of-gravity (COG) point of a triangular fuzzy number and put forward an approach to express the similarity of two triangular fuzzy numbers based on COG [16]. Wan proposed a new method to express the similarity of two triangular fuzzy numbers and applied it to multisensor data fusion field to recognize multisensor objectives [17]. Sadi-Nezhad et al. used vector similarity to measure the similarity of triangular fuzzy numbers [10].
The shape of a triangular fuzzy number is an important metric; however, it was not taken into consideration before. Therefore, a new method SIAM (Shape's Indifferent Area and Midpoint) to measure the similarity of two triangular fuzzy numbers is proposed, which considers the shapes 2 The Scientific World Journal and midpoints of them. To compare the effect of different methods, experiment is carried out to calculate the similarity of triangular fuzzy numbers, and result shows that similarity based on the proposed method is better distributed. Then, the triangular fuzzy number is used to express the user's comprehensive evaluation of items in collaborative filter recommendation. Case comparison and simulation are carried out; results indicate that collaborative filter recommendation based on triangular fuzzy number can obtain better accuracy.

Triangular Fuzzy Number and Its
Operators. If a regular convex fuzzy set̃is based on the real domain and meets the following conditions: (1) there exists only one element 0 that̃( 0 ) = 1, (2)̃( ) is continuous, theñis a fuzzy number, which means "a real number that is approximated to 0 . "̃can be expressed as follows [15]: ( ) is an increasing function and continuous on the right, ( ) is a decreasing function and continuous on the left, and 0 ≤ ( ), ( ) ≤ 1. When ( ) is expressed as ( − )/( − ) and ( ) is represented as ( − )/( − ),̃( ) is called a triangular fuzzy number (TFN). To donate it simply, the left threshold value , the midpoint , and the right threshold value are used to represent a triangular fuzzy number̃,̃= ( , , ), and its membership function is as follows:̃( Let̃= ( , , ) and̃= ( , , ) be two triangular fuzzy numbers; the basic operators for triangular fuzzy numbers are as follows: (3)

Similarity of Triangular Fuzzy Numbers.
A similarity measure is an important tool for presenting a degree of similarity between two objects. The application of triangular fuzzy number in different area needs different measurements of its similarity. Chen and Lin proposed a method to calculate similarity based on distance of midpoint and boundary. Let̃= ( , , ) and̃= ( , , ) be two triangular fuzzy numbers, the similarity of them can be denoted as follows: Hsieh and Chen presented the concept of utility value of a triangular fuzzy number and used it to measure the similarity of triangular fuzzy numbers [15].
Suppose that there are triangular fuzzy numbers, and all of them match the membership functioñ= ( , , ), = 1, 2, . . . , . Then the maximizing set and minimizing set with membership function are as follows: Let̃= ( , , ) be a triangular fuzzy number. Then its right utility value (̃) based on maximizing set and its left utility value (̃) based on minimizing set are And the total utility value is UV (̃): Supposẽ= ( , , ) and̃= ( , , ) are two triangular fuzzy numbers. The utility similarity UV (̃,̃) between them is as follows: where UV (̃) and UV (̃) are the utility values of̃and̃, respectively. And UV (̃,̃) = 1 when UV (̃) and UV (̃) are both 0. Based on the idea of graded mean integration-representation distance (GMIR), Hsieh and Chen (1999) presented The Scientific World Journal 3 a similarity measure for two triangular fuzzy numbers. The measurement of GMIR is as follows [12]: where (̃,̃) = (̃) − (̃) , Yager presented the concept of kernel of fuzzy number [13]. Let (̃,̃( )) be a fuzzy number and its kernel function can be denoted as follows: Hou and Wu used the above expression to calculate the kernel function of triangular fuzzy number and obtained the same result as graded mean integration-representation [18]. Meanwhile, Xu put forward the method to calculate the expectation value of a triangular fuzzy number and also got the same result [14].
S.-J. Chen and S.-M. Chen presented a simple center method to calculate the center-of-gravity (COG) points of generalized fuzzy numbers, and put forward a similarity measure of triangular fuzzy numbers based on the center-ofgravity [16]. Let̃= ( , , ) be a triangular number and ( * , * ) the center-of-gravity; its formula is shown as follows: Let̃= ( , , ) and̃= ( , , ) be two triangular fuzzy numbers, and let ( * , * ) and ( * , * ) be their COGs; the similarity of̃and̃can be defined as follows: where * , * , * , and * are calculated according to formula (13) and (̃,̃) is used to determine if the COG distance is considered; the new formula is defined as follows: wherẽand̃are the lengths of the triangular fuzzy number̃and̃, respectively, defined as follows: It has been proven that the similarity based on COG has the following property: COG (̃,̃) = 1 if and only if̃=̃.
Because of the complexity of objective things and the disturbance of the measurement surroundings, there exist uncertainty and fuzziness in dealing with multisensor data fusion (MSDF). Wan (2011) used triangular fuzzy number to express its uncertainty and fuzziness [17]. What is more, multiattribute decision-making theory was used to solve problems in MSDF and a new multisensor object recognition method was proposed. Thus, another similarity of two triangular fuzzy numbers is presented. Supposẽ= ( , , ) and̃= ( , , ) are two triangular fuzzy numbers; their similarity is defined as follows: To solve multiple criteria group decision-making (MCGDM) problems, method based on vector similarity is used to measure similarity of two triangular fuzzy numbers [6]:

Similarity of Triangular Fuzzy Numbers Based on SIAM
Triangular fuzzy numbers are used to represent uncertain and incomplete information in decision-making, risk evaluation, and expert systems. Measurement of similarity should keep some parameters of triangular fuzzy numbers. Shape and midpoint are important metrics of a triangular fuzzy number. Therefore, they should be taken into consideration when measuring the similarity of triangular fuzzy numbers. Let a triangular fuzzy number move horizontally and overlap its midpoint with the midpoint of another triangular fuzzy number. The overlapped part of two triangular fuzzy numbers is indifferent, and the ratio of the overlap part can be used to represent the shape similarity of two triangular fuzzy numbers. And the distance between the midpoints of two triangular fuzzy numbers can express the difference of them.
Movẽ= (0.1, 0.3, 0.5) tõ= (0.6, 0.8, 1.0) so that the midpoint of̃is identical with the midpoint of̃. The intersection area of̃and̃can be demonstrated in the red area in Figure 2. The intersection area of̃and̃is indifferent, so the intersection area is called the indifferent area.
The ratio of the indifferent area can be used to express the shape similarity of two triangular fuzzy numbers. Thus, a new method to measure the similarity of two triangular fuzzy numbers based on shape and the midpoint is obtained.
where − ̸ = 0 and − ̸ = 0; the similarity of triangular fuzzy numbers based on their shape's indifferent area and midpoint can be described as follows: Similarity SIAM has the following properties: (1) reflexivity, that is, SIAM (̃,̃) = 1; (2) symmetry, that is, SIAM (̃,̃) = SIAM (̃,̃). There are several approaches to measure the similarity of two triangular fuzzy numbers. MB measures the similarity based on the distance of left point, midpoint, and right point. UV calculates the similarity based on the utility value. GMIR gets the similarity based on graded mean integrationrepresentation distance. GOV obtains the similarity based on the center-of-gravity of triangular fuzzy numbers. max uses vector cosine to compute the similarity. And SIAM utilizes the shape's indifferent area and midpoint to measure the similarity of two triangular fuzzy numbers. From the equations, we conclude that MB , GMIR , max , and SIAM are easier to calculate while GOV and UV are more difficult.
To compare the distribution of different approaches that measure similarity of triangular fuzzy numbers, a simulation program is written which generates randomly 10000 pairs of triangular fuzzy numbers and measures the similarity of them based on different approaches. To compare the similarity distribution of each approach, the similarity is dealt with as follows: multiply the calculated similarity by 10, adds 0.5, and omits decimal fractions and it turns into an integer between 0 and 10; (2) counts the numbers of the integers, respectively, and divides the integers by 10; and (3) computes the ratio of each similarity interval. Figure 3 shows the result of the ratio of each similarity interval based on different method to measure similarity of triangular fuzzy numbers.
From Figure 3, we can see that VS , MB , and GMIR are oriented to larger. max , SIAM , GOV , and UV can obtain distributed result more normally. SIAM is much easier according to the complexity of the measuring equation, and it gets better normally distributed result. Table 1 shows the detail of the similarity distribution rate of different approaches.

Its Application in Collaborative Filtering Recommendation
Collaborative filtering technique has been widely applied [19][20][21], which recommends items to a user based on the rating information of its neighbors. The basic principle of collaborative filtering recommendation assumes that users will have similar evaluation on other items if they have similar evaluation on some items. Thus, items can be recommended to a user based on its nearest neighbours' evaluation. Therefore, similarity measurement based on users' evaluation on items is the key problem in collaborative filtering recommendation systems.
Comprehensive measurement, such as evaluation ranking frequency vector and cloud model (CM), can be used to represent users' comprehensive evaluation and to calculate users' similarity [22].
Cloud model is a cognitive model proposed by Liu et al. which can synthetically describe the randomness and fuzziness of concepts and implement the uncertain transformation between a qualitative concept and its quantitative instantiations [23]. Zhang    evaluation ranking frequency vector in collaborative filtering recommendation system and used cloud model to express the users' comprehensive evaluation on items; simulation on MoviesLens dataset was carried out to prove that collaborative filtering recommendation based on cloud model obtained better performance than that of ranking frequency vector [22]. Therefore, the paper compares the performance of collaborative filtering recommendation based on cloud model and triangular fuzzy number, respectively. If a user's evaluation on traded items is = { 1 , 2 , . . . , }, the user's comprehensive evaluation on items can be represented by cloud model = ( , , ): The triangular fuzzy number shows the fuzzy and uncertainty of information, so it is appropriate to represent the user's comprehensive evaluation on items. The average of the user's comprehensive evaluation on items represents the midpoint of a triangular fuzzy number, namely, the degree of concentration on items. The absolute value of user's evaluation on item minus the average of user's evaluation on items is called the fuzzy discretization (FD) of user's evaluation, that is, the uncertainty of user's evaluation. Therefore, if a user evaluates the items in = { 1 , 2 , . . . , }, its comprehensive evaluation can be expressed by a triangular fuzzy number = ( , , ).

Comparison of Users' Comprehensive Evaluation.
Take the example from Zhang et al. [22]. Four users, A, B, C, and D, evaluated 10 items, respectively. Table 2 shows the detailed evaluation of each user on the items. Bellogín et al. [20] found that the similarity based on evaluation ranking frequency vector was in [0.98, 1] and it is difficult to distinguish its nearest neighbours. They put forward the cloud model to express the user's evaluation on items. The similarity of users based on the cloud model is as shown in Table 3.
From the case, we can see that the similarity based on triangular fuzzy number has better discrimination. Users A and B have different evaluation on items; the similarity based on cloud model is 0.956, which is not consistent with our intuitionistic judging. While the similarity based on triangular fuzzy numbers is 0.461, which means that there is difference between the evaluation of users A and B. Therefore, it can be concluded that it is reasonable to use a triangular fuzzy number to express users' evaluation on items and calculate their similarity based on it.

Simulation in Collaborative Filtering Recommendation
System. The simulated system is developed by using Visual Studio.NET. The experiment takes data from MoviesLens (http://www.grouplens.org/), which is a recommendation system for research and provides recommendation list to users based on users' evaluation on movies. The experiment uses the MoviesLens 100 K data set, which contains 100000 records of 943 users' evaluation on 1648 items. 80 percent of the data set is used as history data and 20 percent of it is chosen as test data set.
Accuracy is a metric to evaluate the recommendation quality. And mean absolute error (MAE) can be used to represent recommendation accuracy, which calculates the deviation between the user's forecasted score and the user's real score. The smaller the MAE, the better the performance of a recommendation system.
Assume the users' forecasted score set of a recommendation system is = { 1 , 2 , . . . , }, and the users' real score set is = { 1 , 2 , . . . , }. The MEA can be donated as the following formula: A simulated collaborative filtering recommendation system is developed. Cloud model and triangular fuzzy number are used to express the comprehensive users' evaluation on items in the simulated system, similarity of users is calculated based on them, and items are recommended to users based on the nearest neighbours' scores on items. To score the performance of collaborative filtering recommendation, the MAE is used to measure recommendation accuracy. Simulation result is shown in Figure 4. Figure 4 shows that the more neighbours are used in collaborative filtering recommendation, the more accuracy the recommendation system can obtain. From the simulation, the MAE of collaborative filtering recommendation based on triangular fuzzy number can be more accurate than that on cloud model.

Conclusion
Triangular fuzzy number has been applied in many fields such as risk analysis, decision-making, and evaluation. A new method to measure the similarity of two triangular fuzzy numbers is proposed, which measures the similarity based on the shape's indifferent area and midpoints of two triangular fuzzy numbers. Comparison with other measurements shows that the similarity measuring method proposed in this paper can be distributed more normally.
Finally, triangular fuzzy number is applied in collaborative filtering recommendation system, in which triangular fuzzy number is used to express the users' comprehensive evaluation on items. Case demonstration and simulation on MoviesLens show that triangular fuzzy number can express users' comprehensive evaluation on items and the collaborative filtering recommendation accuracy can be higher.