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

ML RandomForest cleanup: Move predictNodeIndex to LearningNode

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: ML
    • Labels:
    • Target Version/s:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: