Re: Predict.scala using model for clustering In reference

2015-05-07 Thread Joseph Bradley
A KMeansModel was trained in the previous step, and it was saved to "modelFile" as a Java object file. This step is loading the model back and reconstructing the KMeansModel, which can then be used to classify new tweets into different clusters. Joseph On Thu, May 7, 2015 at 12:40 PM, anshu shukl

Predict.scala using model for clustering In reference

2015-05-07 Thread anshu shukla
Can anyone please explain - println("Initalizaing the the KMeans model...") val model = new KMeansModel(ssc.sparkContext.objectFile[Vector](modelFile.toString).collect()) where modelfile is *directory to persist the model while training * REF- https://github.com/databricks/reference-apps/bl