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

Ryan Curtin notifications at github.com
Sat Aug 13 21:37:15 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))

This should have one more indent. :)

-- 
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#r74694594
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160813/2e70939c/attachment-0001.html>


More information about the mlpack-git mailing list