Problems during use a code with python language to deterimine the suitable cuts

Hello root experts,
I use a code with python language to deterimine the suitable cuts. This is
the link of code on gihub :
bdt-tutorial/bdt_tutorial.ipynb at master · k-woodruff/bdt-tutorial · GitHub

Also this link within it steps to complete the code . My problem that I find
large errors during run the code. i dont know to fix my errors So … I send my code and
the original code to explore my errors .The code file is named (bdt_tutorial.ipynb)

please help me to fix these errors

Notes : these links contain root files and code files

bb.root (45.5 KB)
bdt_Original .ipynb (177.6 KB)
bdt_tutorial.ipynb (181.1 KB)
dataAnalysis.C (10.4 KB)
dataAnalysis.h (83.6 KB)
h_bb.root (45.5 KB)
h90BP1_bb.root (55.9 KB)
h90BP2_bb.root (55.3 KB)
h95BP1_bb.root (55.4 KB)
h95BP3_bb.root (56.1 KB)
h96BP1_bb.root (56.0 KB)
h96BP2_bb.root (56.2 KB)
h96BP3_bb.root (56.9 KB)
h96BP6_bb.root (54.5 KB)
z_bb.root (47.6 KB)

Deat Ahmed,

Could you please formulate a precise question about what is not working? Your inquiry is a bit too generic.

Cheers,
D

Of course my sir , I will send again python code and a screenshot from error
boosted_decision_tree.py (181.2 KB)

Hi,

This is useful. But could you perhaps share a minimal standalone reproducer showing what is not working?

Best,
D