Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
unflatten_dict)
class GaussianCopula(BaseTabularModel):
"""Model wrapping ``copulas.multivariate.GaussianMultivariate`` copula.
Args:
distribution (copulas.univariate.Univariate or str):
Copulas univariate distribution to use.
categorical_transformer (str):
Type of transformer to use for the categorical variables, to choose
from ``one_hot_encoding``, ``label_encoding``, ``categorical`` and
``categorical_fuzzy``.
"""
DEFAULT_DISTRIBUTION = copulas.univariate.Univariate
_distribution = None
_categorical_transformer = None
_model = None
HYPERPARAMETERS = {
'distribution': {
'type': 'str or copulas.univariate.Univariate',
'default': 'copulas.univariate.Univariate',
'description': 'Univariate distribution to use to model each column',
'choices': [
'copulas.univariate.Univariate',
'copulas.univariate.GaussianUnivariate',
'copulas.univariate.GammaUnivariate',
'copulas.univariate.BetaUnivariate',
'copulas.univariate.StudentTUnivariate',
'copulas.univariate.GaussianKDE',