Right now, it feels like clicking "Download Toots" might be re-training the cluster, but more realistically I think all that's happening is it's re-summarizing all clusters, which takes a while.
Try caching the cluster labels in the database. All you should need to do is save the cluster labels as a field in the TopicCluster model, and the framework should take care of serializing/deserializing them.
Right now, it feels like clicking "Download Toots" might be re-training the cluster, but more realistically I think all that's happening is it's re-summarizing all clusters, which takes a while.
Try caching the cluster labels in the database. All you should need to do is save the cluster labels as a field in the
TopicCluster
model, and the framework should take care of serializing/deserializing them.