Skip to content

Commit

Permalink
Marked Node.build as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbradley committed Sep 10, 2014
1 parent d4dbb99 commit d4d7864
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ class Node (
* build the left node and right nodes if not leaf
* @param nodes array of nodes
*/
@deprecated("build should no longer be used since trees are constructed on-the-fly in training",
"1.2.0")
def build(nodes: Array[Node]): Unit = {
logDebug("building node " + id + " at level " + Node.indexToLevel(id))
logDebug("id = " + id + ", split = " + split)
Expand Down

0 comments on commit d4d7864

Please sign in to comment.