Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-32298

tree models prediction optimization

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: ML
    • Labels:
      None

      Description

      in Node's method

       

      def predictImpl(features: Vector): LeafNode

       

      use while-loop instead of the recursive way.

        Attachments

          Activity

            People

            • Assignee:
              podongfeng zhengruifeng
              Reporter:
              podongfeng zhengruifeng

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment