-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transformer class org.apache.spark.ml.feature.Mytransformer is not supported #77
Comments
Closing as exact duplicate of #72 |
Thanks! |
|
You should package your custom transformer class as a standalone JAR file, while contains its own However, for quick and dirty hacking, you could put your custom transformer class into the official JPMML-SparkML codebase, and modify its
The format is:
|
When I used the jpmml-spark library to generate a model in PMML format for pipeline model, this error appeared: Transformer class org. apache. spark. ml. feature. Mytransformer is not supported.
Among them, Mytransformer operator is my own extended transformer operator, because org.apache.spark.ml supports developers to extend transformer operator, but jpmml-spark library does not support developer-defined transformer operator. What method can jpmml-spark support developers to customize operator?
The text was updated successfully, but these errors were encountered: