sdv-dev / Copulas

A library to model multivariate data using copulas.

Home Page:https://sdv.dev/Copulas/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set `allow_singular=True` when calculating probability_density

frances-h opened this issue · comments

Environment Details

  • Copulas version:
  • Python version:
  • Operating System:

Error Description

Currently, likelihood match in HMA often fails due to a LinAlg error from Scipy. Setting the flag allow_singular=True fixes the issue.

return stats.multivariate_normal.pdf(transformed, cov=self.correlation)

Steps to reproduce