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

Method to_dict

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

Source from the content-addressed store, hash-verified

189 return fstr.format(self.centroid, self.is_leaf)
190
191 def to_dict(self):
192 d = self.__dict__
193 d["id"] = "BallTreeNode"
194 return d
195
196
197class BallTree:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected