Professional Documents
Culture Documents
Fr pure
nodes = 0
Gini index: Gini impur ( parent node ) - partition of data1 ( gini imppurity of par 1) - partition 2
ratio* gini impur ( 2nd partition )
Important : squared…
Feature:
● IMPURITY:
○ ENTROPY
Threshold:
Select that threshold gives min impurity in nyx step:
1. entropy
2. Gini index
3. Misclassification error
Gini IMPUITY is dotted line… peaks faster but still differentiable.. Helps in grad decant
The triangle is misclassification error… 1 - max( prob of correct class) => 1 - P ( all are correctly
classified )
⇒ cost function: the dec in entropy after doing spli using a threshold n a feature… we h to max this
threshold..so grad desc