aif360.sklearn.metrics.coefficient_of_variation

aif360.sklearn.metrics.coefficient_of_variation(b)[source]

The coefficient of variation is two times the square root of the generalized_entropy_index() with \(\alpha = 2\).

Parameters:b (array-like) – Parameter over which to calculate the entropy index.