[mlpack-git] [mlpack/mlpack] Bugfix #350 and some fixes in RStarTreeSplit and XTreeSplit (#556)

Ryan Curtin notifications at github.com
Mon Apr 4 23:27:46 EDT 2016


> @@ -76,6 +76,9 @@ class RectangleTree
>    } SplitHistoryStruct;
>  
>   private:
> +  //! The max number of child nodes a non-leaf normal node can have. 
> +  //! (used in x-trees)
> +  size_t normalNodeMaxNumChildren;

I don't like putting X tree logic in the generic RectangleTree class; I think maybe the right thing here is some refactoring.  I wonder if maybe `CondenseTree()` should call some function in `SplitType`.  But probably the refactoring that has to happen to make this work is pretty significant, so if you can't think of something now we can open a ticket and save it for some other time.  I read through `CondenseTree()` but it was only a quick read and I didn't think of any easy solutions for refactoring this x-tree logic out.  Any ideas?

---
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/556/files/1ed8c18dedb54772377c17ff48f2b313792feb0f#r58482410
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160404/88b48227/attachment-0001.html>


More information about the mlpack-git mailing list