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 2019/10/08 07:43:00 UTC

[jira] [Created] (SPARK-29380) RFormula avoid repeated 'first' jobs to get vector size

zhengruifeng created SPARK-29380:
------------------------------------

             Summary: RFormula avoid repeated 'first' jobs to get vector size
                 Key: SPARK-29380
                 URL: https://issues.apache.org/jira/browse/SPARK-29380
             Project: Spark
          Issue Type: Improvement
          Components: ML
    Affects Versions: 3.0.0
            Reporter: zhengruifeng


In current impl, {{RFormula}} will trigger one {{first}} job to get the vector size, if the size can not be obtained from {{AttributeGroup.}}

{{This can be optimized by get the first row lazily, and reuse it for each vector column.}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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