Compute impurity
Opened this issue · 0 comments
ArtNd commented
The cost function of a decision tree seeks to find those cuts that minimize impurity.
We need to compute impurity in both ways:
- Gini Impurity
- Entropy Impurity
Input data will have the following template :