Build and run an XGBoost classifier for a standard dataset.
Command line options.
CLI options for training an XGBoost classifier.
N.B.: XGBoost4J wraps the native C implementation of xgboost that links to various C libraries, including libgomp and glibc (on Linux). If you're running on Alpine, which does not natively use glibc, you'll need to install glibc into the container. On the macOS binary on Maven Central is compiled without OpenMP support, meaning that XGBoost is single threaded on macOS. You can recompile the macOS binary with OpenMP support after installing libomp from homebrew if necessary.
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.