Closed xmas1992 closed 4 years ago
java.lang.ClassCastException: org.dmg.pmml.DataField cannot be cast to org.dmg.pmml.HasDiscreteDomain
Class org.dmg.pmml.DataField
DOES implement the org.dmg.pmml.HasDiscreteDomain
marker interface for quite some time already.
If you're getting this exception, then I must assume that you're trying to pair an outdated JPMML-Model library with a more recent JPMML-SparkML library.
TLDR: Fix your classpath. The version compatibility issue is detailed in the README file.
Hi,
When I try to export a spark ml model as pmml file, it shows the following problem:
Here is scala script I am submitting: