So you will need to convert your input DataFrame into something with
vectors and labels to train on - the Spark ML documentation has examples
http://spark.apache.org/docs/latest/ml-guide.html (although the website
seems to be having some issues mid update to Spark 2.0 so if you want to
read it
Hello,
*Question 1: *I am new to Spark. I am trying to train classification model
on Spark DataFrame. I am using PySpark. And aFrame object in df:ted a
Spark DataFrame object in df:
from pyspark.sql.types import *
query = """select * from table"""
df = sqlContext.sql(query)
My question is