def __init__(self, dist=lambda x, y: norm(x - y), radius=1, verbose=0): self.verbose = verbose self.dist = dist self.radius = radius