aif360.sklearn.metrics.coefficient_of_variation

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

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

Parameters:

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