How to make XGBoost available in the Spark Notebook

Bogdan Cojocar
2 min readFeb 7, 2018

This is a step by step tutorial on how to install XGBoost (an efficient implementation of gradient boosting) on the Spark Notebook (tool for doing Apache Spark and Scala analysis and plotting graphs, similar to the Jupyter notebook).

If you don’t have the Spark Notebook installed you can follow this quick guide.

Step 1: Build XGBoost

For this step we need to clone the repository from github and build the project:

git clone --recursive…

--

--

Bogdan Cojocar

Big data consultant. I write about the wonderful world of data.