[ 
https://issues.apache.org/jira/browse/SPARK-5885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14384701#comment-14384701
 ] 

Xiangrui Meng commented on SPARK-5885:
--------------------------------------

Yes, we plan to add more wrappers in Python. It would be great if you can help.

> Add VectorAssembler
> -------------------
>
>                 Key: SPARK-5885
>                 URL: https://issues.apache.org/jira/browse/SPARK-5885
>             Project: Spark
>          Issue Type: Sub-task
>          Components: ML
>            Reporter: Xiangrui Meng
>            Assignee: Xiangrui Meng
>
> `VectorAssembler` takes a list of columns (of type double/int/vector) and 
> merge them into a single vector column.
> {code}
> val va = new VectorAssembler()
>   .setInputCols("userFeatures", "dayOfWeek", "timeOfDay")
>   .setOutputCol("features")
> {code}
> In the first version, it should be okay if it doesn't handle ML attributes 
> (SPARK-4588).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to