diaporamaMiscDM
 
◃  Ch. 2 AD  ▹
 

Gini

critere gini
> gini(contingences(lenses)$Age)
[1] 0.5208333
> gini(contingences(lenses)$Defaut)
[1] 0.5277778
> gini(contingences(lenses)$Astygmate)
[1] 0.4652778
> gini(contingences(lenses)$Larmes)
[1] 0.3263889