bigheiniu / xgboostcpp

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:BSD 2-Clause "Simplified" License


Languages

Language:C++ 75.7%Language:CMake 22.5%Language:Shell 1.1%Language:C 0.6%