Decision Trees
Ever implemented if-else? Well, if you have, you've probably implemented a Decision Tree. No kidding. Let's dive into it. Decision Tree is a popular tool used in many Machine Learning models which help to separate the data into different categories by sketching out linear boundaries in the sample space and classify by asking questions in a highly optimized way. Don't worry ... Just hang on Can you separate the circles from crosses by drawing a vertical or a horizontal line? Of course you can. A vertical line just after the 2 marked on horizontal axis. Or maybe a horizontal line right through the center. Some might have also answered a diagonal line, one end touching top left corner, but again, look what I asked for. Can you separate this data with a horizontal or vertical line? Image: Udacity Nope. You can't. Did you think of this line? Image: Udacity Well this does tell you that left of the