| Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
HierarchicalClusterPicker
A class for diversity picking of items using Hierarchical Clustering
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
__instance_size__ = 16
|
|||
|
|||
|
Inherited from |
|||
|
|||
Return a list of clusters of item from the pool using hierachical clustering
ARGUMENTS:
- distMat: 1D distance matrix (only the lower triangle elements)
- poolSize: number of items in the pool
- pickSize: number of items to pick from the pool
C++ signature:
Cluster(RDPickers::HierarchicalClusterPicker*, boost::python::numeric::array {lvalue}, int, int) -> std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >
|
Pick a diverse subset of items from a pool of items using hierarchical clustering
ARGUMENTS:
- distMat: 1D distance matrix (only the lower triangle elements)
- poolSize: number of items in the pool
- pickSize: number of items to pick from the pool
C++ signature:
Pick(RDPickers::HierarchicalClusterPicker*, boost::python::numeric::array {lvalue}, int, int) -> std::vector<int, std::allocator<int> >
|
C++ signature: __init__(_object*, RDPickers::HierarchicalClusterPicker::ClusterMethod clusterMethod) -> void*
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat May 24 08:37:07 2008 | http://epydoc.sourceforge.net |