msmbuilder.clustering.Hierarchical.save_to_disk

Hierarchical.save_to_disk(filename)[source]

Save this clusterer to disk.

This is useful because computing the Z-matrix (done in __init__) is the most expensive part, and assigning is cheap

Parameters:

filename : str

location to save to

Raises:

Exception if something already exists at `filename` :