<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/python-cluster/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/python-cluster/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 05 Aug 2006 19:29:03 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/python-cluster/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>Topological output and minor changes</title><link>https://sourceforge.net/p/python-cluster/patches/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Michel,&lt;/p&gt;
&lt;p&gt;Pretty useful project you have here, I haven't read the&lt;br /&gt;
clustering algorithms yet but have used it (with&lt;br /&gt;
ecological similarity indexes among samples!).&lt;br /&gt;
Hierarchical clustering makes that a LOT more useful,&lt;br /&gt;
so thank you very much :)&lt;/p&gt;
&lt;p&gt;This patch adds a topological output to&lt;br /&gt;
Cluster(.topology()) and a respective method to&lt;br /&gt;
BaseClusterMethod(.topo()). It also changes .data()&lt;br /&gt;
behavior to avoid the .data()[0] idiom.&lt;/p&gt;
&lt;p&gt;Feeding the output of .topo() to&lt;br /&gt;
&lt;a href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/139422" rel="nofollow"&gt;http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/139422&lt;/a&gt;&lt;br /&gt;
gives (e.g.):&lt;/p&gt;
&lt;p&gt;9 -----+   &lt;br /&gt;
|--+&lt;br /&gt;
8 -----+  |&lt;br /&gt;
|--&lt;br /&gt;
# --+     |&lt;br /&gt;
|--+  |&lt;br /&gt;
w --+  |  |&lt;br /&gt;
|--+&lt;br /&gt;
e -----+&lt;/p&gt;
&lt;p&gt;Regarding the .data() change:&lt;br /&gt;
* I think it'd be better to  keep two different&lt;br /&gt;
datasets (.raw and .data?), because both states (flat&lt;br /&gt;
and clustered) are pretty different beasts.&lt;br /&gt;
*  Perhaps having .data() "contents" stored as&lt;br /&gt;
.data would make things easier (in a "why call a method&lt;br /&gt;
with no parameters, that returns an object" way :)).&lt;br /&gt;
Making .data a property would keep current behavior and&lt;br /&gt;
require less ()s :)&lt;/p&gt;
&lt;p&gt;I'm working on an advanced version of the topological&lt;br /&gt;
view and on a derivative of that printing recipe for my&lt;br /&gt;
own needs, but will forward them here when done.&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;br /&gt;
Daniel&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ajaksu</dc:creator><pubDate>Sat, 05 Aug 2006 19:29:03 -0000</pubDate><guid>https://sourceforge.netb3cdd6d2b90814e0c4acaf7730f30f78c2f923c2</guid></item></channel></rss>