You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Liang-Chi Hsieh (Jira)" <ji...@apache.org> on 2019/09/10 02:13:00 UTC

[jira] [Resolved] (SPARK-23265) Update multi-column error handling logic in QuantileDiscretizer

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

Liang-Chi Hsieh resolved SPARK-23265.
-------------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

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

> Update multi-column error handling logic in QuantileDiscretizer
> ---------------------------------------------------------------
>
>                 Key: SPARK-23265
>                 URL: https://issues.apache.org/jira/browse/SPARK-23265
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 2.3.0
>            Reporter: Nick Pentreath
>            Assignee: Huaxin Gao
>            Priority: Major
>             Fix For: 3.0.0
>
>
> SPARK-22397 added support for multiple columns to {{QuantileDiscretizer}}. If both single- and mulit-column params are set (specifically {{inputCol}} / {{inputCols}}) an error is thrown.
> However, SPARK-22799 added more comprehensive error logic for {{Bucketizer}}. The logic for {{QuantileDiscretizer}} should be updated to match. *Note* that for this transformer, it is acceptable to set the single-column param for \{{numBuckets}} when transforming multiple columns, since that is then applied to all columns.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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