mlpack
master
|
Go to the source code of this file.
Namespaces | |
mlpack | |
Linear algebra utility functions, generally performed on matrices or vectors. | |
mlpack::neighbor | |
Neighbor-search routines. | |
Typedefs | |
template<typename SortPolicy , template< typename TreeMetricType, typename TreeStatType, typename TreeMatType > class TreeType> | |
using | mlpack::neighbor::NSType = NeighborSearch< SortPolicy, metric::EuclideanDistance, arma::mat, TreeType, TreeType< metric::EuclideanDistance, NeighborSearchStat< SortPolicy >, arma::mat >::template DualTreeTraverser > |
Alias template for euclidean neighbor search. More... | |
Functions | |
BOOST_TEMPLATE_CLASS_VERSION (template< typename SortPolicy >, mlpack::neighbor::NSModel< SortPolicy >, 1) | |
Set the serialization version of the NSModel class. More... | |
This is a model for nearest or furthest neighbor search. It is useful in that it provides an easy way to serialize a model, abstracts away the different types of trees, and also reflects the NeighborSearch API and automatically directs to the right tree type.
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.
Definition in file ns_model.hpp.
BOOST_TEMPLATE_CLASS_VERSION | ( | template< typename SortPolicy > | , |
mlpack::neighbor::NSModel< SortPolicy > | , | ||
1 | |||
) |
Set the serialization version of the NSModel class.
Referenced by mlpack::neighbor::NSModel< SortPolicy >::RandomBasis().