Skip to content

Commit

Permalink
fix stopping ratio family
Browse files Browse the repository at this point in the history
  • Loading branch information
tomicapretto committed Apr 9, 2024
1 parent c927f64 commit b431d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bambi/families/univariate.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def transform_backend_eta(eta, kwargs):
def transform_backend_kwargs(kwargs):
# P(Y = k) = F(threshold_k - eta) * \prod_{j=1}^{k-1}{1 - F(threshold_j - eta)}
p = kwargs.pop("p")
n_columns = p.type.shape[-1]
n_columns = p.shape.eval()[-1]
p = pt.concatenate(
[
pt.shape_padright(p[..., 0]),
Expand Down

0 comments on commit b431d81

Please sign in to comment.