Skip to content

Commit

Permalink
Apply pchs.
Browse files Browse the repository at this point in the history
  • Loading branch information
kklein committed Jun 24, 2024
1 parent 8bea026 commit 2340c67
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions metalearners/metalearner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1032,16 +1032,12 @@ def _scoring(self, scoring: Scoring | None) -> Scoring:
def _default_scoring() -> Scoring:
return {
nuisance_model: [
default_metric(
model_specifications["predict_method"](self)
)
default_metric(model_specifications["predict_method"](self))
]
for nuisance_model, model_specifications in self.nuisance_model_specifications().items()
} | {
treatment_model: [
default_metric(
model_specifications["predict_method"](self)
)
default_metric(model_specifications["predict_method"](self))
]
for treatment_model, model_specifications in self.treatment_model_specifications().items()
}
Expand Down

0 comments on commit 2340c67

Please sign in to comment.