https://github.com/findify/xgboost4j4s
XGBoost4J for Scala with Mac and Linux binaries
https://github.com/findify/xgboost4j4s
Last synced: 5 months ago
JSON representation
XGBoost4J for Scala with Mac and Linux binaries
- Host: GitHub
- URL: https://github.com/findify/xgboost4j4s
- Owner: findify
- License: apache-2.0
- Archived: true
- Fork: true (hirofumi/xgboost4j4s)
- Created: 2018-11-19T14:01:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-20T09:09:14.000Z (over 7 years ago)
- Last Synced: 2024-05-02T23:38:23.765Z (about 2 years ago)
- Language: Makefile
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xgboost4j4s
[](https://travis-ci.org/hirofumi/xgboost4j4s)
[](https://search.maven.org/search?q=g:com.github.hirofumi%20xgboost4j)
[XGBoost4J](https://xgboost.readthedocs.io/en/latest/jvm/index.html) with cross-version suffix
## Usage
```sbt
// available for Scala 2.11 and 2.12
libraryDependencies += "com.github.hirofumi" %% "xgboost4j" % "0.80-p1"
// available for Scala 2.11
libraryDependencies += "com.github.hirofumi" %% "xgboost4j-flink" % "0.80-p1"
libraryDependencies += "com.github.hirofumi" %% "xgboost4j-spark" % "0.80-p1"
```
### Note
* You should use the above libraries with `LC_NUMERIC=C` (which is not overridden by `LC_ALL`) on macOS.
Otherwise multi-threading may cause a segmentation fault.
* This library contains some GCC runtime libraries and I think GCC Runtime Library Exception can be applied.
But I am not a lawyer.
## Development
### Prerequisites
* macOS
* Docker for Mac
* Ninja
* `g++-7` (installed by Homebrew, i.e. `brew install gcc@7`)
### How to Build and Test
```
$ make test
```
### How to Release
```
$ make release
```
## Prior Work
* https://github.com/dmlc/xgboost/pull/2767
* https://github.com/criteo-forks/xgboost-jars
* https://github.com/nevillelyh/xgboost-dist
* https://github.com/myui/build-xgboost-jvm