MCPcopy
hub / github.com/ddbourgin/numpy-ml / Node

Class Node

numpy_ml/trees/dt.py:4–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3
4class Node:
5 def __init__(self, left, right, rule):
6 self.left = left
7 self.right = right
8 self.feature = rule[0]
9 self.threshold = rule[1]
10
11
12class Leaf:

Callers 3

growFunction · 0.90
clone_treeFunction · 0.90
_growMethod · 0.70

Calls

no outgoing calls

Tested by 2

growFunction · 0.72
clone_treeFunction · 0.72