|
std::string | ModelToString (RSModel *model) |
| Convert a model to a string using the text_oarchive of cereal. More...
|
|
void | CheckMatrices (std::vector< std::vector< double >> &vec1, std::vector< std::vector< double >> &vec2, const double tolerance=1e-3) |
| Check that 2 matrices of type vector<vector<double>> are close to equal, using the given tolerance. More...
|
|
void | CheckMatrices (std::vector< std::vector< size_t >> &vec1, std::vector< std::vector< size_t >> &vec2) |
| Check that 2 matrices of type vector<vector<size_t>> are equal. More...
|
|
template<typename T > |
std::vector< std::vector< T > > | ReadData (const std::string &filename) |
| Load a CSV file into a vector of vector with a templated datatype. More...
|
|
- Author
- Niteya Shah
Helper functions used in the execution of the Range Search test.
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.