I would like to know how to calculate the optimal Gini or entropy of Decision Tree Alogithm in Scikit-Learn Library.
I already know to calculate the Gini Index, Entropy-I