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.
ClassDescriptionBuild and run an XGBoost regressor for a standard dataset.Command line options.CLI options for configuring an XGBoost regression trainer.A
Trainerwhich wraps the XGBoost training procedure.Types of regression loss.