libcrn
3.9.5
A document image processing library
|
#include <vector>
#include <map>
Go to the source code of this file.
Namespaces | |
crn | |
enum | crn::AProClusters { crn::AProClusters::MEDIUM, crn::AProClusters::LOW } |
Strategies to limit the number of classes in affinity propagation. More... | |
std::pair< std::vector< size_t > , std::vector< size_t > > | crn::AffinityPropagation (const SquareMatrixDouble &distance_matrix, AProClusters nclusters, double damping=0.5, size_t stable_iters_stop=10, size_t max_iter=100) |
Computes clusters and their prototypes. More... | |
std::pair< std::vector< size_t > , std::vector< size_t > > | crn::AffinityPropagation (const SquareMatrixDouble &distance_matrix, double preference, double damping=0.5, size_t stable_iters_stop=10, size_t max_iter=100) |
Computes clusters and their prototypes. More... | |
std::pair< std::vector< size_t > , std::vector< size_t > > | crn::AffinityPropagation (const SquareMatrixDouble &distance_matrix, const std::vector< double > &preference, double damping=0.5, size_t stable_iters_stop=10, size_t max_iter=100) |
Computes clusters and their prototypes. More... | |