Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
4
class
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
12
class
Leaf:
Callers
3
grow
Function · 0.90
clone_tree
Function · 0.90
_grow
Method · 0.70
Calls
no outgoing calls
Tested by
2
grow
Function · 0.72
clone_tree
Function · 0.72