Computer scienceData scienceMachine learningClassificationDecision tree learning

Gini index

Gini for spines!

Report a typo

Imagine you have a dataset that contains different samples of cactuses. Your task is to predict the cactus subfamily. You must find the Gini Index for spines=yes . Round your answer to 3 decimal places.

Name Spines Subfamily
Browningia yes Cactoideae
Pterocereus yes Cactoideae
Kimnachia no Cactoideae
Maihuenia poeppigii no Cactoideae
Opuntia yes Opuntioideae
Grusonia yes Opuntioideae
Tunilla yes Opuntioideae
Maihueniopsis yes Opuntioideae
Tacinga yes Opuntioideae
Cumulopuntia yes Opuntioideae
Pereskiopsis yes Opuntioideae
Enter a number
___

Create a free account to access the full topic