Raymw / Federated-XGBoost

Federated Learning on XGBoost
Apache License 2.0
46 stars 20 forks source link

xgboost version #8

Open qinleiyong opened 3 years ago

qinleiyong commented 3 years ago

Hello,I'd like to ask you about the XGBoost version,I did not find this file 'xgboost/python-package/xgboost/src/tree' in the new version of XGBoost.

Raymw commented 3 years ago

Hi, sorry for my later reply. You can try the version 0.9. You need to compile it and then the file will show up. Remember to recompile it after adding the changes. Thanks!

qinleiyong commented 3 years ago

image I am using version 0.9. This problem appears. How should I solve it?

Raymw commented 3 years ago

Hi, "has no member named Getbatches" Getbatches is their own function. They changed it in later version i guess. Cuz when i was making changes to the code, the version of xgboost is earlier than this. However, I suggest that you can put all these changes manually into the version 0.9's file. also remember to recompile it after adding changes and also do "make" in Rabit as i mentioned in "readme". Thanks!

njuptlht commented 1 year ago

How can I obtain the previous versions like 0.9? I could only use the command "pip install xgboost==0.9.0"to get the python package, but I couldn't get the complete file because it has already been updated on GitHub.