2) Gradual rule

In this case, the value of the degree of coincidence is only useful for the comparison conditions and the conclusion. As a result, it is no longer the same as the previous treatment of the coincidence rate of high α-explanatory type.

cfgrad(A(t,t)C(t,t))=|{(x,x)HII|IILP|=σ[(t,t)/(x,x)](AC),μ(σ[(t,t/x,x)]C)μ(σ[(t,t)/(x,x)]A)|}|{(x,x)Hn|IILP|=σ[(t,t)/(x,x)](A)}|

When the part values of the rules are a conjunction of the basic text, the coincidence rate of the conjunction is the minimum rate of each word. The formula for calculating the number of different covered samples is

ngrad(A(t,t)C(t,t))=|{(x1,x1)Hq,(x2,x2)HT|IILP|=σ[(t1,t1),(t2,t2)/(x1,x2),(x2,x2)](AC,μ(σ[(t1,t1)/(x1,x2)]C)μ(σ[(t1,t1),(t2t2)/(x1,x2),(x2,x2)]A)|.

3) Type-one certainty rule

The dynamic fuzzy rule A(t,t)C(t,t) means “the more (x,x) coincides with A, the more (x,x) ensures C”. For these rules, the coincidence rate of the conclusion does not interest us. This is called a type-one certainty rule in the. α-horizontal slice corresponding to the following classic explanation type:

Definition 6.4 For a known fact f, the α-certainty type explains the following:

Iαcent|=fiff(B|=fandμ(f)α)orE|=f

Under the restriction of this rule and the explanation of high α-certainty, the respective coincidence rates are high. Thus, it will be more tolerant to exceptional cases. The rule A(t,t)C(t,t) coincides with small values of α, and exceptional cases appear in the classic copies of the rule. Thus, we induce the use of Choquet integration:

cfcert1(A(t)C(t))=αtt(αiαi+1)*cf(A(t)C(t))Iα1cert.

The formula for calculating the number of different covered samples is

ncert1(A(t,t)C(t,t))=αi(αiαi+1)*|{(x1,x1)Hq,(x2,x2)HT|Iαcert|=σ[(t1,t1),(t2,t2)/(x1,x2)(x2,x2)](AC)}|.

4) Type-two certainty rule

In accordance with the coincidence rate of the results of the processing rules, the above definition is modified by the following methods. This is called a type-two certainty rule and is defined as shown below:

cfcertz(A(t,t)C(t,t))=|{(x,x)Hn|IILP|=σ[(t,t)/(x,x)](AC),μ([(t,t)/(x,x)]C)>1μ(σ[(t,t)/(x,x)]A)}||{(x,x)Hπ|IILP|=σ[(t,t)/(x,x)](A)}|

The formula for calculating the number of different covered samples is

ncertz(A(t,t)C(t,t))={(x1,x1)Hq,(x2,x2)HT|IILP|=σ[(t1,t1),(t2,t2)/(x1,x1)(x2,x2)](AC),μ(σ(t1,t1)/(x1,x1)C)>1μ(σ[(t1,t1),(t2,t2)/(x1,x2),(x2,x2)]A)}|.

Thus, we can use the FOIL algorithm to induce all kinds of first-order dynamic fuzzy rules by adjusting the rule to be learnt.

6.3.2Sample analysis

1. Sample description

Consider a database that describes a town of 20 houses. First, there are some dynamic fuzzy relational predicates, such as (close(x,y),(α,α)) to describe that house x is close to house y with membership rate (α,α) (0 represents strangers, 1 represents friends). Dynamic fuzzy predicates, some of which are similar to propositions such as price(x,expensive,expensive)orsize(x,(small,small)), can be used to describe the houses.

Thus, in this case, we can attain good confidence values for each type of dynamic fuzzy rule. For instance, consider the flexible rule

close(x,y),price(y,(expensive,expensive))price(x,(expensive,expensive)).

This has a confidence value of 0.81, so it is reasonable to predict that if a house is close to the price of an expensive house, the price of this house is also expensive (because expensive houses are usually located in the same area). A typical gradual rule is

size(x,(large,large))price(x,expensive,expensive)).

That is, the bigger the house, the more expensive it is, which explains the fact that price increases with size. The confidence of this rule is 0.80. A good example of certainty is

close(x,y)know(x,y).

If this is type-one certainty rule, the confidence level is 0.95. If it is a type-two certainty rule, the confidence level is 0.88. This rule means “the closer the two houses, the more likely it is that the owners know each other”. Obviously, the owners of houses close to each other have a greater probability of knowing one another. As the distance between the houses increases, the possibility of the owners knowing each other will drop. At the end of the study, we can observe that all of these rules are obviously affected by exceptions, and regardless of what they concern, they cannot be obtained by the classical ILP machine.

2. Results analysis and comparison

The data used in this chapter are taken from the auto-mpg database in the UCI repository (http://www.ics.uci.edu/~mlearn/MLRepository.html). The database consists of a car and a concept to learn. The concept to learn is the fuel consumption per mile of city driving. There are 398 car samples in the database. They are described by nine attributes, five of which are continuous, including the concept of miles per gallon (mpg). We conducted an experiment using three multi-valued discrete attributes and five continuous attributes to predict the future mpg properties, that is, the city cycle fuel consumption/mile. The database cannot be represented by propositional logic, but it is sufficient to illustrate the interesting areas of the method. First, the database can be “discretized” into dynamic fuzzy sets. Moreover, we can construct three distinct discrete correspondences:

1.A clear part of the property domain is most closely connected to the dynamic fuzzy part;

2.The support of the dynamic fuzzy sets; and

3.The core of the dynamic fuzzy sets.

Second, we learn the city cycle fuel consumption category for all types of dynamic fuzzy rules, according to clear and dynamic fuzzy sets. Table 6.1 presents the results of predicting the mpg using different rules.

The following describes an example for each type of rule combined into an algorithm. (For the clear part of the domain of the property that corresponds to the nearest dynamic fuzzy part, the classical rule is obtained by discretization.) According to different rules, the algorithm automatically generates the following example:

Classic rule: cylinders(A, 8) → mpg(A, low).

The classic rule predicted the attribute value of mpg to be lower than the low field when the automobile cylinder number is less than eight. The data are coincident with the known data in Fig. 6.1.

Tab. 6.1: Prediction result of different rules.

Fig. 6.1: Relationship between membership rate and mpg.

Flexible rule:

displacement(A,low),weight(A,medium)mpg(A,medium).

The rule explains that we can induce that mpg is in the low field when the number of cylinders is six, the weight is high, origin = 1, automobile acceleration is low, and horsepower is low.

Gradual rule: weight(A, high) → mpg(A, low).

The rule explains that we can induce that attribute mpg is in the low field when weight is in the high field.

Type one certainty rule: cylinders(A, 6), weight(A, high) → mpg(A, low).

The rule explains that we can induce that mpg is in the low field when the number of cylinders of automobile A is six and its weight is in the high field.

Type two certainty rule:

cylinders(A,6),weight(A,high),orign(A,1),acceleration(A,low),horespower(A,low)mpg(A,low).

The rule explains that we can induce that mpg is in the low field when the number of cylinders of automobile is six, its weight is in the high field, origin = 1, automobile acceleration is low, and horsepower is low.

As expected, the coverage rate of the classical rules is between that of the classical rules with a dynamic fuzzy set kernel and the classical rules supported by dynamic fuzzy sets. If this is due to the dynamic fuzzy rules kernel, samples on the clear category boundaries will not be processed. In contrast, with the support of dynamic fuzzy sets, it is clear that samples on the class boundary will belong to two categories. Relative to the coverage, because the dynamic fuzzy rules are more difficult to find than the classical rules, the kernel of the dynamic fuzzy rules is smaller. This result is to be expected because the estimated value of each predicate must be considered, and the dynamic fuzzy rules will be subject to more conditions. In fact, the confidence level of the classical rule does not depend on the distance between the data on the discrete set boundary. For example, consider the classic rule F with good confidence, as well as its dynamic fuzzy flexible copy F′. Relative to the dynamic fuzzy sets, if many examples of F belong to the boundary line, the confidence of F′ will be lower than the confidence of F. On the contrary, if many counterexamples of F lie in the border region, the confidence of F′ will be higher than that of F. Thus, compared to the small change in the set boundary, the confidence of the dynamic fuzzy flexible copy is a good indicator of the robustness of the classical rule.

Type-one certainty rules concern the degree of membership of the rule condition. Gradual and certainty rules show how the conditions and conclusions evolve together. The meanings of these rules are far different from those of the classical rules and need not have a clear copy or approximation. Dealing with certainty in dynamic fuzzy rules, it tends to be the non-dynamic fuzzy predicates that favour the conditional part. This is because the non-dynamic fuzzy predicate allows more freedom about the conformity of the sample to be covered. Note that there are some rules that can be described by propositional logic, but the examples are automatically generated by the algorithm. As some of the rules have shown, this algorithm can mix dynamic fuzzy predicates and non-dynamic fuzzy predicates.

6.3.3Dynamic fuzzy matrix HRL algorithm

1. Dynamic fuzzy matrix

Definition 6.5 If (R,R)DFL((X,X)×(Y,Y)), we say that (R,R) is the type L relationship from (X,X)to(Y,Y). If

L=[(0,0),(1,1)],(R,R)DFr((X,X)×(Y,Y)),(R,R) is the DF relationship from (X,X)to(Y,Y).

Definition 6.6 If (R1,R1),(R2,R2)DFL((X,X)×(Y,Y)), write

(1)(R1,R1)(R2,R2)(R1,R1)((x,x),(y,y))(R2,R2)((x,x),(y,y)),where((x,x),(y,y)ϵ((X,X)×(Y,Y)))(2)(R1,R1)(R2,R2)((x,x),(y,y))=(R1,R1)((x,x),(y,y))(R2,R2)((x,x),(y,y))(R1,R1)(R2,R2)((x,x),(y,y))=(R1,R1)((x,x),(y,y))(R2,R2)((x,x),(y,y))(3)(R,R)1((x,x),(y,y))=(R,R)(y,y),(x,x))

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.80.34