How to change the best split candidate

你好,我是来自中国的一名本科生。我正在尝试利用XGBOOST算法,解决某一问题。在这个过程中,我需要对XGBOOST中特征分割方式进行一定的修改。我想要知道是否需要修改原始代码,还是可以通过某一接口来调整实现?
非常感谢您的帮助!
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.