copulas/univariate/gaussian.py
def from_dict(cls, copula_dict):
        """Set attributes with provided values."""
        instance = cls()
        instance.fitted = copula_dict['fitted']
        instance.constant_value = copula_dict['constant_value']

        if instance.fitted and instance.constant_value is None:
            instance.mean = copula_dict['mean']
            instance.std = copula_dict['std']

        return instance
Set attributes with provided values.
Set attributes with provided values.
Set attributes with provided values .
def from_dict(cls, copula_dict):
        instance = cls()
        instance.fitted = copula_dict['fitted']
        instance.constant_value = copula_dict['constant_value']
        if instance.fitted and instance.constant_value is None:
            instance.mean = copula_dict['mean']
            instance.std = copula_dict['std']
        return instance
def from_dict ( cls , copula_dict ) : instance = cls ( ) instance . fitted = copula_dict [ 'fitted' ] instance . constant_value = copula_dict [ 'constant_value' ] if instance . fitted and instance . constant_value is None : instance . mean = copula_dict [ 'mean' ] instance . std = copula_dict [ 'std' ] return instance
Set attributes with provided values.
Set attributes with provided values .
"""Set attributes with provided values."""
cls
copula_dict