How to use the copulas.multivariate.GaussianMultivariate function in copulas

To help you get started, we’ve selected a few copulas examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github HDI-Project / SDV / sdv / tabular / copulas.py View on Github external
def _fit(self, data):
        """Fit the model to the table.

        Args:
            table_data (pandas.DataFrame):
                Data to be fitted.
        """
        self._model = copulas.multivariate.GaussianMultivariate(distribution=self._distribution)
        self._model.fit(data)
        self._update_metadata()

copulas

Create tabular synthetic data using copulas-based modeling.

BSL-1.0
Latest version published 29 days ago

Package Health Score

88 / 100
Full package analysis