You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@vruusmann Now I using the jpmml-xgboost-1.3.11 to generate a xgboost pmml model. However, I found there is not a 'feature in outputField which will cause spss cannot load this pmml model successfully. When I use jpmml-xgboost-1.3.2, I can get this field. Could you help to solve this issue? Thanks a lot.
Comparing two version pmml files:
Spss load model error:
07/25/2019 14:45:25.660|ERROR||||com.spss.ac.acpmml.translator.BaseTranslator.getAttributeForced(BaseTranslator.java:68)|Score error: the attribute feature is required for OutputField
com.spss.ac.accode.ACException: OutputField element missing required feature attribute.
at com.spss.ac.acpmml.translator.BaseTranslator.getAttributeForced(BaseTranslator.java:71)
at com.spss.ac.acpmml.translator.PMMLTranslator.handleOutputField(PMMLTranslator.java:3647)
at com.spss.ac.acpmml.translator.PMMLTranslator.handleOutput(PMMLTranslator.java:3614)
at com.spss.ac.acpmml.translator.MiningModelTranslator.handleElements(MiningModelTranslator.java:347)
at com.spss.ac.acpmml.translator.MiningModelTranslator.parseModel(MiningModelTranslator.java:396)
at com.spss.ac.acpmml.util.ModelFactory.dealValidModel(ModelFactory.java:490)
at com.spss.ac.acpmml.util.ModelFactory.createModel(ModelFactory.java:447)
at com.spss.ac.acpmml.translator.MiningModelTranslator.handleSegment(MiningModelTranslator.java:136)
at com.spss.ac.acpmml.translator.MiningModelTranslator.handleSegmentation(MiningModelTranslator.java:248)
at com.spss.ac.acpmml.translator.MiningModelTranslator.handleElements(MiningModelTranslator.java:353)
at com.spss.ac.acpmml.translator.MiningModelTranslator.parseModel(MiningModelTranslator.java:396)
at com.spss.ac.acpmml.util.ModelFactory.dealValidModel(ModelFactory.java:490)
at com.spss.ac.acpmml.util.ModelFactory.createModel(ModelFactory.java:447)
at com.spss.ac.acpmml.util.ModelFactory.createModel(ModelFactory.java:163)
Thanks a lot. I will also attache the xgboost model, feature map and the generated pmml file.
From the pmml official document (http://dmg.org/pmml/v4-3/Output.html), seems like predictedValue means select the raw predicted value. Without this feature, maybe model cannot know which value is prediction?
@vruusmann Now I using the jpmml-xgboost-1.3.11 to generate a xgboost pmml model. However, I found there is not a 'feature in outputField which will cause spss cannot load this pmml model successfully. When I use jpmml-xgboost-1.3.2, I can get this field. Could you help to solve this issue? Thanks a lot.
Comparing two version pmml files:
Spss load model error:
Thanks a lot. I will also attache the xgboost model, feature map and the generated pmml file.
boost_test.zip
The text was updated successfully, but these errors were encountered: