I don't think MLlib supports model serialization/deserialization. You
got the error because the constructor is private. I created a JIRA for
this: https://issues.apache.org/jira/browse/SPARK-2488 and we try to
make sure it is implemented in v1.1. For now, you can modify the
KMeansModel and remove
Hello Folks:
I have written a simple program to read the already saved model from HDFS
and score it. But when I'm trying to read the saved model, I get the
following error. Any clues what might be going wrong here ..
val x = sc.objectFile[Vector](/data/model).collect()
val y = new