Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
BinarySpaceTree<BallBound<> > fails #307
Reported by rcurtin on 21 Oct 44095162 07:36 UTC
The solution to this is to have BallBound hold an instantiated metric as a member and to ensure that any calculations done with MetricType are done with the instantiated metric and not MetricType::Evaluate().
Until this is resolved it is not possible to use ball trees for any mlpack algorithm.
Commented by rcurtin on 4 Dec 44142911 12:51 UTC
Thank you for the patch, but it needs a little bit of work. A ball should work with any metric, not just the LMetric; after all, a ball with center
for any metric