Hello Folks: I attended the session Aron D did at hadoop summit. He mentioned about training the model and saving it on HDFS. When you start scoring you can read the saved model.
So, I can save the model using sc.makeRDD(model.clusterCenters).saveAsObjectFile(model) But when I try to read the model using val model = new KMeansModel("model"). I can't compile the program! It gives me following error. constructor KMeansModel in class KMeansModel cannot be accessed in object KMeansScore val y = new KMeansModel(x); ^ Any ideas on how to get around this? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-to-read-saved-model-tp9310.html Sent from the Apache Spark User List mailing list archive at Nabble.com.