Hi Ankur,
> But when I try to evaluate the dataset using jpmml i get the following error message
>
> org.jpmml.evaluator.InvalidResultException (at or around line 23)
> at org.jpmml.evaluator.ArgumentUtil.prepare(ArgumentUtil.java:124)
> at org.jpmml.evaluator.ModelEvaluator.prepare(ModelEvaluator.java:110)
> at src.ModelExecutor.evaluate(ModelExecutor.java:97)
> at src.ModelExecutor.execute(ModelExecutor.java:68)
> at src.ModelExecutor.main(ModelExecutor.java:45)
>
Your code fails at argument preparation stage. In this case, the
supplied field value does not match the definition of valid field
values, as defined by the DataDictionary/DataField and/or
MiningSchema/MiningField elements.
For example, if the DataDictionary/DataField elements defines that a
categorical field "fruit" can take three values "apple", "orange" and
"lemon", but you invoke the Evaluator#prepare with "pineapple", then
you are bound to encounter an InvalidResultException.
VR