module ml.gini#

Short summary#

module ensae_teaching_cs.ml.gini

Functions about the Gini coefficient.

source on GitHub

Functions#

function

truncated documentation

gini

Computes the Gini coefficients.

Documentation#

Functions about the Gini coefficient.

source on GitHub

ensae_teaching_cs.ml.gini.gini(Y, X=None)#

Computes the Gini coefficients.

Paramètres:
  • Y – Y values (or revenues)

  • X – None for a uniform population or not None for already order value.

Renvoie:

a curve (x, Gini(x))

source on GitHub