Skip to content

Commit

Permalink
Filter properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
kklein committed Aug 15, 2024
1 parent 59554b1 commit c0bdcbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metalearners/xlearner.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ def predict_conditional_average_outcomes(
):
fold_model = cfe._estimators[fold_index]
predict_method = getattr(fold_model, predict_method_name)
fold_estimates = predict_method(X[test_indices])
fold_estimates = predict_method(index_matrix(X, test_indices))
conditional_average_outcome_estimates[test_indices] = fold_estimates

conditional_average_outcomes_list.append(
Expand Down

0 comments on commit c0bdcbd

Please sign in to comment.