links_clustering
links_clustering copied to clipboard
save model
Hi, for online clustering is it possible to save model according to previous examples that it has seen, or for a new sample, it should see whole data again? could you please give me an example for online clustering of new sample. in this example bellow we have loop of for , it means we should cluster whole data all together.
links_cluster = LinksCluster(cluster_similarity_threshold, subcluster_similarity_threshold, pair_similarity_maximum) for vector in data: predicted_cluster = links_cluster.predict(vector)