Skip to content

Commit

Permalink
Add comments to the code
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlheureux committed Aug 14, 2024
1 parent 86daeac commit 96dca9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bambi/priors/scaler.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ def scale_common(self, term):
# Iterate over columns in the data
for i, value in enumerate(term.data.T):
if term.kind == "interaction":
# For interaction terms, distinguish cases where all factor terms are categorical
# For interaction terms, distinguish cases where all factor terms
# are categorical
all_categoric = all(
component.kind == "categoric" for component in term.term.components
)
Expand Down

0 comments on commit 96dca9c

Please sign in to comment.