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/blob/master/twitter_classifier/predict.md


-- 
Thanks & Regards,
Anshu Shukla

Reply via email to