Scala, Mllib, Machine Learning, Linear Regression, Spark.
double (nullable = true) */ Next, I will use an assembler that will convert the input into a single vector. //create an assembler val assembler = (new VectorAssembler().setInputCols(Array( "Avg Session Length", "Time on App", "Time on Website", "Length of Membership")).setOutputCol("features"))