-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking big initializer methods into manageable-size segments #16
Comments
Please provide more information about the compilation error. You should have a half-baked JAR file somewhere, which contains a problematic Java source code file. You can parse it yourself, or you can give it to me. |
jar.zip |
Yes! You can extract the enclosed
The error message is:
In short, JPMML-Transpiler is generating static initializer methods which exceed some JLS/JVM limits. The root cause is that your GBDT model contains too many child decision tree models. You should try to limit |
FYI, you can satisfy all import requirements by adding the JPMML-Evaluator uber-JAR file to compiler classpath: |
Thanks a lot !! |
When I run
java -Xms4g -Xmx4g -jar jpmml-transpiler-executable-1.1-SNAPSHOT.jar --pmml-input LambdaRank.pmml --jar-output LambdaRank.pmml.jar
I Got
java.io.IOException
at org.jpmml.codemodel.CompilerUtil.compile(CompilerUtil.java:89)
at org.jpmml.codemodel.CompilerUtil.compile(CompilerUtil.java:45)
at org.jpmml.transpiler.TranspilerUtil.compile(TranspilerUtil.java:75)
at org.jpmml.transpiler.Main.run(Main.java:116)
at org.jpmml.transpiler.Main.main(Main.java:99)
The text was updated successfully, but these errors were encountered: