Get started with XGBoost
Prerequisites
You need the following:
- Git
- Python >=3.6
- pip
Some libraries installed on Graal:
- adlfs==2022.2.0
- aiohttp==3.8.1
- gcsfs==2022.1.0
- lightgbm==3.3.2
- prometheus-client==0.14.1
- protobuf==3.19.4
- pyarrow==6.0.1
- python-socketio==5.6.0
- s3fs==2022.1.0
- h5py==3.1.0
- pandas==1.1.5
- xgboost==1.5.2
Distributed feature
In order to use xgboost distributed it is necessary to adapt your code. For more information here is the official documentation of XGBoost distributed_xgboost_kubernetes Graal takes care of installing and preparing the XGBoost operator, the job configuration and its creation in Kubernetes.
Example
Clone the example project and use pip to build it. The example project named xgboost_examples is composed of 2 modules, one for xgboost and one for lightgbm.