[jvm-packages] Added latest version number example (#3374)

* Added latest version number example

* Added latest version number example
This commit is contained in:
James
2018-06-18 22:09:39 -07:00
committed by Nan Zhu
parent 0e78034607
commit eecf341ea7
2 changed files with 62 additions and 7 deletions

View File

@@ -57,6 +57,8 @@ the add dependency as following:
"ml.dmlc" % "xgboost4j" % "latest_version_num"
```
For the latest release version number, please check [here](https://github.com/dmlc/xgboost/releases).
if you want to use `xgboost4j-spark`, you just need to replace xgboost4j with `xgboost4j-spark`
## Examples
@@ -70,4 +72,4 @@ be found in the [examples package](https://github.com/dmlc/xgboost/tree/master/j
* Spark does the internal conversion, and does not accept formats that are 0-based
* Whereas, use *0-based* indexes format when predicting in normal mode - for instance, while using the saved model in the Python package
* Whereas, use *0-based* indexes format when predicting in normal mode - for instance, while using the saved model in the Python package