Skip to content

Commit

Permalink
Update gps_classifier.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dirknbr authored May 21, 2024
1 parent a06fd68 commit 31b909e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion causal_curve/gps_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ def _create_log_odds(self, T):
"""
return logit(
self.gam_results.predict_proba(
np.array([T, self.gps_function(T).mean()]).reshape(1, -1)
np.array([T[0], self.gps_function(T).mean()]).reshape(1, -1)
)
)

0 comments on commit 31b909e

Please sign in to comment.