powered by
function used to calculate the gini coefficient or variance according to the type of the column. This function is called for the creation of the decision tree
gini_or_variance(X)
column to calculate variance or gini