How to change the best split candidate

Hello, I’m an undergraduate from China. I’m trying to use xgboost algorithm to solve a certain problem. In this process, I need to modify the feature segmentation method in xgboost. I want to know if I need to modify the original code, or can I adjust algorithm through an interface?

Thank you very much for your help!

You will need to modify the C++ code.

Thank you for your help!I want to know if it will take a long time to modify the C + + code? If so, I may need to consider more ways to solve my problems.