Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 467 Bytes

File metadata and controls

18 lines (12 loc) · 467 Bytes

Build XGBoost Python Examples

Build Process

Follow these steps to package the Python zip file:

git clone https://github.com/rapidsai/spark-examples.git
cd spark-examples/examples/apps/python
zip -r samples.zip ai
Files Required by PySpark

Two files are required by PySpark:

  • samples.zip : the package including all example code
  • main.py: entrypoint for PySpark, you may just copy it from folder spark-examples/examples/apps/python