[mlpack-git] [mlpack/mlpack] Spill trees (#747)
notifications at github.com
Wed Aug 17 14:50:31 EDT 2016
> + right(NULL),
> + parent(NULL),
> + count(0),
> + pointsIndex(NULL),
> + overlappingNode(false),
> + hyperplane(),
> + bound(data.n_rows),
> + parentDistance(0), // Parent distance for the root is 0: it has no parent.
> + dataset(&data),
> + localDataset(false)
> + arma::Col<size_t> points;
> + if (dataset->n_cols > 0)
> + // Fill points with all possible indexes: 0 .. (dataset->n_cols - 1).
> + points = arma::linspace<arma::Col<size_t>>(0, dataset->n_cols - 1,
> + dataset->n_cols);
I see, `regspace()` was introduced in 6.700, so let's not worry about that now. Maybe someday when the minimum supported Armadillo version is that or higher we can make all the changes, but it is too much work to backport it for such a minor reason.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mlpack-git