Re: [scikit-learn] sklearn.cluster.Birch

2017-04-10 Thread Sema Atasever
redict(X) print(brc.predict(X)) On Thu, Apr 6, 2017 at 4:29 PM, Manoj Kumar wrote: > Hi, See: https://docs.scipy.org/doc/numpy/reference/generated/ > numpy.loadtxt.html for one way. > > On Thu, Apr 6, 2017 at 8:27 AM, Sema Atasever > wrote: > >> Dear scikit-learn

Re: [scikit-learn] sklearn.cluster.Birch

2017-04-10 Thread Sema Atasever
s create one extra empty entity which results with that error. > Or maybe your data can not be cast into float? > > If you provide an example row, I could help more. > > Best, > > On Mon, Apr 10, 2017 at 2:29 PM, Sema Atasever > wrote: > >> Dear Manoj, >> >>

[scikit-learn] Construct the microclusters using a CF-Tree

2017-06-30 Thread Sema Atasever
Hi all, I want to ask you about clustering usign Birch clustering algorithm. I have a *distance matrix* n*n M where M_ij is the distance between object_i and object_j.(You can see file format in the attachment). I want to cluster them using Birch clustering algorithm. Does this method have 'preco

Re: [scikit-learn] Construct the microclusters using a CF-Tree

2017-07-03 Thread Sema Atasever
ew?usp=drive_web> ​ On Fri, Jun 30, 2017 at 5:42 PM, Roman Yurchak wrote: > Hello Sema, > > On 30/06/17 17:14, Sema Atasever wrote: > >> I want to cluster them using Birch clustering algorithm. >> Does this method have 'precomputed' option. >> >

[scikit-learn] How can i write the birch prediction results to the file

2017-08-21 Thread Sema Atasever
Dear scikit-learn developers, I have a text file where the columns represent the 22 features and the rows represent the amino asid . (you can see in the attachment) I want to apply hierarchical clustering to this database usign *sklearn.cluster.Birch algorithm.* There are too many prediction re

Re: [scikit-learn] How can i write the birch prediction results to the file

2017-08-22 Thread Sema Atasever
irch_predict, filename) > > And you can get the values back into memory with joblib.load > > Hth > --David (list lurker) > > On Aug 21, 2017 10:13, "Sema Atasever" wrote: > > Dear scikit-learn developers, > > I have a text file where the columns represent the 2

Re: [scikit-learn] How can i write the birch prediction results to the file

2017-08-22 Thread Sema Atasever
Dear Roman and Ali, it did worked thanks for all your help. Regards. On Tue, Aug 22, 2017 at 11:33 AM, Roman Yurchak wrote: > Hello Sema, > > On 22/08/17 11:24, Sema Atasever wrote: > > "joblib.dump" produces a file format with npy extension so I can not > op

[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?

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

2017-09-13 Thread Sema Atasever
.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. >> http://scikit-learn.org/stable/auto_

[scikit-learn] Accessing Clustering Feature Tree in Birch

2017-09-14 Thread Sema Atasever
Dear scikit-learn members, I have written about this subject before but I have not completely solved my question. - 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

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

2017-09-20 Thread Sema Atasever
I need this information to use it in a scientific study and I think that a function interface would make this easier. Thank you for your answer. On Sat, Sep 16, 2017 at 1:53 PM, Joel Nothman wrote: > There is no such thing as "the data samples in this cluster". The point of > Birch being online

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

2017-10-03 Thread Sema Atasever
(apart for sklearn.tree.export_graphviz). Not sure if this is realistically > achievable though.. > > -- > Roman > > On 20/09/17 13:40, Sema Atasever wrote: > >> I need this information to use it in a scientific study and >> I think that a function interface

Re: [scikit-learn] How to get centroids from SciPy's hierarchical agglomerative clustering?

2017-10-23 Thread Sema Atasever
ut you can always >> compute it manually by simply averaging all samples from a cluster (for >> each feature). >> >> Best. >> Sebastian >> >> On Oct 20, 2017, at 9:13 AM, Sema Atasever wrote: >>> >>> Dear scikit-learn members, >>&