[ https://issues.apache.org/jira/browse/SPARK-9963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14949940#comment-14949940 ]
Luvsandondov Lkhamsuren commented on SPARK-9963: ------------------------------------------------ Thanks for the tip. I fixed the original PR too. > ML RandomForest cleanup: Move predictNodeIndex to LearningNode > -------------------------------------------------------------- > > Key: SPARK-9963 > URL: https://issues.apache.org/jira/browse/SPARK-9963 > Project: Spark > Issue Type: Improvement > Components: ML > Reporter: Joseph K. Bradley > Priority: Trivial > Labels: starter > > (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). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org