Hello!, I have a questions since days ago. I am working with DataFrame and with Spark SQL I imported a jsonFile:
/val df = sqlContext.jsonFile("file.json")/ In this json I have the label and de features. I selected it: / val features = df.select ("feature1","feature2","feature3",...); val labels = df.select ("cassification")/ But, now, I don't know create a LabeledPoint for RandomForest. I tried some solutions without success. Can you help me? Thanks for all! -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/From-DataFrame-to-LabeledPoint-tp22354.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org