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

ML RandomForest cleanup: Move predictNodeIndex to LearningNode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.6.0
    • ML

    Description

      (updated form original description)

      Move ml.tree.impl.RandomForest.predictNodeIndex to LearningNode.

      We need to keep it as a separate method from Node.predictImpl because (a) it needs to operate on binned features and (b) it needs to return the node ID, not the node (because it can return the ID for nodes which do not yet exist).

      Attachments

        Activity

          People

            lkhamsurenl Luvsandondov Lkhamsuren
            josephkb Joseph K. Bradley
            Joseph K. Bradley Joseph K. Bradley
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: