python實現KD樹模型

import numpy as np class KDTree(): def __init__(self, obj): self.key = obj self.lchild = None self.rchild = None def addlChild(self, obj): if self.lchild ==
相關文章
相關標籤/搜索