calculate_gini {SSLR} | R Documentation |
Function calculate gini
Description
Function to calculate gini index. Formula is: 1 - n:num_classes sum probabilitie_class ^ 2
Usage
calculate_gini(column_factor)
Arguments
column_factor |
class values |
[Package SSLR version 0.9.3.3 Index]