Skip to Content
Java: Data Science Made Easy
book

Java: Data Science Made Easy

by Richard M. Reese, Jennifer L. Reese, Alexey Grigorev
July 2017
Beginner to intermediate
715 pages
17h 3m
English
Packt Publishing
Content preview from Java: Data Science Made Easy

Installing XGBoost

As we have already mentioned, XGBoost is written in C++, and there is a Java library that allows using XGBoost in Java via JNI. Unfortunately, at the time of writing, XGBoost4J is not available on Maven Central, which means that it needs to be built locally and then published to the local Maven repository. There are plans to release the library to the central repository, and you can see the progress at https://github.com/dmlc/xgboost/issues/1807

Even when it is released to Maven Central, it is still useful to know how to build it to get the bleeding edge version with the latest changes and bugfixes. So, let's see how to build the XGBoost library itself and then how to build the Java wrapper for it. For that, you can follow ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Data Science Cookbook

Java Data Science Cookbook

Rushdi Shams
Java for Data Science

Java for Data Science

Walter Molina, Richard M. Reese, Shilpi Saxena, Jennifer L. Reese

Publisher Resources

ISBN: 9781788475655Supplemental Content