Open Des11111 opened 3 months ago
Alright, I believe I have found the solution to the first problem. It appears that some of my data samples are too small, which causes their distribution to deviate significantly from what is expected for a normal distribution.
Hi Jacob,
I encountered a ValueError while trying to fit a
Normal(covariance_type='diag').fit()
distribution to my data. The error message states, "Variances must be positive." Meanwhile when I was trying to useNormal(covariance_type='full').fit()
, it raised error that "RuntimeError: linalg.cholesky: The input tensor A must have at least 2 dimensions."My dataset has a shape of 2000x2, with each column approximately normally distributed. I just cannot figure out why the covariance could be negative. One dimension of my dataset is like:
Another question is that I searched the package documentation but couldn't find a method to fit a Beta distribution. Is there a solution or workaround available for fitting a Beta distribution to my data?
Thank you in advance for any assistance you can provide.
Best, Ruoxiao