mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-18 08:53:42 +00:00
Merge
This commit is contained in:
parent
3a0061e8e1
commit
847ecee033
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ class CmdStanPyBackend(IStanBackend):
|
||||||
args.update(kwargs)
|
args.update(kwargs)
|
||||||
|
|
||||||
self.stan_fit = self.model.sample(**args)
|
self.stan_fit = self.model.sample(**args)
|
||||||
res = self.stan_fit.sample
|
res = self.stan_fit.draws()
|
||||||
(samples, c, columns) = res.shape
|
(samples, c, columns) = res.shape
|
||||||
res = res.reshape((samples * c, columns))
|
res = res.reshape((samples * c, columns))
|
||||||
params = self.stan_to_dict_numpy(self.stan_fit.column_names, res)
|
params = self.stan_to_dict_numpy(self.stan_fit.column_names, res)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue