[mlpack-git] [mlpack/mlpack] Vantage point tree (#708)
lozhnikov
notifications at github.com
Tue Jul 26 03:43:48 EDT 2016
The inner radius of the outer child may be equal to zero due to the following code
```
VantagePointTree* tree = this;
while (tree->Parent() != NULL)
{
tree->Parent()->Bound() |= tree->Bound();
tree->Parent()->furthestDescendantDistance = 0.5 *
tree->Parent()->Bound().Diameter();
tree = tree->Parent();
}
```
(we have to ensure that each parent contains its children), there is no errors.
It seems I do not use `FirstSiblingFirstPointIsCentroid` correctly. I have to think about it.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/708#issuecomment-235187522
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160726/b8f4feb8/attachment-0001.html>
More information about the mlpack-git
mailing list