jpmml / jpmml-evaluator

Java Evaluator API for PMML
GNU Affero General Public License v3.0
895 stars 255 forks source link

API to validate a pmml in jpmml #225

Closed kaushalkumar closed 3 years ago

kaushalkumar commented 3 years ago

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 3 years ago

Closing as exact duplicate of https://github.com/jpmml/jpmml-model/issues/29

kaushalkumar commented 3 years ago

Hi @vruusmann - thanks for closing this. I created it by mistake, sorry about it.