Decision Tree vs Linear Regression

Decision Tree can be used for implementing regression as well as classification models, however , Linear Regression can be used for regression problem only. Decision tree can be used for regression, even when there is non linear relationships between the features and the output variable.¬†However, Linear Regression works really nicely when there is linear relationship … Continue reading Decision Tree vs Linear Regression

Decision Tree Classification in Python in 10 lines

Decision tree machine learning algorithm can be used to solve not only regression but also classification problems. This algorithm creates a tree like conditional control statements to create its model hence it is named as decision tree. In this post we will be implementing a simple decision tree classification model using python and sklearn. First … Continue reading Decision Tree Classification in Python in 10 lines

Top 6 Advantages and Disadvantages of Decision Tree Algorithm

Decision Tree is one the most useful machine learning algorithm. Decision tree can be used to solve both classification and regression problem. When we use data points to create a decision tree, every internal node of the tree represents an attribute and every leaf node represents a class label. Like any other machine learning algorithm, … Continue reading Top 6 Advantages and Disadvantages of Decision Tree Algorithm