mlpack
|
Go to the source code of this file.
Functions | |
template<typename ElemType , typename MatType > | |
void | details::ExtractSplits (std::vector< std::pair< ElemType, size_t >> &splitVec, const MatType &data, size_t dim, const size_t start, const size_t end, const size_t minLeafSize) |
This one sorts and scand the given per-dimension extract and puts all splits in a vector, that can easily be iterated afterwards. More... | |
template<typename ElemType > | |
void | details::ExtractSplits (std::vector< std::pair< ElemType, size_t >> &splitVec, const arma::Mat< ElemType > &data, size_t dim, const size_t start, const size_t end, const size_t minLeafSize) |
template<typename ElemType > | |
void | details::ExtractSplits (std::vector< std::pair< ElemType, size_t >> &splitVec, const arma::SpMat< ElemType > &data, size_t dim, const size_t start, const size_t end, const size_t minLeafSize) |
Implementations of some declared functions in the Density Estimation Tree class.
mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.
void details::ExtractSplits | ( | std::vector< std::pair< ElemType, size_t >> & | splitVec, |
const MatType & | data, | ||
size_t | dim, | ||
const size_t | start, | ||
const size_t | end, | ||
const size_t | minLeafSize | ||
) |
This one sorts and scand the given per-dimension extract and puts all splits in a vector, that can easily be iterated afterwards.
General implementation.