Hi,

When I try to save a pipeline model using spark ML (Java) , the following
exception is thrown.


java.lang.UnsupportedOperationException: Pipeline write will fail on this
Pipeline because it contains a stage which does not implement Writable.
Non-Writable stage: rfc_98f8c9e0bd04 of type class
org.apache.spark.ml.classification.Rand


Here is my code segment.


model.write().overwrite,save


model.write().overwrite().save("path
model.write().overwrite().save("mypath");


How to resolve this?

Thanks and regards!

Minudika

Reply via email to