[mlpack-git] [mlpack/mlpack] Spill trees (#747)
notifications at github.com
Sat Aug 13 21:52:36 EDT 2016
> + const double rho) :
> + left(NULL),
> + 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(dataset->n_cols);
> + for (size_t i = 0; i < points.n_elem; i++)
> + points[i] = i;
You could use `arma::linspace()` here to fill this vector.
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