copulas.univariate.selection module

Univariate selection function.

copulas.univariate.selection.select_univariate(X, candidates)[source]

Select the best univariate class for this data.

Parameters
  • X (pandas.DataFrame) – Data for which be best univariate must be found.

  • candidates (list[Univariate]) – List of Univariate subclasses (or instances of those) to choose from.

Returns

Instance of the selected candidate.

Return type

Univariate