When i try to convert the "lgb_continue.txt" to pmml, something goes wrong:
Exception in thread "main" java.lang.NullPointerException
at org.jpmml.lightgbm.Tree.encodeNode(Tree.java:223)
...
at org.jpmml.lightgbm.Tree.encodeNode(Tree.java:236)
at org.jpmml.lightgbm.Tree.encodeTreeModel(Tree.java:96)
at org.jpmml.lightgbm.ObjectiveFunction.createMiningModel(ObjectiveFunction.java:66)
at org.jpmml.lightgbm.BinomialLogisticRegression.encodeMiningModel(BinomialLogisticRegression.java:47)
at org.jpmml.lightgbm.GBDT.encodeMiningModel(GBDT.java:298)
at org.jpmml.lightgbm.GBDT.encodePMML(GBDT.java:287)
at org.jpmml.lightgbm.Main.run(Main.java:131)
at org.jpmml.lightgbm.Main.main(Main.java:117)
If I don't use continue training , everything will be fine.
here is my training code:
When i try to convert the "lgb_continue.txt" to pmml, something goes wrong:
If I don't use continue training , everything will be fine.