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

MarcosPividori notifications at github.com
Sat Aug 6 11:26:05 EDT 2016


> +  left->ParentDistance() = leftParentDistance;
> +  right->ParentDistance() = rightParentDistance;
> +}
> +
> +template<typename MetricType,
> +         typename StatisticType,
> +         typename MatType,
> +         template<typename HyperplaneMetricType> class HyperplaneType,
> +         template<typename SplitMetricType, typename SplitMatType>
> +             class SplitType>
> +bool SpillTree<MetricType, StatisticType, MatType, HyperplaneType, SplitType>::
> +    SplitPoints(const double tau,
> +                const double rho,
> +                const std::vector<size_t>& points,
> +                std::vector<size_t>& leftPoints,
> +                std::vector<size_t>& rightPoints)

@rcurtin  Yes, I agree. You are right, this can make a difference for big datasets.
I have updated the code in: https://github.com/mlpack/mlpack/pull/747/commits/071588457415094e99883774af541075e3858c22
Thanks!

---
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#r73787567
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160806/85031e41/attachment-0001.html>


More information about the mlpack-git mailing list