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

Method __init__

numpy_ml/trees/dt.py:13–18  ·  view source on GitHub ↗

`value` is an array of class probabilities if classifier is True, else the mean of the region

(self, value)

Source from the content-addressed store, hash-verified

11
12class Leaf:
13 def __init__(self, value):
14 """
15 `value` is an array of class probabilities if classifier is True, else
16 the mean of the region
17 """
18 self.value = value
19
20
21class DecisionTree:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected