Skip to content

Commit

Permalink
on pehe
Browse files Browse the repository at this point in the history
  • Loading branch information
yiweny committed May 12, 2024
1 parent a2b79d7 commit 4755bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/causalml.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def eval(factual: TensorFrame, counterfactual: TensorFrame):
within_rmse, within_rmse_cfact, within_error, within_pehe = eval(
within_sample_tensor_frame, counterfactual_within_sample_tensor_frame)

if val_error < best_val_error:
if within_pehe < best_val_pehe:
best_val_error = within_error
best_test_error = test_error
best_val_pehe = within_pehe
Expand Down

0 comments on commit 4755bc4

Please sign in to comment.