Closed chris-smith-zocdoc closed 5 months ago
No not yet. It will be available with 1.0 release (#111)
I was also trying to use treelite4j. Does "not on maven central yet" mean the treelite4j is still not available for public use? If treelite4j is not available... I managed to use treelite.Model.compile() to generate the java code. Seems this is the only way to allow java to use treeliet? Thanks. (And happy new year!)
I have not yet had sufficient bandwidth to upload Treelite to Maven Central. For now, please build and install XGBoost4J locally.
To clarify for anyone who ends up here through search: For now, the only way to use treelite4j is to run mvn package
under ./treelite/runtime/java/treelite4j/
where the pom.xml
file lies. That will create treelite4j-2.4.0.jar
under .treelite/runtime/java/treelite4j/target
which you can then import into your project, for example in IDEA or just add it to your javac
classpath using javac -cp path/to/treelite4j-2.4.0.jar
Hi everyone, apologies for the late update. I've had not had any time to maintain Treelite4J (now TL2cgen4J), and it's still not available on Maven Central.
I am looking for someone who wants to take over the Java package (or TL2cgen in general). If you are interested, reach out to me at chohyu01@cs.washington.edu.
Is treelite4j available on maven central?
I'm interesting in using the java bindings but didn't see it published.
https://search.maven.org/search?q=treelite