You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nick Pentreath (JIRA)" <ji...@apache.org> on 2018/02/16 09:37:00 UTC
[jira] [Updated] (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 ]
Nick Pentreath updated SPARK-23265:
-----------------------------------
Description:
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.
was:
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.
> 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
> Priority: Major
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org