-
Notifications
You must be signed in to change notification settings - Fork 0
Compute impurity #1
Copy link
Copy link
Open
Labels
ClassificationTreeFocus on Classification Decision TreeFocus on Classification Decision TreeenhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
ClassificationTreeFocus on Classification Decision TreeFocus on Classification Decision TreeenhancementNew feature or requestNew feature or request
The cost function of a decision tree seeks to find those cuts that minimize impurity.
We need to compute impurity in both ways:
Input data will have the following template :