Copulas icon indicating copy to clipboard operation
Copulas copied to clipboard

VineCopula is not working NonImplementedError for pdf and cdf

Open grechasneak opened this issue 2 years ago • 1 comments

Environment Details

  • Copulas version: 3.10.4
  • Python version: 1.4.2
  • Operating System: Linux

Error Description

Trying to fit a vine copula to a pandas dataframe with 3 columns and then get the pdf for each row in the dataset. I am getting a NonImplementedError.

image

grechasneak avatar Nov 13 '23 19:11 grechasneak

Hi @grechasneak, a NotImplementedError indicates that the functionality does not exist for the type of Copula you're using.

I would recommend referring to the API docs for Vine Copulas. In the docs, I don't see any method called probability_density. Did you meant to use a different method such as get_likelihood?

Alternatively, if you think probability density is something that's missing, we could turn this into a feature request for adding such functionality. We prioritize feature requests based on demand and the importance to your projects. So any other information about your project will be useful. For example, what is the goal of the project? Are you trying to predict something for the selected weather?

npatki avatar Nov 15 '23 16:11 npatki

Closing this issue off since it has been stale for some time. Please feel free to reply if there is more to discuss and I can always re-open the issue for continued investigation.

npatki avatar Apr 17 '24 02:04 npatki