Source code change and compilation of xgboost-spark

In order to solve the problem that xgboost-spark only supports two classifications and does not support multiple classifications.

Source code changes refer to:


1. Install cmake
     Version 3.2 and above
     tar -xzvf cmake-3.6.2.tar.gz
     cd cmake-3.6.2
      ./bootstrap
     gmake
     gmake install

2, maven (abbreviation)

3、jvm-packages
     mvn clean package -DskipTests

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324779850&siteId=291194637