Skip to content

Commit

Permalink
hound
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Bernhardsson committed Mar 30, 2020
1 parent 5e80124 commit eed6d45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions convoys/regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def _predict(self, params, x, t):
params['k'],
(t*lambd)**params['p'])

return M
return M

def predict_posteriori(self, x, t):
''' Returns the trace samples generated via the MCMC steps.
Expand Down Expand Up @@ -371,7 +371,8 @@ def cdf(self, x, t, ci=False):
else:
return self.predict(x, t)

@deprecated(version='0.1.8', reason='Use :meth:`predict_posteriori` instead.')
@deprecated(version='0.1.8',
reason='Use :meth:`predict_posteriori` instead.')
def cdf_posteriori(self, x, t):
'''Returns the a posterior distribution of the predicted values.'''
return self.predict_posteriori(x, t)
Expand Down

0 comments on commit eed6d45

Please sign in to comment.