You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "zhengruifeng (JIRA)" <ji...@apache.org> on 2018/11/09 09:09:01 UTC
[jira] [Resolved] (SPARK-22737) Simplity OneVsRest transform
[ https://issues.apache.org/jira/browse/SPARK-22737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhengruifeng resolved SPARK-22737.
----------------------------------
Resolution: Not A Problem
> Simplity OneVsRest transform
> ----------------------------
>
> Key: SPARK-22737
> URL: https://issues.apache.org/jira/browse/SPARK-22737
> Project: Spark
> Issue Type: Improvement
> Components: ML
> Affects Versions: 2.3.0
> Reporter: zhengruifeng
> Priority: Major
>
> Current impl of OneVsRest#transform is over-complicated. It sequentially updates an acumulated column.
> By using a direct UDF of prediction, we obtain a speedup of at least 2x.
> On some extreme case with 20 classes, it obtain about 14x speedup.
> The test code and performance comparsion details are in the corresponding PR.
--
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