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

tree models prediction optimization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • ML
    • None

    Description

      in Node's method

       

      def predictImpl(features: Vector): LeafNode

       

      use while-loop instead of the recursive way.

      Attachments

        Activity

          People

            podongfeng Ruifeng Zheng
            podongfeng Ruifeng Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: