Questions tagged [gini-index]

For questions related to the Gini index, or Gini coefficient, or Gini impurity

The Gini index, or Gini coefficient, or Gini impurity computes the degree of probability of a specific variable that is wrongly being classified when chosen randomly and a variation of the Gini coefficient. It works on categorical variables, provides outcomes either be "successful" or "failure" and hence conducts binary splitting only.

More

7 questions
113
votes
9 answers

When should I use Gini Impurity as opposed to Information Gain (Entropy)?

Can someone practically explain the rationale behind Gini impurity vs Information gain (based on Entropy)? Which metric is better to use in different scenarios while using decision trees?
4
votes
1 answer

What is the meaning of the Gini Index?

I'm studying random forest models, but I don't understand what the Gini index is and what it's for. Does anyone have any material on this or can give me an explanation? Thanks!
1
vote
1 answer

Decision tree Why is Gini index only used for binary choices?

I would like to understand why "Gini index operates on the categorical target variables in terms of “success” or “failure” and performs only binary split" ? Why it would not be possible to have 3 decision after a split when we are using the Giny…
0
votes
0 answers

What are the possible reasons behind a decreasing out-of-fold Gini?

I'm trying to fit a GLM with smoothness penalization and see how out-of-fold Gini behaves when increasing penalization so I could get the optimal smoothness parameter value for my model. I expected an increasing then decreasing curve since it will…
Iti
  • 1
  • 1
0
votes
1 answer

Model/variable gini?

I'm working with a colleague concurrently between R and MS Excel looking at credit risk scorecard modelling. In Excel he has calculated what he says is the gini coefficient for certain variables, which he has calculated by ranking the variable from…
0
votes
1 answer

How to find significance for Gini coefficient changes?

I'm using the Gini coefficient to evaluate the performance of a model. Making some changes (feature selection, hyperparameter tuning, etc.) I created variant models with different Gini coefficients. How can I prove that the improvement in the Gini…
Lafayette
  • 604
  • 5
  • 20
0
votes
1 answer

How to compute the Gini index, the entropy and the classification error from a decision tree?

How to find the Gini index, the entropy, and the classification error for each node of the tree in the figure below. Please help me to compute them.