XGBoost4J-Spark Tutorial
XGBoost4J-Spark is a project aiming to seamlessly integrate XGBoost and Apache Spark by fitting XGBoost to Apache Spark’s MLLIB framework. With the integration, user can not only uses the high-performant algorithm implementation of XGBoost, but also leverages the powerful data processing engine of Spark for:
Feature Engineering: feature extraction, transformation, dimensionality reduction, and selection, etc.
Pipelines: constructing, evaluating, and tuning ML Pipelines
Persistence: persist and load machine learning models and even whole Pipelines
This tutorial is to cover the end-to-end process to build a machine learning pipeline with XGBoost4J-Spark. We will discuss
Using Spark to preprocess data to fit to XGBoost4J-Spark’s data interface
Training a XGBoost model with XGBoost4J-Spark
Serving XGBoost model (prediction) with Spark
Building a Machine Learning Pipeline with XGBoost4J-Spark
Running XGBoost4J-Spark in Production
Build an ML Application with XGBoost4J-Spark
Refer to XGBoost4J-Spark Dependency
Before we go into the tour of how to use XGBoost4J-Spark, you should first consult Installation from Maven repository in order to add XGBoost4J-Spark as a dependency for your project. We provide both stable releases and snapshots.