Using XGBoost for distribution trees

Hello everyone, my name is tslil and i aim to use XGBoost for a project i’m currently working on
i will admit that i am a bit inexperienced with a code of this level and would appreciate any assistance i can get

The project i’m working on focuses on using trees to calculate probability of discrete sequences (all of indetermined length)
where each element in the sequence belongs in a finite alphabet
the probability calculation is also done in a fashion that is somewhat different from other decision trees

if anybody is interested in the rest of details and might be inclined to help me, i would greatly appreciate it
please contact me:

thank you