spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiangrui Meng (JIRA)" <>
Subject [jira] [Created] (SPARK-5885) Add VectorAssembler
Date Wed, 18 Feb 2015 18:49:11 GMT
Xiangrui Meng created SPARK-5885:

             Summary: Add VectorAssembler
                 Key: SPARK-5885
             Project: Spark
          Issue Type: Sub-task
          Components: ML
            Reporter: Xiangrui Meng

`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")

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message