Re: [scikit-learn] Accessing Clustering Feature Tree in Birch

2017-08-23 Thread Roman Yurchak
> what are the data samples in this cluster Mehmet's response below works for exploring the hierarchical tree. However, Birch currently doesn't store the data samples that belong to a given subcluster. If you need that, as far as I know, a reasonable approximation can be obtained by computing

Re: [scikit-learn] Accessing Clustering Feature Tree in Birch

2017-08-23 Thread Suzen, Mehmet
Hi Sema, You can access CFNode from the fit output, assign fit output, so you can have the object. brc_fit = brc.fit(X) brc_fit_cfnode = brc_fit.root_ Then you can access CFNode, see here https://kite.com/docs/python/sklearn.cluster.birch._CFNode Also, this example comparing mini batch kmeans.

[scikit-learn] Accessing Clustering Feature Tree in Birch

2017-08-23 Thread Sema Atasever
Dear scikit-learn members, Considering the "CF-tree" data structure : - How can i *access Clustering Feature Tree* in Birch? - For example, how many clusters are there in the hierarchy under the *root node* and what are the data samples in this cluster? - Can I get them separately for 3 trees?