1 Installation🔗ℹ

Install from the Racket package catalog:

  raco pkg install xgboost

The package ships a prebuilt native library and selects the right one for your platform at install time; on Linux it prefers a CUDA-enabled build when one is available and falls back to the CPU build otherwise. No XGBoost installation of your own is required.

Everything in this guide uses the default high-level module:

(require xgboost)