/xgboostcpp

Simple C++ interface for xgboost with cross platform and size reduced serialization

Primary LanguageC++BSD 2-Clause "Simplified" LicenseBSD-2-Clause

xgboostcpp

Simple C++ interface for xgboost with cross platform and size reduce serialization

This is a work in progress, and is posted initially as a reference for using the xgboost C++ API.

License (3-Clause BSD) HUNTER

Linux/OSX/Android/iOS Windows
Build Status Build Status

HOWTO

Install latest Polly toolchains and scripts for cmake (not needed but very easy)

wget https://github.com/ruslo/polly/archive/master.zip
unzip master.zip
POLLY_ROOT="`pwd`/polly-master"
export PATH="${POLLY_ROOT}/bin:${PATH}"

Build (see poll.py for list of available toolchains)

polly.py --toolchain libcxx --install --reconfig --verbose

The standard build should use hunter xgboost. Initial builds may still require the xgboost submodule, in which case you may need to run:

git submodule update --init --recursive --quiet