[mlpack-git] [mlpack/mlpack] Random projection trees (#726)
Ryan Curtin
notifications at github.com
Tue Aug 16 16:48:56 EDT 2016
> + RPTreeMeanSplit<BoundType, MatType>::GetRandomDirection(
> + splitInfo.direction);
> +
> + // Get the value according to which we will perform the split.
> + if (!GetSplitVal(data, begin, count, splitInfo.direction, splitInfo.splitVal))
> + return false;
> +
> + return true;
> +}
> +
> +template<typename BoundType, typename MatType>
> +typename MatType::elem_type RPTreeMaxSplit<BoundType, MatType>::
> +GetRandomDeviation(const MatType& data,
> + const size_t begin,
> + const size_t count,
> + const arma::Col<ElemType>& direction)
I am confused, it seems like this function is not used anywhere.
--
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/726/files/ea66e5d17914460289974cc61f0669941edc2524#r75017076
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160816/5afc1192/attachment.html>
More information about the mlpack-git
mailing list