xgboost-node icon indicating copy to clipboard operation
xgboost-node copied to clipboard

When to update xgboost Training API

Open skyang2009 opened this issue 6 years ago • 3 comments

hi, is there any plan to update the xgboost training API in the near future, it would be very useful to train xgboost model with nodejs

skyang2009 avatar Dec 31 '18 02:12 skyang2009

No, it is recommended to train model in python for now. Thanks for asking.

qinwf-nuan avatar Jan 01 '19 04:01 qinwf-nuan

Would you accept a PR? And could you point us in the right direction for adding a train function?

tuckerconnelly avatar Jan 05 '19 01:01 tuckerconnelly

Yes, we accept PRs.

Training function will require:

  1. pandas like or matrix IO and processing functions
  2. https://github.com/nuanio/xgboost-node/blob/master/xgboost/include/xgboost/c_api.h#L358 and https://github.com/nuanio/xgboost-node/blob/master/xgboost/include/xgboost/c_api.h#L345 to do training.

qinwf-nuan avatar Jan 05 '19 03:01 qinwf-nuan