Skip to content

Commit

Permalink
return data and idata for demonstration purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
GStechschulte committed Nov 17, 2023
1 parent 0d1fe33 commit 6208fe8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bambi/interpret/effects.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,8 @@ def comparisons(

# early return since 'PredictiveDifferences' does not need to be called
if return_idata:
return get_posterior(response.name_obs, idata, comparisons_data)
# return get_posterior(response.name_obs, idata, comparisons_data)
return comparisons_data, idata

# returns empty array if model predictions do not have multiple dimensions
response_dim_key = response.name + "_dim"
Expand Down

0 comments on commit 6208fe8

Please sign in to comment.