Package SimDivFilters :: Module rdSimDivPickers :: Class HierarchicalClusterPicker
[hide private]
[frames] | no frames]

Class HierarchicalClusterPicker



 object --+    
          |    
??.instance --+
              |
             HierarchicalClusterPicker

A class for diversity picking of items using Hierarchical Clustering



Instance Methods [hide private]
 
Cluster(...)
Return a list of clusters of item from the pool using hierachical clustering...
 
Pick(...)
Pick a diverse subset of items from a pool of items using hierarchical clustering...
 
__init__(...)
C++ signature:...

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  __instance_size__ = 16
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

Cluster(...)

 
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(...)

 
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> >

__init__(...)
(Constructor)

 
C++ signature:
__init__(_object*, RDPickers::HierarchicalClusterPicker::ClusterMethod clusterMethod) -> void*

Overrides: object.__init__