Skip to content

Commit d16a537

Browse files
chang111junpenglao
authored andcommitted
Fix logp_nojact docstring (#3428)
1 parent 81bcd1a commit d16a537

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pymc3/model.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,11 @@ def logpt(self):
735735

736736
@property
737737
def logp_nojact(self):
738-
"""Theano scalar of log-probability of the model"""
738+
"""Theano scalar of log-probability of the model but without the jacobian
739+
if transformed Random Variable is presented.
740+
Note that If there is no transformed variable in the model, logp_nojact
741+
will be the same as logpt as there is no need for Jacobian correction.
742+
"""
739743
with self:
740744
factors = [var.logp_nojact for var in self.basic_RVs] + self.potentials
741745
logp = tt.sum([tt.sum(factor) for factor in factors])

0 commit comments

Comments
 (0)