On the Optimization of Fuzzy Decision Trees

On the Optimization of Fuzzy Decision Trees

Fuzzy Sets and Systems 112 (2000) 117}125 On the optimization of fuzzy decision trees Xizhao Wang!,*, Bin Chen", Guoliang Qian", Feng Ye" ! Department of Mathematics, Hebei University, Baoding 071002, Hebei, People+s Republic of China " Machine Learning Group, Department of Computer Science, Harbin Institute of Technology, Harbin 150001, People+s Republic of China Received June 1997; received in revised form November 1997 Abstract The induction of fuzzy decision trees is an important way of acquiring imprecise knowledge automatically. Fuzzy ID3 and its variants are popular and e$cient methods of making fuzzy decision trees from a group of training examples. This paper points out the inherent defect of the likes of Fuzzy ID3, presents two optimization principles of fuzzy decision trees, proves that the algorithm complexity of constructing a kind of minimum fuzzy decision tree is NP-hard, and gives a new algorithm which is applied to three practical problems. The experimental results show that, with regard to the size of trees and the classi"cation accuracy for unknown cases, the new algorithm is superior to the likes of Fuzzy ID3. ( 2000 Elsevier Science B.V. All rights reserved. Keywords: Machine learning; Learning from examples; Knowledge acquisition and learning; Fuzzy decision trees; Complexity of fuzzy algorithms; NP-hardness (k) (k) Notation pi , qi relative frequencies concerning some classes X a given "nite set [X"A] a branch of a decision tree i" X" D F(X) the family of all fuzzy subsets fj P( Ai Cj) the conditional frequency (k) de"ned on X Entri fuzzy entropy (k) A, B, C, P, N fuzzy subsets de"ned on X, i.e. Ambigi classi"cation ambiguity (k) values of attributes (or Ni, Ai , etc. fuzzy classi"cation) i.e. nodes of fuzzy decision trees M( ) ) the cardinality of a fuzzy subset 1. Introduction D ) D the cardinality of a crisp subset X C i, groups of fuzzy subsets, i.e., at- Machine learning is the essential way to acquire tributes intelligence for any computer system. Learning from examples, i.e. concepts acquisition, is one of the most important branches of machine learning. * Corresponding author. It has been generally regarded as the bottle-neck of E-mail address: [email protected] (X. Wang) expert system development. 0165-0114/00/$ - see front matter ( 2000 Elsevier Science B.V. All rights reserved. PII: S 0 1 6 5 - 0 1 1 4 ( 9 7 ) 0 0 3 8 6 - 2 118 X. Wang et al. / Fuzzy Sets and Systems 112 (2000) 117}125 The induction of decision trees is an e$cient way root whereas the nodes having not any sonnodes of learning from examples [8]. Many methods have are called leaves. been developed for constructing decision trees [9] A decision tree is a kind of directed tree. The and these methods are very useful in building induction of decision trees is an important way of knowledge-based expert systems. Cognitive uncer- inductive learning. It has two key aspects, training tainties, such as vagueness and ambiguity, have and matching. The former is a process of construct- been incorporated into the knowledge induction ing trees from a training set which is a collection of process by using fuzzy decision trees [14]. Fuzzy objects whose classes are known, while the latter is ID3 algorithm and its variants [2, 4, 10, 12}14] are a process of judging classi"cation for unknown popular and e$cient methods of making fuzzy de- cases. ID3 is a typical algorithm for generating cision trees. The fuzzy ID3 can generate fuzzy deci- decision trees [8]. sion trees without much computation. It has the A fuzzy decision tree is a generalization of the great matching speed and is especially suitable for crisp case. Before giving the de"nition, we explain large-scale learning problems. some symbols. Throughout this paper, X is a given Most of existing algorithms for constructing "nite set, F(X) is the family of all fuzzy subsets (fuzzy) decision trees focus on the selection of ex- de"ned on X, and the cardinality measure of "+ panded attributes (e.g. [1, 4, 7, 8, 10, 13, 14]). They a fuzzy subset, A,isde"ned by M(A) x|X A(x) attempt to obtain a small-scale tree via the ex- (the membership of a fuzzy subset is denoted by panded attribute selection and to improve the clas- itself). si"cation accuracy for unknown cases. Generally, X L )) the smaller the scale of decision trees, the stronger De5nition 1. Let i F(X)(1 i m)bemgiven DX D' their generalizing capability. It is possible that the groups of fuzzy subsets, with the property i 1 reduction of decision tree scale results in the im- (D ) D denotes the cardinality of a crisp set). ¹ is provement of the classi"cation accuracy for un- a directed tree satisfying known cases. An important problem is whether or (a) each node of the tree belongs to F(X), not there exists an exact algorithm for constructing (b) for each not}leaf, N, whose all sonnodes con- the smallest-scale fuzzy decision tree. stitute a subset of F(X) denoted by C, there exists ) ) C"X W Centering on this optimal problem, this paper i (1 i m) such that i N, and discusses the representation of fuzzy decision (c) each leaf corresponds to one or several values trees and gives a comparison between fuzzy deci- of classi"cation decision. sion trees and crisp ones; proves that the algorithm Then, ¹ is called a fuzzy decision tree. Each group X complexity for constructing a kind of smallest- of fuzzy subsets, i, corresponds to an attribute and scale fuzzy decision tree is NP-hard; points each fuzzy subset corresponds to a value of the out the inherent defect of the fuzzy ID3 and pres- attribute. ents a new algorithm for constructing fuzzy deci- sion trees; and applies the new algorithm to three Example 1. Consider Table 1 [14]. Each column " practical problems and shows the improvement corresponds to a fuzzy subset de"ned on X M N " # of accuracy (in comparison with the fuzzy ID3 1, 2, 3,2,16 , for instance, sunny 0.9/1 # #2# algorithm). 0.8/2 0.0/3 1.0/16. Four attributes are as follows. Outlook"MSunny, Cloudy, RainNLF(X), 2. Fuzzy decision trees Temperature"MHot, Mild, CoolNLF(X), Consider a directed tree of which each edge links Humidity"MHumid, NormalNLF(X), two nodes, the initial node and the terminal node. Wind"MWindy, Not WindyNLF(X). The former is called the fathernode of the latter } while the latter is said to be the sonnode of the In the last column, three symbols, <, S and =, former. The node having not its fathernode is the denote three sports to play on weekends, Volleyball, X. Wang et al. / Fuzzy Sets and Systems 112 (2000) 117}125 119 Swimming and Weight}lifting, respectively. A fuzzy is not unique, matching proceeds along several decision tree can be constructed by using the algo- branches. (c) The decision with maximum degree of rithm in [14] to train Table 1. It is shown as Fig. 1. truth is assigned to the matching result. The general matching strategy of fuzzy decision Example 2. Consider two examples remaining to trees is described as follows. be classi"ed e1"(0.0, 0.6, 0.4; 0.3, 0.7, 0.0; 0.5, 0.5; (a) Matching starts from the root and ends at 0.5, 0.5) and e2"(0.9, 0.1, 0.0; 0.8, 0.2, 0.0; 0.5, 0.5; a leaf along the branch of the maximum member- 0.8, 0.2). The process of matching in the fuzzy deci- ship. (b) If the maximum membership at the node sion tree (Fig. 1) is shown in Fig. 2. Table 1 A small training set No. Outlook Temperature Humidity Humid Normal Class Sunny Cloudy Rain Hot Mild Cool Humid Normal Windy Not}windy V S W 1 0.9 0.1 0.0 1.0 0.0 0.0 0.8 0.2 0.4 0.6 0.0 0.8 0.2 2 0.8 0.2 0.0 0.6 0.4 0.0 0.0 1.0 0.0 1.0 1.0 0.7 0.0 3 0.0 0.7 0.3 0.8 0.2 0.0 0.1 0.9 0.2 0.8 0.3 0.6 0.1 4 0.2 0.7 0.1 0.3 0.7 0.0 0.2 0.8 0.3 0.7 0.9 0.1 0.0 5 0.0 0.1 0.9 0.7 0.3 0.0 0.5 0.5 0.5 0.5 0.0 0.0 1.0 6 0.0 0.7 0.3 0.0 0.3 0.7 0.7 0.3 0.4 0.6 0.2 0.0 0.8 7 0.0 0.3 0.7 0.0 0.0 1.0 0.0 1.0 0.1 0.9 0.0 0.0 1.0 8 0.0 1.0 0.0 0.0 0.2 0.8 0.2 0.8 0.0 1.0 0.7 0.0 0.3 9 1.0 0.0 0.0 1.0 0.0 0.0 0.6 0.4 0.7 0.3 0.2 0.8 0.0 10 0.9 0.1 0.0 0.0 0.3 0.7 0.0 1.0 0.9 0.1 0.0 0.3 0.7 11 0.7 0.3 0.0 1.0 0.0 0.0 1.0 0.0 0.2 0.8 0.4 0.7 0.0 12 0.2 0.6 0.2 0.0 1.0 0.0 0.3 0.7 0.3 0.7 0.7 0.2 0.1 13 0.9 0.1 0.0 0.2 0.8 0.0 0.1 0.9 1.0 0.0 0.0 0.0 1.0 14 0.0 0.9 0.1 0.0 0.9 0.1 0.1 0.9 0.7 0.3 0.0 0.0 1.0 15 0.0 0.0 1.0 0.0 0.0 1.0 1.0 0.0 0.8 0.2 0.0 0.0 1.0 16 1.0 0.0 0.0 0.5 0.5 0.0 0.0 1.0 0.0 1.0 0.8 0.6 0.0 Fig.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us