Re: I do not have access to the right _hierarchy.py source file

2015-05-17 Thread pegah Aliz
On Sunday, May 17, 2015 at 6:18:51 PM UTC+2, pegah Aliz wrote: > Hello Everybody, > > This question seems simple, but I can't find the solution: > > I use scipy.cluster.hierarchy to do a hierarchical clustering on a set of > points using "cosine" similarity metric. As an example, I have: > > >

Re: I do not have access to the right _hierarchy.py source file

2015-05-17 Thread pegah Aliz
On Sunday, May 17, 2015 at 6:18:51 PM UTC+2, pegah Aliz wrote: > Hello Everybody, > > This question seems simple, but I can't find the solution: > > I use scipy.cluster.hierarchy to do a hierarchical clustering on a set of > points using "cosine" similarity metric. As an example, I have: > > >

Re: I do not have access to the right _hierarchy.py source file

2015-05-17 Thread Peter Otten
pegah Aliz wrote: > To solve this problem, I checked linkage() function and inside it I needed > to check _hierarchy.linkage() method. I use pycharm text editor and when I > asked for "linkage" source code, it opened up a python file namely > "_hierarchy.py" inside the directory like the following

Re: I do not have access to the right _hierarchy.py source file

2015-05-17 Thread Gary Herron
On 05/17/2015 09:18 AM, pegah Aliz wrote: ... To solve this problem, I checked linkage() function and inside it I needed to check _hierarchy.linkage() method. I use pycharm text editor and when I asked for "linkage" source code, it opened up a python file namely "_hierarchy.py" inside the dire

Re: I do not have access to the right _hierarchy.py source file

2015-05-17 Thread Zachary Ware
On May 17, 2015 11:20 AM, "pegah Aliz" wrote: > > Hello Everybody, > > This question seems simple, but I can't find the solution: > To solve this problem, I checked linkage() function and inside it I needed to check _hierarchy.linkage() method. I use pycharm text editor and when I asked for "li

I do not have access to the right _hierarchy.py source file

2015-05-17 Thread pegah Aliz
Hello Everybody, This question seems simple, but I can't find the solution: I use scipy.cluster.hierarchy to do a hierarchical clustering on a set of points using "cosine" similarity metric. As an example, I have: import scipy.cluster.hierarchy as hac import matplotlib.pyplot as plt Points =