Skip to content

Commit

Permalink
Add initial backfitting with posterior sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanbabbar04 committed Aug 3, 2024
1 parent 22c4761 commit df2bf6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preliz/ppls/pymc_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def parse_backfitting(model, data):

model_info = get_model_information(model)[2]
parsed_info = [(dist, var) for var, dist in model_info.items()]
print(posterior, parsed_info)

new_priors = []
for dist, var in parsed_info:
dist._fit_mle(posterior[var].values)
Expand Down

0 comments on commit df2bf6f

Please sign in to comment.