File "C:\Users\Simon\learn\fcs\doublets.py", line 125, in
likelihoods,ws,alphas,mus,Sigmas=maximize_likelihood(xs,ys,zs,mus=mus,Sigmas=Sigmas,alphas=alphas)
 File "C:\Users\Simon\learn\fcs\doublets.py", line 47, in maximize_likelihood
ws,ps = e_step()
 File "C:\Users\Simon\learn\fcs\doublets.py", line 32, in e_step
var = [multivariate_normal(mean=mus[k], cov=Sigmas[k]) for k in range(K)]
 File "C:\Users\Simon\learn\fcs\doublets.py", line 32, in
var = [multivariate_normal(mean=mus[k], cov=Sigmas[k]) for k in range(K)]
File "C:\Users\Simon\AppData\Roaming\Python\Python38\site-packages\scipy\stats_multivariate.py", line 365, in call
return multivariate_normal_frozen(mean, cov,
File "C:\Users\Simon\AppData\Roaming\Python\Python38\site-packages\scipy\stats_multivariate.py", line 743, in init
self.cov_info = _PSD(self.cov, allow_singular=allow_singular)
File "C:\Users\Simon\AppData\Roaming\Python\Python38\site-packages\scipy\stats_multivariate.py", line 158, in init
s, u = scipy.linalg.eigh(M, lower=lower, check_finite=check_finite)
File "C:\Users\Simon\AppData\Roaming\Python\Python38\site-packages\scipy\linalg\decomp.py", line 445, in eigh
a1 = _asarray_validated(a, check_finite=check_finite)
File "C:\Users\Simon\AppData\Roaming\Python\Python38\site-packages\scipy_lib_util.py", line 263, in _asarray_validated
a = toarray(a)
File "C:\Users\Simon\AppData\Roaming\Python\Python38\site-packages\numpy\lib\function_base.py", line 485, in asarray_chkfinite
raise ValueError(
builtins.ValueError: array must not contain infs or NaNs
Throws exception while processing RTIQC15200110 H12