[mlpack-git] [mlpack/mlpack] Spill trees (#747)

MarcosPividori notifications at github.com
Sat Aug 6 11:22:59 EDT 2016


> +    left(NULL),
> +    right(NULL),
> +    parent(NULL),
> +    count(0),
> +    pointsIndex(NULL),
> +    overlappingNode(false),
> +    hyperplane(),
> +    bound(data.n_rows),
> +    parentDistance(0), // Parent distance for the root is 0: it has no parent.
> +    dataset(&data),
> +    localDataset(false)
> +{
> +  std::vector<size_t> points;
> +  points.reserve(dataset->n_cols);
> +  for (size_t i = 0; i < dataset->n_cols; i++)
> +    points.push_back(i);

Ok, I have done it in: https://github.com/mlpack/mlpack/pull/747/commits/071588457415094e99883774af541075e3858c22

---
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/747/files/a71b57caa90311f5542180bc0553449c3691395d#r73787510
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160806/3728164c/attachment.html>


More information about the mlpack-git mailing list