Created
August 9, 2020 01:43
-
-
Save shedoesdatascience/1e00f4f5985216d11d214cb26ecf2dc0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+ | |
| Advantages | Disadvantages | | |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+ | |
| Easy to Understand | Can show spurious accuracy if dataset is imbalanced towards a particular class. Fix: Use a representative/stratified sample for training | | |
| Useful in Data exploration: Decision tree is one of the fastest way to identify most significant variables and relation between two or more variables. | Is prone to overfitting or lack of generalization. Fix: Use pruning (play with depth of tree) and minimum number of sample points required to split tree | | |
| Data type is not a constraint: It can handle both numerical and categorical variables. | | | |
| Non-Parametric Method: Decision tree is considered to be a non-parametric method. This means that decision trees make no assumptions about the underlying data distribution. | | | |
| Non-linear relationships between parameters do not affect tree performance. | | | |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment