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

Method __repr__

numpy_ml/utils/data_structures.py:187–189  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

185 self.centroid = centroid
186
187 def __repr__(self):
188 fstr = "BallTreeNode(centroid={}, is_leaf={})"
189 return fstr.format(self.centroid, self.is_leaf)
190
191 def to_dict(self):
192 d = self.__dict__

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected