You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2015/04/24 09:40:38 UTC

[jira] [Resolved] (SPARK-5894) Add PolynomialMapper

     [ https://issues.apache.org/jira/browse/SPARK-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiangrui Meng resolved SPARK-5894.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

Issue resolved by pull request 5245
[https://github.com/apache/spark/pull/5245]

> Add PolynomialMapper
> --------------------
>
>                 Key: SPARK-5894
>                 URL: https://issues.apache.org/jira/browse/SPARK-5894
>             Project: Spark
>          Issue Type: Sub-task
>          Components: ML
>            Reporter: Xiangrui Meng
>            Assignee: Xusen Yin
>             Fix For: 1.4.0
>
>
> `PolynomialMapper` takes a vector column and outputs a vector column with polynomial feature mapping.
> {code}
> val poly = new PolynomialMapper()
>   .setInputCol("features")
>   .setDegree(2)
>   .setOutputCols("polyFeatures")
> {code}
> It should handle the output feature names properly. Maybe we can make a better name for it instead of calling it `PolynomialMapper`.



--
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