Decision Tree. Decision Tree Learning. c4.5. Example

Size: px
Start display at page:

Download "Decision Tree. Decision Tree Learning. c4.5. Example"

Transcription

1 Decision ree Decision ree Learning s of systems that learn decision trees: c4., CLS, IDR, ASSISA, ID, CAR, ID. Suitable problems: Instances are described by attribute-value couples he target function has discrete values Disjunctive descriptions of concepts may be required he ting set may contain errors (noise) he ting set may contain incomplete data c4. c4. [Qui9b,Qui96]: evolution of ID, also by J. R. Quinlan Inspired to one of the first decision tree learning system, CLS (Concept Learning Systems) by E.B. Hunt Benchmark for many learning systems Instances: Saturday mornings Classes: Good day for playing tennis Bad day for playing tennis Attributes outlook, discrete, values={,,} temperature, continuous humidity, continuous windy, discrete, values={true, false} 4

2 ing set Decision ree o D emp ( ) Humid (%) Class =? D D D D D Humidity =? D D8 D true false true false D0 7 D D 6 D 68 D = Decision ree Humidity : Humidity > : =: = =rue: =alse: otation Let be the ting set, Let {C,C,,C k } be the set of classes; 7 8

3 ree Building Algorithm of build_tree build_tree() returns a tree: contains examples from the same class Return a leaf with label the class contains examples from more than one class is partitioned into subsets,,, n according to a test on an attribute Call the algorithm recursively on the subsets: child i =build_tree( i ) for i=, n Return a subtree with the root associated to the test and childs child,,child n. 9 = o D D D D4 D D6 D7 D8 D9 D0 D D D D4 emp ( ) Humid (%) Class 0 est on est on = = o D D D D4 D emp ( ) Humid (%) Class o D0 D D D D4 emp ( ) Humid (%) 96 Class = o emp ( ) Humid (%) Class D7 D8 D

4 build_tree( ) build_tree( ) est: Humidity =, Humidity o emp ( ) D D 69 Leaf, label, Humidity > Humid (%) Class o D7 D8 D9 Leaf, label emp ( ) Humid (%) 78 6 Class o emp ( ) Humid (%) Class D D D Leaf, label 4 build_tree( ) Decision ree est: =?,true = o D0 D Leaf, label,false = o emp ( ) 7 6 emp ( ) Humid (%) Humid (%) Class Class Humidity true false =? =? true false D D D Leaf, label 6

5 ests on Attributes Discrete attribute X with n possible values x,,x n : Equality with a constant: X=cost, possible outcomes: yes, no Equality test: X=?, n possible outcomes Membership in a set: X S, possible outcomes: yes, no Membership in a set of a partition of {x,,x n }: one outcome per set est on Discrete Attributes of membership in a set of a partition: Attribute, partition of the set of values {{},{,}} {} =? {,} Continuous attribute X Comparison with a threshold X cost, possible outcomes: yes, no 7 8 ermination Condition c4. stops When an uniform set is found When an empty set is found A leaf is returned with label the most frequent class in the father When no test is such that at least two subsets contain a minimum number of cases. he minimum number of cases is a userdefined parameter assuming value by default Building the ree Search in space of all possible trees Once a test is assigned to a node it is possible to backtrack Infeasible Greedy search ests on nodes chosen irrevocably: once a test is assigned to a node it is not possible to backtrack Choice on the basis of a heuristic Most used heuristics Entropy Gini index 9 0

6 Choice of the est Choice of the attribute Discrete attributes: Choice of the type of test ossibly choice of the constant or partition Continuous attributes Choice of the threshold Usually only the equality test X=? is used for discrete attributes Only the attribute must be chosen Constts that the test must satisfy: at least two among,,, n must contain a minimum number of examples Entropy In information theory, entropy is a measure of the uncertainty associated with a discrete random variable. Random variable C with k possible values C,,C k, entropy H(C) is given by k H ( C) = ( C j )log ( C j ) = E[ log j= Also known as Shannon entropy ( C)] Information heory Interpretation Suppose you want to transmit a series of messages made of the values of random variables independent and identically distributed (i.i.d.) What is the minimum number of bits necessary to transmit these messages? Source coding theorem (Shannon 948) he minimum number of bits necessary to encode the values of i.i.d. random variables with negligible risk of information loss is H(X) as tends to infinity, where H(X) is the entropy of the random variables H(X) is the minimum number of bits to encode the value of a random variable X Application to Decision rees Random variable C: class of an instance randomly selected from a set In this case ( C j ) = where j is the set of examples from that belong to class C j We can define the entropy of as the entropy of the random variable C H()=H(C) j 4

7 Entropy H() measures the minimum number of bits necessary for encoding, without loss, a message of the form he present example, randomly selected from the ting set, belongs to class C j H() is also called info() Entropy for wo Classes In the case of two classes, + and -, with probabilities p + =(+) and p - =(-) H ( ) p+ log p+ p log = p Only one variable is independent: p - =-p + H ( ) = p+ log p+ ( p+ ) log( p+ ) 6 Entropy for wo Classes Entropy for wo Classes or p + =0.: p - =0. H ) = 0. log ( = 0. ( ) 0. ( ) =. or p + =0: p - =.0 H ( ) = 0 log 0 log = 0 0 In this case, we define p + def log p+ = 0 = lim p+ log + So H()=0-0=0 Similarly, if p + = H()=0 p p = + p H() p+ 8

8 Entropy Entropy measures also the non-uniformity or impurity of a set: It is minimal when the set is most pure, i.e., when it contains examples from only one class It is maximal when the set is most impure, i.e., when it contains an equal number of examples of the two classes Intuition for wo Classes If all the examples belongs to the same class, I do not need to communicate the class of a randomly drawn example If the examples are uniformly distributed over classes in the ting set, I need to use bit on average: message 0 encodes one class, message the other 9 0 lay tennis problem ing set : 4 examples, 9 positive, negative Entropy of Remember: log a x=log 0 x/log 0 a=ln x/ln a log 0 =0.0 H()=-(9/4)log (9/4)-(/4)log (/4)= =-(9/4)log 0 (9/4)/0.0-(/4)log 0 (/4)/0.0= =-0.64*(-0.9)/ *(-0.447)/0.0= = =0.940 Entropy for hree Classes hree classes {C,C,C }: p =(C ) p =(C ) p =(C ) Only two independent variables: p =-p -p H ( ) = p ( p log p p log p ) log ( p p ) p

9 Entropy for hree Classes Maximum of the Entropy. 0. H() he maximum of the entropy is obtained for a uniform distribution of the examples over classes or three classes: p =p =p =/=0, H()=-*/*log /=log =,8 or k classes, we get the maximum for (C j )=/k H max k ( ) = log = k log k = log j= k k k k p p 4 c4. Heuristic Information Gain Assign to a test on an attribute the value given by the decrease of entropy (information gain) due to the partitioning of the set of examples according to the test est X with n possible outcomes Set of examples is partitioned into n subsets,, n Entropy after the partitioning: weighted average entropy in the subsets n i H X ( ) = H ( ) i = i gain( X ) = H ( ) H ( ) It is equivalent to the number of bits necessary for encoding the class of examples that we save when we also know the result of the test X on the examples Entropy decreases as more and more uniform subsets are obtained X 6

10 Attribute Choice he attribute with the highest information gain is selected for splitting the current set of examples est on the attribute : = => contains 6 positive and negative examples = => contains positive and negative examples =[9,] =[6,] =[,] 7 8 otal lay 6 9 Don t lay H( )=-6/8*log (6/8)-/8*log (/8)=0.8 H( )=-/6*log (/6)-/6*log (/6)= gain()=h()-(8/4*h( )+6/4*H( ))= (8/4)*0.8-(6/4)*=0.048 otal est on the attribute outlook: ==> contains pos and neg ==> contains 4 pos and 0neg ==> contains pos and neg =[9,], =[,], =[,], =[4,0] 9 40

11 roblems of Information Gain Sunny Overcast Rain otal lay 4 9 Don t lay 0 otal 4 4 High tendency to favor tests with many results : test on an attribute that is a key: i =, n = [,, K, n] H ( ) 0 H ( ) = 0 i = i X gain()=h()-((/4)*h( )+(/4)*H( )+ (4/4)*H( ))= * * *0=0.46 So the gain is maximum: gain ( X ) = H ( ) : diagnosis problem, examples=patients, attribute= atient s name Useless attribute but has the highest gain 4 4 ormalized Gain he gain is normalized with respect to the entropy of the test itself he random variable in this case is the value of the attribute X n i i H ( X ) = = log i Gain ratio gain( X ) gainratio ( X ) = H ( X ) Gain Ratio in the Diagnosis example X=patient name gain( X ) = H ( ) log k n H ( X ) = log = n log n = log n n n i= log gainratio( X ) log If n>>k gain ratio(x) is small H(X) is also called splitinfo k n n 4 44

12 gainratio()=gain()/h() H()=-8/4*log (8/4)-6/4*log (6/4)=0.98 gainratio()=0.048/0.98=0.048 gainratio()=gain()/h() H()=-/4*log (/4)-/4*log (/4) - 4/4*log (4/4)=.77 gainratio()=0.46/.77=0.6 Other impurity measure or two classes gini Gini Index gini( ) = k j= ( C j ( ) = p+ ( p+ ) = p+ p+ ) 4 46 Gini Index Gini index he max of Gini index is achieved for p + =p - =0,: gini()=0, he min is achieved for p + =0 or p - =0: gini()=0 or three classes p ( p ) gini( ) = p p gini p

13 Gini Index for hree Classes Gini Index 0,7 0,6 0, 0,4 gini 0, 0, In general, the Gini index has a maximum for p =p =...p k =/k k gini ) = i= k = k k ( = k and a minimum for p =, p =...p k =0: gini()=0 0, p 0 0, 0,4 0,6 0,8 0 0, 0,4 0,6 0,8 0 p 49 0 Gini index Gini index after the split on attribute X n i gini X ( ) = gini( ) j = i he attribute X that gives the lowest gini X () is chosen for the split Gini index is used by CAR ests on Continuous Attributes Suppose continuous attribute X assumes m values in Let <V,V,.,V m > be the values ordered from the smallest to the largest he test X V i divides the m values into two groups: X V i : {V,,V i } X > V i : {V i+,,v m } So we have m- candidates for the threshold: V,..., V m- Each candidate must be evaluated

14 ests on Continuous Attributes ests on Continuous Attributes Evaluation of a test: Sort the examples on the basis of the attribute X Count the examples Let e j,i be the number of examples that have value V i for X and belong to class C j for j=,,k, i=,,m- Let e j be the number of examples that belong to class C j for k=,,k Each test has two possible outcomes: yes or no d j,yes =examples of class j in branch X V i d j,no =examples of class j in branch X > V i or j= to k d j,yes =0 d j,no =e j or i= to m- Let the test be X V i or j= to k d j,yes :=d j,yes +e j,i d j,no :=d j,no -e j,i he heuristic for attribute X, threshold V i can be computed from the values d,yes,,d k,yes,d,no,,d k,no 4 Attributes with Unknown Value If the ting set contains examples with one or more attributes unspecified or example <?,7,90,,> How do we take into account this example when computing the heuristic and when splitting the example set? Attributes with Unknown Value est evaluation: Consider a discrete attribute X with n values {x,,x n } Let be the set of examples of that have X known provides us with a distribution of examples into values and class (x i,c j ) We assume that the unknown values have the same distribution (x i,c j ) with respect to the attribute and the class herefore the examples with unknown values do not alter the value of the entropy or of the Gini index 6

15 Attributes with Unknown Value Entropy of the partitioning: the unknown value is considered as a value of its own Let n+ be the set of examples of with unknown value for X Attributes with Unknown Value c4. further penalizes attributes with unknown values by multiplying the gain by the probability that the attribute is known If is the set of examples of with X known = n + i i H ( X ) log = i gain( X ) = ( H ( ) H X ( )) 7 8 Suppose that in the example database the case D6 : =, emperature=7, Humidity=90, = is replaced by =?, emperature=7, Humidity=90, = he frequencies of over are Sunny Overcast Rain otal lay 8 Don t lay 0 otal 9 Sunny Overcast Rain otal lay 8 Don t lay H()=-8/*log (8/)-/*log (/)=0.96 H ()=/*(-/*log (/)-/*log (/)) +/*(-/*log (/)-0/*log (0/)) +/*(-/*log(/)-/*log(/)) =0.747 gain()=/4*( )=0.99 (slightly less than before) 0 otal 60

16 H()=-/4*log (/4)-/4*log (/4)- /4*log (/4)-/4*log (/4)=.9 gainratio()=0.99/.9=0.0 artitioning In which subset of a node with test on X do we put an example with X unknown? artitioning is generalized in a probabilistic sense: Each example of is assigned a weight, initially Each example is inserted in every subset i with a weight If we partition on discrete attribute X If example e, with weight w in, has X=x i, e is put in i with weight w and in j with j i with weight 0 If example e, with weight w in, has X=?, e is put in i with weight w (x i ) (x i ) can be estimated by relative frequency in 6 6 artitioning according to o problem for the cases of D6 is assigned to sets, and with weights /, / e / respectively Consider o emp Humidity Class Weight D D 90 D 8 8 D4 7 9 D 69 D6? 7 90 / If is partitioned on Humidity with threshold, we get the following distribution: Humidity class, 0 class Humidity > / class, class 6 64

17 he second subset still contains examples from two classes but no test produces two subsets with at least two examples=> stop = Humidity : (.0) Humidity > : (.4/0.4) =: (.) = =rue: (.4/0.4) Wndy=alse: (.0) Output Interpretation umbers (A/B) associated to leaves A=total weight of examples associated to the leaf B=total weight of examples associated to the leaf that are misclassified or example (.4/0.4) Means that.4 cases belong to the leaf of which 0.4 do not belong to class 6 66 Classification of Unseen Cases with All Values Known An unseen (new) case e with all attributes known is classified by raversing the tree from the root by following the branches that correspond to the values of the case Suppose that the leaf os (A/B) is reached, then e is classified as os with probability (A-B)/A and eg with probability B/A In the case of more than two classes, the distribution of examples into classes at the leaf is used Classification of Unseen Cases with Unkown Values If e has X unknown e is associated with a weight w, initially set to When traversing the tree, if the attribute at the current node is unknown in e we explore all subtrees. Subtree i is explored by assigning e to i with weight w (x j ) (x j ) is estimated by considering by relative frequency over he information about relative frequencies are stored in the leaves that are descendants of 67 68

18 Classification of Unseen Cases with Unkown Values In the end more than one leaf will be reached Let L be the set of leaves that are reached Let w l be the weight of e that reaches l Let (C j l) be the relative frequency of examples in l belonging to class C j hen ( C e) = w ( C l) j l L l j Unseen example e =, emperature=, Humidity=?, = = => first subtree Humidity=?=> we cannot determine whether Humidity We follow both branches with weights Branch Humidity : w=.0/.4=0. Branch Humidity > : w=.4/.4= Leaf humidity : ( l)=00% ( l)=0% Leaf humidity > ( l)= /.4=88% ( l)= 0.4/.4=% Overall we get ( e)=0.*00%+0.60*%=44% ( e)=0.60*88%=6% Overfitting A hypothesis overfits the data when there exists a simpler hypothesis less accurate on the ting set but more accurate on the universe It may happen when the ting set contains errors or when the ting set is small 7 7

19 Overfitting Overfitting : consider the previous ting set plus <,,,strong,> which should be positive but it is erroneously classified as negative he tree h learned from the new ting set is more complex than the tree h learned from the original ting set However, since the new example is incorrect, h will make more mistakes than h on U 7 74 Approaches to Avoid Overfitting Stop the growth before reaching a tree that perfectly classifies the ting examples (prepruning) Grow the tree and prune it afterwards (postpruning) How to Determine the Optimal Dimension of the ree Using a separate example set for evaluating the tree ( ting and validation set approach) Using all the available examples for ting but using a statistical test to decide whether to keep a node or not Using an explicit measure of the complexity of encoding the tree and the examples that are exceptions and choose a tree that (locally) minimizes this measure (minimum description length principle) 76

20 Observation on c4. Search c4. performs a hill-climbing search in the space of possible trees from the simplest hypothesis towards more and more complex hypothesis he space of all possible trees is equivalent to the powerset of the set of examples so the target concept is surely included in the search space c4. mantains only a single hypothesis during the search and does not perform backtracking, so it may find a solution only locally optimal Observations on c4. Search c4. uses all the ting examples in each step for deciding how to refine the tree differently from other methods that make decisions in an incremental way on the basis of individual examples. As a result, c4. is less sensible to errors in single examples Useful Links C4. C source code Weka: open source suite of machine learning algorithms written in Java 79 References [Mit97]. M. Mitchell, Machine Learning, McGraw-Hill, 997 [Qui9b] J. R. Quinlan, C4.: rograms for machine learning, Morgan Kaufmann ublishers, San Mateo, California, 99 [Qui96] J. R. Quinlan, Improved Use of Continuous Attributes in C4., Journal of Artificial Intelligence Research, 4, pag , 996. ftp://ftp.cs.cmu.edu/ project/jair/volume4/quinlan96a.ps [Wit0] I.H. Witten, E. rank, Data Mining: ractical Machine Learning ools and echniques with Java Implementations, Second Edition, Morgan Kaufmann, 00.

ML techniques. symbolic techniques different types of representation value attribute representation representation of the first order

ML techniques. symbolic techniques different types of representation value attribute representation representation of the first order MACHINE LEARNING Definition 1: Learning is constructing or modifying representations of what is being experienced [Michalski 1986], p. 10 Definition 2: Learning denotes changes in the system That are adaptive

More information

Lecture 3: Decision Trees

Lecture 3: Decision Trees Lecture 3: Decision Trees Cognitive Systems II - Machine Learning SS 2005 Part I: Basic Approaches of Concept Learning ID3, Information Gain, Overfitting, Pruning Lecture 3: Decision Trees p. Decision

More information

Decision Tree Learning

Decision Tree Learning Decision Tree Learning Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University References: 1. Machine Learning, Chapter 3 2. Data Mining: Concepts, Models,

More information

Decision trees. Special Course in Computer and Information Science II. Adam Gyenge Helsinki University of Technology

Decision trees. Special Course in Computer and Information Science II. Adam Gyenge Helsinki University of Technology Decision trees Special Course in Computer and Information Science II Adam Gyenge Helsinki University of Technology 6.2.2008 Introduction Outline: Definition of decision trees ID3 Pruning methods Bibliography:

More information

Decision Tree Learning Mitchell, Chapter 3. CptS 570 Machine Learning School of EECS Washington State University

Decision Tree Learning Mitchell, Chapter 3. CptS 570 Machine Learning School of EECS Washington State University Decision Tree Learning Mitchell, Chapter 3 CptS 570 Machine Learning School of EECS Washington State University Outline Decision tree representation ID3 learning algorithm Entropy and information gain

More information

Learning Decision Trees

Learning Decision Trees Learning Decision Trees Machine Learning Fall 2018 Some slides from Tom Mitchell, Dan Roth and others 1 Key issues in machine learning Modeling How to formulate your problem as a machine learning problem?

More information

Decision Trees.

Decision Trees. . Machine Learning Decision Trees Prof. Dr. Martin Riedmiller AG Maschinelles Lernen und Natürlichsprachliche Systeme Institut für Informatik Technische Fakultät Albert-Ludwigs-Universität Freiburg riedmiller@informatik.uni-freiburg.de

More information

Decision Tree Learning

Decision Tree Learning 0. Decision Tree Learning Based on Machine Learning, T. Mitchell, McGRAW Hill, 1997, ch. 3 Acknowledgement: The present slides are an adaptation of slides drawn by T. Mitchell PLAN 1. Concept learning:

More information

Decision Tree Learning

Decision Tree Learning Decision Tree Learning Decision Trees Examples of systems that learn decision trees: c4.5, CLS, IDR, ASSISTANT, ID5, CART, ID3. Suitable problems: Instances are described by attribute-value couples The

More information

Induction of Decision Trees

Induction of Decision Trees Induction of Decision Trees Peter Waiganjo Wagacha This notes are for ICS320 Foundations of Learning and Adaptive Systems Institute of Computer Science University of Nairobi PO Box 30197, 00200 Nairobi.

More information

Lecture 3: Decision Trees

Lecture 3: Decision Trees Lecture 3: Decision Trees Cognitive Systems - Machine Learning Part I: Basic Approaches of Concept Learning ID3, Information Gain, Overfitting, Pruning last change November 26, 2014 Ute Schmid (CogSys,

More information

CS6375: Machine Learning Gautam Kunapuli. Decision Trees

CS6375: Machine Learning Gautam Kunapuli. Decision Trees Gautam Kunapuli Example: Restaurant Recommendation Example: Develop a model to recommend restaurants to users depending on their past dining experiences. Here, the features are cost (x ) and the user s

More information

Decision Trees.

Decision Trees. . Machine Learning Decision Trees Prof. Dr. Martin Riedmiller AG Maschinelles Lernen und Natürlichsprachliche Systeme Institut für Informatik Technische Fakultät Albert-Ludwigs-Universität Freiburg riedmiller@informatik.uni-freiburg.de

More information

Notes on Machine Learning for and

Notes on Machine Learning for and Notes on Machine Learning for 16.410 and 16.413 (Notes adapted from Tom Mitchell and Andrew Moore.) Learning = improving with experience Improve over task T (e.g, Classification, control tasks) with respect

More information

Machine Learning 2nd Edi7on

Machine Learning 2nd Edi7on Lecture Slides for INTRODUCTION TO Machine Learning 2nd Edi7on CHAPTER 9: Decision Trees ETHEM ALPAYDIN The MIT Press, 2010 Edited and expanded for CS 4641 by Chris Simpkins alpaydin@boun.edu.tr h1p://www.cmpe.boun.edu.tr/~ethem/i2ml2e

More information

Classification and Prediction

Classification and Prediction Classification Classification and Prediction Classification: predict categorical class labels Build a model for a set of classes/concepts Classify loan applications (approve/decline) Prediction: model

More information

DECISION TREE LEARNING. [read Chapter 3] [recommended exercises 3.1, 3.4]

DECISION TREE LEARNING. [read Chapter 3] [recommended exercises 3.1, 3.4] 1 DECISION TREE LEARNING [read Chapter 3] [recommended exercises 3.1, 3.4] Decision tree representation ID3 learning algorithm Entropy, Information gain Overfitting Decision Tree 2 Representation: Tree-structured

More information

the tree till a class assignment is reached

the tree till a class assignment is reached Decision Trees Decision Tree for Playing Tennis Prediction is done by sending the example down Prediction is done by sending the example down the tree till a class assignment is reached Definitions Internal

More information

Question of the Day. Machine Learning 2D1431. Decision Tree for PlayTennis. Outline. Lecture 4: Decision Tree Learning

Question of the Day. Machine Learning 2D1431. Decision Tree for PlayTennis. Outline. Lecture 4: Decision Tree Learning Question of the Day Machine Learning 2D1431 How can you make the following equation true by drawing only one straight line? 5 + 5 + 5 = 550 Lecture 4: Decision Tree Learning Outline Decision Tree for PlayTennis

More information

Decision-Tree Learning. Chapter 3: Decision Tree Learning. Classification Learning. Decision Tree for PlayTennis

Decision-Tree Learning. Chapter 3: Decision Tree Learning. Classification Learning. Decision Tree for PlayTennis Decision-Tree Learning Chapter 3: Decision Tree Learning CS 536: Machine Learning Littman (Wu, TA) [read Chapter 3] [some of Chapter 2 might help ] [recommended exercises 3.1, 3.2] Decision tree representation

More information

Decision Tree Learning

Decision Tree Learning Topics Decision Tree Learning Sattiraju Prabhakar CS898O: DTL Wichita State University What are decision trees? How do we use them? New Learning Task ID3 Algorithm Weka Demo C4.5 Algorithm Weka Demo Implementation

More information

Learning Decision Trees

Learning Decision Trees Learning Decision Trees Machine Learning Spring 2018 1 This lecture: Learning Decision Trees 1. Representation: What are decision trees? 2. Algorithm: Learning decision trees The ID3 algorithm: A greedy

More information

Classification: Decision Trees

Classification: Decision Trees Classification: Decision Trees Outline Top-Down Decision Tree Construction Choosing the Splitting Attribute Information Gain and Gain Ratio 2 DECISION TREE An internal node is a test on an attribute. A

More information

Chapter 3: Decision Tree Learning

Chapter 3: Decision Tree Learning Chapter 3: Decision Tree Learning CS 536: Machine Learning Littman (Wu, TA) Administration Books? New web page: http://www.cs.rutgers.edu/~mlittman/courses/ml03/ schedule lecture notes assignment info.

More information

Outline. Training Examples for EnjoySport. 2 lecture slides for textbook Machine Learning, c Tom M. Mitchell, McGraw Hill, 1997

Outline. Training Examples for EnjoySport. 2 lecture slides for textbook Machine Learning, c Tom M. Mitchell, McGraw Hill, 1997 Outline Training Examples for EnjoySport Learning from examples General-to-specific ordering over hypotheses [read Chapter 2] [suggested exercises 2.2, 2.3, 2.4, 2.6] Version spaces and candidate elimination

More information

Universität Potsdam Institut für Informatik Lehrstuhl Maschinelles Lernen. Intelligent Data Analysis. Decision Trees

Universität Potsdam Institut für Informatik Lehrstuhl Maschinelles Lernen. Intelligent Data Analysis. Decision Trees Universität Potsdam Institut für Informatik Lehrstuhl Maschinelles Lernen Intelligent Data Analysis Decision Trees Paul Prasse, Niels Landwehr, Tobias Scheffer Decision Trees One of many applications:

More information

M chi h n i e n L e L arni n n i g Decision Trees Mac a h c i h n i e n e L e L a e r a ni n ng

M chi h n i e n L e L arni n n i g Decision Trees Mac a h c i h n i e n e L e L a e r a ni n ng 1 Decision Trees 2 Instances Describable by Attribute-Value Pairs Target Function Is Discrete Valued Disjunctive Hypothesis May Be Required Possibly Noisy Training Data Examples Equipment or medical diagnosis

More information

Decision Trees. CS57300 Data Mining Fall Instructor: Bruno Ribeiro

Decision Trees. CS57300 Data Mining Fall Instructor: Bruno Ribeiro Decision Trees CS57300 Data Mining Fall 2016 Instructor: Bruno Ribeiro Goal } Classification without Models Well, partially without a model } Today: Decision Trees 2015 Bruno Ribeiro 2 3 Why Trees? } interpretable/intuitive,

More information

Introduction. Decision Tree Learning. Outline. Decision Tree 9/7/2017. Decision Tree Definition

Introduction. Decision Tree Learning. Outline. Decision Tree 9/7/2017. Decision Tree Definition Introduction Decision Tree Learning Practical methods for inductive inference Approximating discrete-valued functions Robust to noisy data and capable of learning disjunctive expression ID3 earch a completely

More information

CS 6375 Machine Learning

CS 6375 Machine Learning CS 6375 Machine Learning Decision Trees Instructor: Yang Liu 1 Supervised Classifier X 1 X 2. X M Ref class label 2 1 Three variables: Attribute 1: Hair = {blond, dark} Attribute 2: Height = {tall, short}

More information

Decision Tree Learning and Inductive Inference

Decision Tree Learning and Inductive Inference Decision Tree Learning and Inductive Inference 1 Widely used method for inductive inference Inductive Inference Hypothesis: Any hypothesis found to approximate the target function well over a sufficiently

More information

Machine Learning Recitation 8 Oct 21, Oznur Tastan

Machine Learning Recitation 8 Oct 21, Oznur Tastan Machine Learning 10601 Recitation 8 Oct 21, 2009 Oznur Tastan Outline Tree representation Brief information theory Learning decision trees Bagging Random forests Decision trees Non linear classifier Easy

More information

Administration. Chapter 3: Decision Tree Learning (part 2) Measuring Entropy. Entropy Function

Administration. Chapter 3: Decision Tree Learning (part 2) Measuring Entropy. Entropy Function Administration Chapter 3: Decision Tree Learning (part 2) Book on reserve in the math library. Questions? CS 536: Machine Learning Littman (Wu, TA) Measuring Entropy Entropy Function S is a sample of training

More information

Decision Tree Analysis for Classification Problems. Entscheidungsunterstützungssysteme SS 18

Decision Tree Analysis for Classification Problems. Entscheidungsunterstützungssysteme SS 18 Decision Tree Analysis for Classification Problems Entscheidungsunterstützungssysteme SS 18 Supervised segmentation An intuitive way of thinking about extracting patterns from data in a supervised manner

More information

Decision Trees. Tirgul 5

Decision Trees. Tirgul 5 Decision Trees Tirgul 5 Using Decision Trees It could be difficult to decide which pet is right for you. We ll find a nice algorithm to help us decide what to choose without having to think about it. 2

More information

Dan Roth 461C, 3401 Walnut

Dan Roth   461C, 3401 Walnut CIS 519/419 Applied Machine Learning www.seas.upenn.edu/~cis519 Dan Roth danroth@seas.upenn.edu http://www.cis.upenn.edu/~danroth/ 461C, 3401 Walnut Slides were created by Dan Roth (for CIS519/419 at Penn

More information

Decision Trees / NLP Introduction

Decision Trees / NLP Introduction Decision Trees / NLP Introduction Dr. Kevin Koidl School of Computer Science and Statistic Trinity College Dublin ADAPT Research Centre The ADAPT Centre is funded under the SFI Research Centres Programme

More information

Learning Classification Trees. Sargur Srihari

Learning Classification Trees. Sargur Srihari Learning Classification Trees Sargur srihari@cedar.buffalo.edu 1 Topics in CART CART as an adaptive basis function model Classification and Regression Tree Basics Growing a Tree 2 A Classification Tree

More information

CS145: INTRODUCTION TO DATA MINING

CS145: INTRODUCTION TO DATA MINING CS145: INTRODUCTION TO DATA MINING 4: Vector Data: Decision Tree Instructor: Yizhou Sun yzsun@cs.ucla.edu October 10, 2017 Methods to Learn Vector Data Set Data Sequence Data Text Data Classification Clustering

More information

Machine Learning & Data Mining

Machine Learning & Data Mining Group M L D Machine Learning M & Data Mining Chapter 7 Decision Trees Xin-Shun Xu @ SDU School of Computer Science and Technology, Shandong University Top 10 Algorithm in DM #1: C4.5 #2: K-Means #3: SVM

More information

Decision Trees. Machine Learning 10701/15781 Carlos Guestrin Carnegie Mellon University. February 5 th, Carlos Guestrin 1

Decision Trees. Machine Learning 10701/15781 Carlos Guestrin Carnegie Mellon University. February 5 th, Carlos Guestrin 1 Decision Trees Machine Learning 10701/15781 Carlos Guestrin Carnegie Mellon University February 5 th, 2007 2005-2007 Carlos Guestrin 1 Linear separability A dataset is linearly separable iff 9 a separating

More information

Classification Using Decision Trees

Classification Using Decision Trees Classification Using Decision Trees 1. Introduction Data mining term is mainly used for the specific set of six activities namely Classification, Estimation, Prediction, Affinity grouping or Association

More information

Einführung in Web- und Data-Science

Einführung in Web- und Data-Science Einführung in Web- und Data-Science Prof. Dr. Ralf Möller Universität zu Lübeck Institut für Informationssysteme Tanya Braun (Übungen) Inductive Learning Chapter 18/19 Chapters 3 and 4 Material adopted

More information

Data Mining. CS57300 Purdue University. Bruno Ribeiro. February 8, 2018

Data Mining. CS57300 Purdue University. Bruno Ribeiro. February 8, 2018 Data Mining CS57300 Purdue University Bruno Ribeiro February 8, 2018 Decision trees Why Trees? interpretable/intuitive, popular in medical applications because they mimic the way a doctor thinks model

More information

Lecture 7 Decision Tree Classifier

Lecture 7 Decision Tree Classifier Machine Learning Dr.Ammar Mohammed Lecture 7 Decision Tree Classifier Decision Tree A decision tree is a simple classifier in the form of a hierarchical tree structure, which performs supervised classification

More information

Supervised Learning! Algorithm Implementations! Inferring Rudimentary Rules and Decision Trees!

Supervised Learning! Algorithm Implementations! Inferring Rudimentary Rules and Decision Trees! Supervised Learning! Algorithm Implementations! Inferring Rudimentary Rules and Decision Trees! Summary! Input Knowledge representation! Preparing data for learning! Input: Concept, Instances, Attributes"

More information

Bayesian Classification. Bayesian Classification: Why?

Bayesian Classification. Bayesian Classification: Why? Bayesian Classification http://css.engineering.uiowa.edu/~comp/ Bayesian Classification: Why? Probabilistic learning: Computation of explicit probabilities for hypothesis, among the most practical approaches

More information

Decision Tree Learning Lecture 2

Decision Tree Learning Lecture 2 Machine Learning Coms-4771 Decision Tree Learning Lecture 2 January 28, 2008 Two Types of Supervised Learning Problems (recap) Feature (input) space X, label (output) space Y. Unknown distribution D over

More information

Decision Tree Learning - ID3

Decision Tree Learning - ID3 Decision Tree Learning - ID3 n Decision tree examples n ID3 algorithm n Occam Razor n Top-Down Induction in Decision Trees n Information Theory n gain from property 1 Training Examples Day Outlook Temp.

More information

Machine Learning 3. week

Machine Learning 3. week Machine Learning 3. week Entropy Decision Trees ID3 C4.5 Classification and Regression Trees (CART) 1 What is Decision Tree As a short description, decision tree is a data classification procedure which

More information

Rule Generation using Decision Trees

Rule Generation using Decision Trees Rule Generation using Decision Trees Dr. Rajni Jain 1. Introduction A DT is a classification scheme which generates a tree and a set of rules, representing the model of different classes, from a given

More information

Classification and regression trees

Classification and regression trees Classification and regression trees Pierre Geurts p.geurts@ulg.ac.be Last update: 23/09/2015 1 Outline Supervised learning Decision tree representation Decision tree learning Extensions Regression trees

More information

Generative v. Discriminative classifiers Intuition

Generative v. Discriminative classifiers Intuition Logistic Regression (Continued) Generative v. Discriminative Decision rees Machine Learning 10701/15781 Carlos Guestrin Carnegie Mellon University January 31 st, 2007 2005-2007 Carlos Guestrin 1 Generative

More information

Data Mining Classification: Basic Concepts and Techniques. Lecture Notes for Chapter 3. Introduction to Data Mining, 2nd Edition

Data Mining Classification: Basic Concepts and Techniques. Lecture Notes for Chapter 3. Introduction to Data Mining, 2nd Edition Data Mining Classification: Basic Concepts and Techniques Lecture Notes for Chapter 3 by Tan, Steinbach, Karpatne, Kumar 1 Classification: Definition Given a collection of records (training set ) Each

More information

( D) I(2,3) I(4,0) I(3,2) weighted avg. of entropies

( D) I(2,3) I(4,0) I(3,2) weighted avg. of entropies Decision Tree Induction using Information Gain Let I(x,y) as the entropy in a dataset with x number of class 1(i.e., play ) and y number of class (i.e., don t play outcomes. The entropy at the root, i.e.,

More information

Induction on Decision Trees

Induction on Decision Trees Séance «IDT» de l'ue «apprentissage automatique» Bruno Bouzy bruno.bouzy@parisdescartes.fr www.mi.parisdescartes.fr/~bouzy Outline Induction task ID3 Entropy (disorder) minimization Noise Unknown attribute

More information

Data classification (II)

Data classification (II) Lecture 4: Data classification (II) Data Mining - Lecture 4 (2016) 1 Outline Decision trees Choice of the splitting attribute ID3 C4.5 Classification rules Covering algorithms Naïve Bayes Classification

More information

Introduction to Machine Learning CMU-10701

Introduction to Machine Learning CMU-10701 Introduction to Machine Learning CMU-10701 23. Decision Trees Barnabás Póczos Contents Decision Trees: Definition + Motivation Algorithm for Learning Decision Trees Entropy, Mutual Information, Information

More information

Introduction to ML. Two examples of Learners: Naïve Bayesian Classifiers Decision Trees

Introduction to ML. Two examples of Learners: Naïve Bayesian Classifiers Decision Trees Introduction to ML Two examples of Learners: Naïve Bayesian Classifiers Decision Trees Why Bayesian learning? Probabilistic learning: Calculate explicit probabilities for hypothesis, among the most practical

More information

EECS 349:Machine Learning Bryan Pardo

EECS 349:Machine Learning Bryan Pardo EECS 349:Machine Learning Bryan Pardo Topic 2: Decision Trees (Includes content provided by: Russel & Norvig, D. Downie, P. Domingos) 1 General Learning Task There is a set of possible examples Each example

More information

CS 380: ARTIFICIAL INTELLIGENCE MACHINE LEARNING. Santiago Ontañón

CS 380: ARTIFICIAL INTELLIGENCE MACHINE LEARNING. Santiago Ontañón CS 380: ARTIFICIAL INTELLIGENCE MACHINE LEARNING Santiago Ontañón so367@drexel.edu Summary so far: Rational Agents Problem Solving Systematic Search: Uninformed Informed Local Search Adversarial Search

More information

Machine Learning Alternatives to Manual Knowledge Acquisition

Machine Learning Alternatives to Manual Knowledge Acquisition Machine Learning Alternatives to Manual Knowledge Acquisition Interactive programs which elicit knowledge from the expert during the course of a conversation at the terminal. Programs which learn by scanning

More information

Chapter 6: Classification

Chapter 6: Classification Chapter 6: Classification 1) Introduction Classification problem, evaluation of classifiers, prediction 2) Bayesian Classifiers Bayes classifier, naive Bayes classifier, applications 3) Linear discriminant

More information

Chapter 3: Decision Tree Learning (part 2)

Chapter 3: Decision Tree Learning (part 2) Chapter 3: Decision Tree Learning (part 2) CS 536: Machine Learning Littman (Wu, TA) Administration Books? Two on reserve in the math library. icml-03: instructional Conference on Machine Learning mailing

More information

Decision Trees Part 1. Rao Vemuri University of California, Davis

Decision Trees Part 1. Rao Vemuri University of California, Davis Decision Trees Part 1 Rao Vemuri University of California, Davis Overview What is a Decision Tree Sample Decision Trees How to Construct a Decision Tree Problems with Decision Trees Classification Vs Regression

More information

Decision Tree And Random Forest

Decision Tree And Random Forest Decision Tree And Random Forest Dr. Ammar Mohammed Associate Professor of Computer Science ISSR, Cairo University PhD of CS ( Uni. Koblenz-Landau, Germany) Spring 2019 Contact: mailto: Ammar@cu.edu.eg

More information

Imagine we ve got a set of data containing several types, or classes. E.g. information about customers, and class=whether or not they buy anything.

Imagine we ve got a set of data containing several types, or classes. E.g. information about customers, and class=whether or not they buy anything. Decision Trees Defining the Task Imagine we ve got a set of data containing several types, or classes. E.g. information about customers, and class=whether or not they buy anything. Can we predict, i.e

More information

Decision Trees. CS 341 Lectures 8/9 Dan Sheldon

Decision Trees. CS 341 Lectures 8/9 Dan Sheldon Decision rees CS 341 Lectures 8/9 Dan Sheldon Review: Linear Methods Y! So far, we ve looked at linear methods! Linear regression! Fit a line/plane/hyperplane X 2 X 1! Logistic regression! Decision boundary

More information

Apprentissage automatique et fouille de données (part 2)

Apprentissage automatique et fouille de données (part 2) Apprentissage automatique et fouille de données (part 2) Telecom Saint-Etienne Elisa Fromont (basé sur les cours d Hendrik Blockeel et de Tom Mitchell) 1 Induction of decision trees : outline (adapted

More information

The Solution to Assignment 6

The Solution to Assignment 6 The Solution to Assignment 6 Problem 1: Use the 2-fold cross-validation to evaluate the Decision Tree Model for trees up to 2 levels deep (that is, the maximum path length from the root to the leaves is

More information

Machine Learning 2010

Machine Learning 2010 Machine Learning 2010 Decision Trees Email: mrichter@ucalgary.ca -- 1 - Part 1 General -- 2 - Representation with Decision Trees (1) Examples are attribute-value vectors Representation of concepts by labeled

More information

Decision Trees. Gavin Brown

Decision Trees. Gavin Brown Decision Trees Gavin Brown Every Learning Method has Limitations Linear model? KNN? SVM? Explain your decisions Sometimes we need interpretable results from our techniques. How do you explain the above

More information

Decision Trees. CSC411/2515: Machine Learning and Data Mining, Winter 2018 Luke Zettlemoyer, Carlos Guestrin, and Andrew Moore

Decision Trees. CSC411/2515: Machine Learning and Data Mining, Winter 2018 Luke Zettlemoyer, Carlos Guestrin, and Andrew Moore Decision Trees Claude Monet, The Mulberry Tree Slides from Pedro Domingos, CSC411/2515: Machine Learning and Data Mining, Winter 2018 Luke Zettlemoyer, Carlos Guestrin, and Andrew Moore Michael Guerzhoy

More information

CHAPTER-17. Decision Tree Induction

CHAPTER-17. Decision Tree Induction CHAPTER-17 Decision Tree Induction 17.1 Introduction 17.2 Attribute selection measure 17.3 Tree Pruning 17.4 Extracting Classification Rules from Decision Trees 17.5 Bayesian Classification 17.6 Bayes

More information

Decision Trees. Each internal node : an attribute Branch: Outcome of the test Leaf node or terminal node: class label.

Decision Trees. Each internal node : an attribute Branch: Outcome of the test Leaf node or terminal node: class label. Decision Trees Supervised approach Used for Classification (Categorical values) or regression (continuous values). The learning of decision trees is from class-labeled training tuples. Flowchart like structure.

More information

Classification: Decision Trees

Classification: Decision Trees Classification: Decision Trees These slides were assembled by Byron Boots, with grateful acknowledgement to Eric Eaton and the many others who made their course materials freely available online. Feel

More information

Lecture 7: DecisionTrees

Lecture 7: DecisionTrees Lecture 7: DecisionTrees What are decision trees? Brief interlude on information theory Decision tree construction Overfitting avoidance Regression trees COMP-652, Lecture 7 - September 28, 2009 1 Recall:

More information

Decision Trees. Data Science: Jordan Boyd-Graber University of Maryland MARCH 11, Data Science: Jordan Boyd-Graber UMD Decision Trees 1 / 1

Decision Trees. Data Science: Jordan Boyd-Graber University of Maryland MARCH 11, Data Science: Jordan Boyd-Graber UMD Decision Trees 1 / 1 Decision Trees Data Science: Jordan Boyd-Graber University of Maryland MARCH 11, 2018 Data Science: Jordan Boyd-Graber UMD Decision Trees 1 / 1 Roadmap Classification: machines labeling data for us Last

More information

Decision Trees. None Some Full > No Yes. No Yes. No Yes. No Yes. No Yes. No Yes. No Yes. Patrons? WaitEstimate? Hungry? Alternate?

Decision Trees. None Some Full > No Yes. No Yes. No Yes. No Yes. No Yes. No Yes. No Yes. Patrons? WaitEstimate? Hungry? Alternate? Decision rees Decision trees is one of the simplest methods for supervised learning. It can be applied to both regression & classification. Example: A decision tree for deciding whether to wait for a place

More information

Administrative notes. Computational Thinking ct.cs.ubc.ca

Administrative notes. Computational Thinking ct.cs.ubc.ca Administrative notes Labs this week: project time. Remember, you need to pass the project in order to pass the course! (See course syllabus.) Clicker grades should be on-line now Administrative notes March

More information

Decision Support. Dr. Johan Hagelbäck.

Decision Support. Dr. Johan Hagelbäck. Decision Support Dr. Johan Hagelbäck johan.hagelback@lnu.se http://aiguy.org Decision Support One of the earliest AI problems was decision support The first solution to this problem was expert systems

More information

Decision Trees. Nicholas Ruozzi University of Texas at Dallas. Based on the slides of Vibhav Gogate and David Sontag

Decision Trees. Nicholas Ruozzi University of Texas at Dallas. Based on the slides of Vibhav Gogate and David Sontag Decision Trees Nicholas Ruozzi University of Texas at Dallas Based on the slides of Vibhav Gogate and David Sontag Supervised Learning Input: labelled training data i.e., data plus desired output Assumption:

More information

2018 CS420, Machine Learning, Lecture 5. Tree Models. Weinan Zhang Shanghai Jiao Tong University

2018 CS420, Machine Learning, Lecture 5. Tree Models. Weinan Zhang Shanghai Jiao Tong University 2018 CS420, Machine Learning, Lecture 5 Tree Models Weinan Zhang Shanghai Jiao Tong University http://wnzhang.net http://wnzhang.net/teaching/cs420/index.html ML Task: Function Approximation Problem setting

More information

Data Mining Classification: Basic Concepts, Decision Trees, and Model Evaluation

Data Mining Classification: Basic Concepts, Decision Trees, and Model Evaluation Data Mining Classification: Basic Concepts, Decision Trees, and Model Evaluation Lecture Notes for Chapter 4 Part I Introduction to Data Mining by Tan, Steinbach, Kumar Adapted by Qiang Yang (2010) Tan,Steinbach,

More information

CSCI 5622 Machine Learning

CSCI 5622 Machine Learning CSCI 5622 Machine Learning DATE READ DUE Mon, Aug 31 1, 2 & 3 Wed, Sept 2 3 & 5 Wed, Sept 9 TBA Prelim Proposal www.rodneynielsen.com/teaching/csci5622f09/ Instructor: Rodney Nielsen Assistant Professor

More information

Decision Tree Learning

Decision Tree Learning Topics Decision Tree Learning Sattiraju Prabhakar CS898O: DTL Wichita State University What are decision trees? How do we use them? New Learning Task ID3 Algorithm Weka Demo C4.5 Algorithm Weka Demo Implementation

More information

http://xkcd.com/1570/ Strategy: Top Down Recursive divide-and-conquer fashion First: Select attribute for root node Create branch for each possible attribute value Then: Split

More information

Classification and Regression Trees

Classification and Regression Trees Classification and Regression Trees Ryan P Adams So far, we have primarily examined linear classifiers and regressors, and considered several different ways to train them When we ve found the linearity

More information

Jeffrey D. Ullman Stanford University

Jeffrey D. Ullman Stanford University Jeffrey D. Ullman Stanford University 3 We are given a set of training examples, consisting of input-output pairs (x,y), where: 1. x is an item of the type we want to evaluate. 2. y is the value of some

More information

Information Theory & Decision Trees

Information Theory & Decision Trees Information Theory & Decision Trees Jihoon ang Sogang University Email: yangjh@sogang.ac.kr Decision tree classifiers Decision tree representation for modeling dependencies among input variables using

More information

Tutorial 6. By:Aashmeet Kalra

Tutorial 6. By:Aashmeet Kalra Tutorial 6 By:Aashmeet Kalra AGENDA Candidate Elimination Algorithm Example Demo of Candidate Elimination Algorithm Decision Trees Example Demo of Decision Trees Concept and Concept Learning A Concept

More information

Typical Supervised Learning Problem Setting

Typical Supervised Learning Problem Setting Typical Supervised Learning Problem Setting Given a set (database) of observations Each observation (x1,, xn, y) Xi are input variables Y is a particular output Build a model to predict y = f(x1,, xn)

More information

Artificial Intelligence Decision Trees

Artificial Intelligence Decision Trees Artificial Intelligence Decision Trees Andrea Torsello Decision Trees Complex decisions can often be expressed in terms of a series of questions: What to do this Weekend? If my parents are visiting We

More information

UVA CS 4501: Machine Learning

UVA CS 4501: Machine Learning UVA CS 4501: Machine Learning Lecture 21: Decision Tree / Random Forest / Ensemble Dr. Yanjun Qi University of Virginia Department of Computer Science Where are we? è Five major sections of this course

More information

Decision trees COMS 4771

Decision trees COMS 4771 Decision trees COMS 4771 1. Prediction functions (again) Learning prediction functions IID model for supervised learning: (X 1, Y 1),..., (X n, Y n), (X, Y ) are iid random pairs (i.e., labeled examples).

More information

Algorithms for Classification: The Basic Methods

Algorithms for Classification: The Basic Methods Algorithms for Classification: The Basic Methods Outline Simplicity first: 1R Naïve Bayes 2 Classification Task: Given a set of pre-classified examples, build a model or classifier to classify new cases.

More information

Learning Decision Trees

Learning Decision Trees Learning Decision Trees CS194-10 Fall 2011 Lecture 8 CS194-10 Fall 2011 Lecture 8 1 Outline Decision tree models Tree construction Tree pruning Continuous input features CS194-10 Fall 2011 Lecture 8 2

More information

Inductive Learning. Chapter 18. Material adopted from Yun Peng, Chuck Dyer, Gregory Piatetsky-Shapiro & Gary Parker

Inductive Learning. Chapter 18. Material adopted from Yun Peng, Chuck Dyer, Gregory Piatetsky-Shapiro & Gary Parker Inductive Learning Chapter 18 Material adopted from Yun Peng, Chuck Dyer, Gregory Piatetsky-Shapiro & Gary Parker Chapters 3 and 4 Inductive Learning Framework Induce a conclusion from the examples Raw

More information

Decision Trees. Machine Learning CSEP546 Carlos Guestrin University of Washington. February 3, 2014

Decision Trees. Machine Learning CSEP546 Carlos Guestrin University of Washington. February 3, 2014 Decision Trees Machine Learning CSEP546 Carlos Guestrin University of Washington February 3, 2014 17 Linear separability n A dataset is linearly separable iff there exists a separating hyperplane: Exists

More information

Decision Trees Entropy, Information Gain, Gain Ratio

Decision Trees Entropy, Information Gain, Gain Ratio Changelog: 14 Oct, 30 Oct Decision Trees Entropy, Information Gain, Gain Ratio Lecture 3: Part 2 Outline Entropy Information gain Gain ratio Marina Santini Acknowledgements Slides borrowed and adapted

More information