[mlpack-git] [mlpack/mlpack] Spill trees (#747)
Ryan Curtin
notifications at github.com
Sat Aug 13 21:39:15 EDT 2016
> + * @param point Point to be projected.
> + */
> + template<typename VecType>
> + double Project(const VecType& point,
> + typename boost::enable_if<IsVector<VecType> >::type* = 0) const
> + {
> + return point[dim];
> + };
> +
> + /**
> + * Project the given hrect bound on the projection vector.
> + *
> + * @param bound Bound to be projected.
> + * @return Range of projected values.
> + */
> + template<typename MetricType>
`HRectBound` also has an `ElemType` template parameter, so either we should add `ElemType` as a template parameter to this function, or to this class. Otherwise this will not work for trees built with different `ElemType`s.
--
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/fe090ee13c7cad79e2b7eb8b6690628ba3ead1ed#r74694609
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160813/77508ea9/attachment.html>
More information about the mlpack-git
mailing list