File "C:\Users\Kanika Bansalwal\AppData\Local\Programs\Python\Python36\newSR.py", line 449, in
ps_test = [m.transform(observation) for m in ms]
File "C:\Users\Kanika Bansalwal\AppData\Local\Programs\Python\Python36\newSR.py", line 449, in
ps_test = [m.transform(observation) for m in ms]
File "C:\Users\Kanika Bansalwal\AppData\Local\Programs\Python\Python36\newSR.py", line 276, in transform
B = self._state_likelihood(obs[n, :, :])
File "C:\Users\Kanika Bansalwal\AppData\Local\Programs\Python\Python36\newSR.py", line 167, in _state_likelihood
obs.T, mean=self.mu[:, s].T, cov=self.covs[:, :, s].T)
File "C:\Users\Kanika Bansalwal\AppData\Local\Programs\Python\Python36\lib\site-packages\scipy\stats_multivariate.py", line 522, in pdf
out = np.exp(self._logpdf(x, mean, psd.U, psd.log_pdet, psd.rank))
File "C:\Users\Kanika Bansalwal\AppData\Local\Programs\Python\Python36\lib\site-packages\scipy\stats_multivariate.py", line 469, in _logpdf
dev = x - mean
ValueError: operands could not be broadcast together with shapes (7338,10) (6,)