Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Gini impurity in Decision tress

$
0
0

@siddharth185 wrote:

Hello everyone,

Im new to Decision trees.
Is the formula for gini in this guide correct -

It says -
Calculate, Gini for sub-node Female = (0.2)(0.2)+(0.8)(0.8)=0.68
Shoudn't it be 1-[(0.2)(0.2)+(0.8)(0.8)]=1-0.68=0.32

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles