Skip to content

Commit ac4873e

Browse files
author
Junpeng Lao
authored
change the default of include_transformed... (#2379)
to `True`. Users confusion in sample_ppc or sample_gp could be avoide (e.g., Users are reporting error: #2368 and https://discourse.pymc.io/t/bayesian-neural-net-with-beta-distribution/136)
1 parent 20057e4 commit ac4873e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/variational/opvi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ def inner(draws=1):
878878
return dict([(n_, s_) for n_, s_ in zip(self.global_names+self.local_names, _samples)])
879879
return inner
880880

881-
def sample(self, draws=500, include_transformed=False):
881+
def sample(self, draws=500, include_transformed=True):
882882
"""Draw samples from variational posterior.
883883
884884
Parameters

0 commit comments

Comments
 (0)