Top 5 advantages and disadvantages of Decision Tree Algorithm

Subscribe

Dhiraj K
2 min readMay 26, 2019

--

Decision Tree is a very popular machine learning algorithm. Decision Tree solves the problem of machine learning by transforming the data into a tree representation. Each internal node of the tree representation denotes an attribute and each leaf node denotes a class label.

A decision tree algorithm can be used to solve both regression and classification problems.

Latest news about AI and ML such as ChatGPT vs Google Bard

Time Complexity of Code with Python Example

Space Complexity of Code with Python Example

Advantages:

  1. Compared to other algorithms decision trees requires less effort for data preparation during pre-processing.
  2. A decision tree does not require normalization of data.
  3. A decision tree does not require scaling of data as well.
  4. Missing values in the data also do NOT affect the process of building a decision tree to any considerable extent.
  5. A Decision tree model is very intuitive and easy to explain to technical teams as well as stakeholders.

Disadvantage:

  1. A small change in the data can cause a large change in the structure of the decision tree causing instability.

--

--

Dhiraj K

Data Scientist & Machine Learning Evangelist. I like to mess with data. dhiraj10099@gmail.com