Initialize a hierarchical clusterer using the supplied distance metric and method.
Method should be one of the fastcluster linkage methods, namely ‘single’, ‘complete’, ‘average’, ‘weighted’, ‘centroid’, ‘median’, or ‘ward’.
| Parameters: | metric : msmbuilder.metrics.AbstractDistanceMetric 
 trajectory : Trajectory list of Trajectorys 
 method : {‘single’, ‘complete’, ‘average’, ‘weighted’, ‘centroid’, 
 precomputed_values : : 
  | 
|---|
Notes
This is implemenred with the fastcluster library, which can be downloaded from CRAN http://cran.r-project.org/web/packages/fastcluster/
Methods
| __init__(metric, trajectories[, method, ...]) | Initialize a hierarchical clusterer using the supplied distance metric and method. | 
| get_assignments([k, cutoff_distance]) | Assign the frames into clusters. | 
| load_from_disk(cls, filename) | Load up a clusterer from disk | 
| save_to_disk(filename) | Save this clusterer to disk. | 
Attributes
| allowable_methods |