[
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}}, 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.
> 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}}, since that is then applied to all columns.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]