Skip to content

Commit

Permalink
Update metalearners/metalearner.py
Browse files Browse the repository at this point in the history
Co-authored-by: Francesc Martí Escofet <[email protected]>
  • Loading branch information
kklein and FrancescMartiEscofetQC authored Jun 24, 2024
1 parent ee8c944 commit 03f032b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions metalearners/metalearner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1033,12 +1033,10 @@ def _default_scoring() -> Scoring:
return {
nuisance_model: [
default_metric(
self.nuisance_model_specifications()[nuisance_model][
"predict_method"
](self)
model_specifications["predict_method"](self)
)
]
for nuisance_model in self.nuisance_model_specifications()
for nuisance_model, model_specifications in self.nuisance_model_specifications().items()
} | {
treatment_model: [
default_metric(
Expand Down

0 comments on commit 03f032b

Please sign in to comment.