MCPcopy Create free account
hub / github.com/ddbourgin/numpy-ml / __init__

Method __init__

numpy_ml/trees/dt.py:5–9  ·  view source on GitHub ↗
(self, left, right, rule)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected