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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to