Run the hybrid kmedoids clustering algorithm on a set of trajectories
Parameters: | metric : msmbuilder.metrics.AbstractDistanceMetric
trajectory : Trajectory or list of msmbuilder.Trajectory
k : int
num_iters : int
local_swap : boolean, optional
norm_exponent : float, optional
too_close_cutoff : float, optional
ignore_max_objective : boolean, optional
|
---|
References
[R4] | Beauchamp, K, et. al. MSMBuilder2 |
Methods
__init__(metric[, trajectories, ...]) | Run the hybrid kmedoids clustering algorithm on a set of trajectories |
get_assignments | Assign the trajectories you passed into the constructor based on |
get_distances | Extract the distance from each frame to its assigned cluster kcenter |
get_generator_indices | Get the generator indices corresponding to frames in self.ptraj. |
get_generators_as_traj | Get a trajectory containing the generators |