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

MarcosPividori notifications at github.com
Tue Aug 16 15:43:34 EDT 2016


> +namespace mlpack {
> +namespace tree {
> +
> +template<typename MetricType, typename MatType>
> +template<typename HyperplaneType>
> +bool MidpointSpaceSplit<MetricType, MatType>::SplitSpace(
> +    const typename HyperplaneType::BoundType& bound,
> +    const MatType& data,
> +    const arma::Col<size_t>& points,
> +    HyperplaneType& hyp)
> +{
> +  typename HyperplaneType::ProjVectorType projVector;
> +  double midValue;
> +
> +  if (!SpaceSplit<MetricType, MatType>::GetProjVector(bound, data, points,
> +    projVector, midValue))

Done in : https://github.com/mlpack/mlpack/pull/747/commits/89725f4f03de713674caf93ff52b033e81f1756b

-- 
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#r75005817
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160816/0ae169e4/attachment.html>


More information about the mlpack-git mailing list