Machine Learning, AI, ML, Decision Trees, Probability.
the probability that we pick a random ball and it is of color i, then Putting all these formulas together, we get that This last formula is the Gini index of the set. Finally, the probability that we pick a random ball of color i is the number of balls of color i divided by the total number of