MCPcopy Create free account
hub / github.com/rushter/MLAlgorithms / is_terminal

Method is_terminal

mla/ensemble/tree.py:29–30  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27
28 @property
29 def is_terminal(self):
30 return not bool(self.left_child and self.right_child)
31
32 def _find_splits(self, X):
33 """Find all possible split values."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected