Yes, simply set n_clusters=KMeans(). In fact, it's a pity we don't have an example of this feature in the examples gallery and contributions are welcome!
On 14 October 2015 at 23:27, Dženan Softić <[email protected]> wrote: > Hi, > > I would like to change the global step of BIRCH algorithm to be performed > using K-means instead of AgglomerativeClustering. Is something like that > possible? > > My goal is to use BIRCH for a streaming data and try to improve output > quality. The idea is to use BIRCH subclusters to estimate the number of > clusters K for K-means (e.g. Gap statistics), and then run K-means as a > final step. > > Thank you. > > Best, > Dzenan > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Scikit-learn-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general > >
------------------------------------------------------------------------------
_______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
