Skip to content

Commit

Permalink
calo_pid: savefig inferred probability difference
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl committed Dec 19, 2024
1 parent da40eac commit 1bc85cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions benchmarks/calo_pid/calo_pid.org
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ if "_EcalEndcapNParticleIDOutput_probability_tensor_floatData" in pi_train.field
eval_proba = ak.concatenate([pi_eval_proba, e_eval_proba])

plt.hist(clf.predict_proba(eval_x.to_numpy())[:,1] - eval_proba[:,1].to_numpy())
plt.savefig(output_dir / f"proba_diff.pdf", bbox_inches="tight")
plt.show()
else:
print("EcalEndcapNParticleIDOutput not present")
Expand Down

0 comments on commit 1bc85cf

Please sign in to comment.