Description
`VectorAssembler` takes a list of columns (of type double/int/vector) and merge them into a single vector column.
val va = new VectorAssembler() .setInputCols("userFeatures", "dayOfWeek", "timeOfDay") .setOutputCol("features")
In the first version, it should be okay if it doesn't handle ML attributes (SPARK-4588).
Attachments
Issue Links
- relates to
-
SPARK-7584 User guide update for VectorAssembler
- Resolved
- links to