[mlpack-git] [mlpack/mlpack] Random projection trees (#726)

lozhnikov notifications at github.com
Wed Aug 17 05:07:22 EDT 2016


> +                        const size_t begin,
> +                        const size_t count,
> +                        SplitInfo& splitInfo);
> +
> +  /**
> +   * Indicates that a point should be assigned to the left subtree.
> +   *
> +   * @param point The point that is being assigned.
> +   * @param splitInfo An information about the split.
> +   */
> +  template<typename VecType>
> +  static bool AssignToLeftNode(
> +    const VecType& point,
> +    const SplitInfo& splitInfo)
> +  {
> +    return (arma::dot(point, splitInfo.direction) <= splitInfo.splitVal);

I should reread the paper. I am not sure that other spaces preserve the theoretical guarantees.

-- 
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#r75087204
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160817/88c835f3/attachment.html>


More information about the mlpack-git mailing list