[mlpack-git] [mlpack/mlpack] Spill trees (#747)
Ryan Curtin
notifications at github.com
Fri Aug 5 12:07:02 EDT 2016
> +
> +template<typename MetricType,
> + typename StatisticType,
> + typename MatType,
> + template<typename HyperplaneMetricType> class HyperplaneType,
> + template<typename SplitMetricType, typename SplitMatType>
> + class SplitType>
> +void SpillTree<MetricType, StatisticType, MatType, HyperplaneType, SplitType>::
> + SplitNode(std::vector<size_t>& points,
> + const size_t maxLeafSize,
> + const double tau,
> + const double rho)
> +{
> + // We need to expand the bounds of this node properly.
> + for (size_t i = 0; i < points.size(); i++)
> + bound |= dataset->cols(points[i], points[i]);
Why not just `col(points[i])`?
---
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#r73717747
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160805/55a300de/attachment.html>
More information about the mlpack-git
mailing list