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 2020/07/14 04:54:00 UTC

[jira] [Created] (SPARK-32298) tree models prediction optimization

zhengruifeng created SPARK-32298:
------------------------------------

             Summary: tree models prediction optimization
                 Key: SPARK-32298
                 URL: https://issues.apache.org/jira/browse/SPARK-32298
             Project: Spark
          Issue Type: Improvement
          Components: ML
    Affects Versions: 3.1.0
            Reporter: zhengruifeng


in {{Node}}'s method

 

{color:#e0957b}def {color}{color:#c7a65d}predictImpl{color}(features: Vector): LeafNode

 

use while-loop instead of the recursive way.



--
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