You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "holdenk (JIRA)" <ji...@apache.org> on 2016/01/28 22:45:39 UTC

[jira] [Commented] (SPARK-10009) PySpark Param of Vector type can be set with Python array or numpy.array

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

holdenk commented on SPARK-10009:
---------------------------------

We could handle this the param type conversion code that went in SPARK-7675 if there is interest

> PySpark Param of Vector type can be set with Python array or numpy.array
> ------------------------------------------------------------------------
>
>                 Key: SPARK-10009
>                 URL: https://issues.apache.org/jira/browse/SPARK-10009
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, PySpark
>            Reporter: Yanbo Liang
>
> If the type of Param in PySpark ML pipeline is Vector, we can set with Vector currently. We also need to support set it with Python array and numpy.array. It should be handled in the wrapper (_transfer_params_to_java).



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

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