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. CrossValidatorModel model = cv.fit(trainingData); model.write().overwrite().save("path"); PipelineModel model = pipeline.fit(trainingData); PipelineModel model = pipeline.fit(trainingData); model.write().overwrite().save("path"); How to resolve this? Thank you! Minudika