Understanding Decision Trees
My notes on Decision Trees from the course — Analytics Edge
Introduction
In his book, Data Science from Scratch, Joel Grus has used a very interesting example to make his readers understand the concept of Decision Trees. Since the example is too perfect, I shall quote the same. He says — As children, how many of you remember playing the game of twenty questions? In this game, one child would think of an animal or a place or a famous personality, etc. Others would ask questions to guess it. The game would go something like this :
“I am thinking of an animal.”
“Does it have more than five legs?”
“No”
“Is it delicious?”
“No”
“Does it appear on the back of the Australian 5 cent coin?”
“Yes”
“Is it an echidna?”
“Yes, it is!”
Now let’s create a little elaborate graph for the “Guess the Animal “ game we just played.