Using XGBOOST in c++

前端 未结 6 1636
谎友^
谎友^ 2020-12-13 01:14

How can I use XGBOOST https://github.com/dmlc/xgboost/ library in c++? I have founded Python and Java API, but I can\'t found API for c++

6条回答
  •  温柔的废话
    2020-12-13 01:43

    There is no example I am aware of. there is a c_api.h file that contains a C/C++ api for the package, and you'll have to find your way using it. I've just did that. Took me a few hours reading the code and trying few things out. But eventually I managed to create a working C++ example of xgboost.

提交回复
热议问题