jpmml / jpmml-transpiler

Java Transpiler (Translator + Compiler) API for PMML
GNU Affero General Public License v3.0
28 stars 2 forks source link

java.lang.IllegalArgumentException: Name cannot be empty #25

Closed ddiddi closed 1 year ago

ddiddi commented 1 year ago

When we use the command

 java -jar pmml-evaluator-example-executable-1.5.16.jar --model model_name.pmml --input data_name.csv --output /dev/null --optimize --intern --loop 1000

As per benchmarking transpiler instructions it returns an error expected name. Where does this name property need to be edited?

Exception in thread "main" java.lang.IllegalArgumentException: Name cannot be empty at org.dmg.pmml.FieldName.create(FieldName.java:89) at org.jpmml.evaluator.testing.BatchUtil.parseRecords(BatchUtil.java:151) at org.jpmml.evaluator.example.EvaluationExample.execute(EvaluationExample.java:276) at org.jpmml.evaluator.example.Example.execute(Example.java:92) at org.jpmml.evaluator.example.EvaluationExample.main(EvaluationExample.java:262)
vruusmann commented 1 year ago

Closing as exact duplicate of https://github.com/jpmml/jpmml-evaluator/issues/260