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

Xiangrui Meng resolved SPARK-4942.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0

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

> ML Transformers should allow output cols to be turned on,off
> ------------------------------------------------------------
>
>                 Key: SPARK-4942
>                 URL: https://issues.apache.org/jira/browse/SPARK-4942
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 1.2.0
>            Reporter: Joseph K. Bradley
>            Assignee: Joseph K. Bradley
>             Fix For: 1.3.0
>
>
> ML Transformers will eventually output multiple columns (e.g., predicted 
> labels, predicted confidences, probabilities, etc.).  These columns should be 
> optional.
> Benefits:
> * more efficient (though Spark SQL may be able to optimize)
> * cleaner column namespace if people do not want all output columns
> Proposal:
> * If a column name parameter (e.g., predictionCol) is an empty string, then 
> do not output that column.
> This will require updating validateAndTransformSchema() to ignore empty 
> output column names in addition to updating transform().



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