API to validate a pmml in jpmml
kaushalkumar opened this issue · 2 comments
kaushalkumar commented
Hi - We are looking for an API to validate if the pmml is valid, such that it does not fails due to model being invalid during execution. Can you please point me to that.
I was assuming that if evaluator object is constructed and verified successfully (with any exception), then it means that pmml is valid; but it seems that this is not the case, since we found a scenario where pmml was loaded successfully, but error came during evaluation. The error was due to missing datatype in DataField tag.
vruusmann commented
Closing as exact duplicate of jpmml/jpmml-model#29
kaushalkumar commented
Hi @vruusmann - thanks for closing this. I created it by mistake, sorry about it.