We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def init(self, k=1): self.k = k self.kdtree = None
# 构建kd tree def _fit(self, X, depth=0): try: k = self.k except IndexError as e: return None # 这里可以展开,通过方差选择axis axis = depth % k
维度k取1,坐标轴始终是零!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
def init(self, k=1):
self.k = k
self.kdtree = None
维度k取1,坐标轴始终是零!
The text was updated successfully, but these errors were encountered: