Changeset 8110:307aa40882ab in orange


Ignore:
Timestamp:
07/25/11 10:45:00 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
d4542a30c52271d659cd82f7aebf3b62ed8f26d4
Message:

Fixed the dendrogram_draw example code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/doc/modules/orngClustering.htm

    r6579 r8110  
    296296sample = data.selectref(orange.MakeRandomIndices2(data, 20), 0) 
    297297root = orngClustering.hierarchicalClustering(sample) 
    298 dendrogram = orngClustering.dendrogram_draw("hclust-dendrogram.png", root, sample, labels=[str(d.getclass()) for d in sample]) 
     298orngClustering.dendrogram_draw("hclust-dendrogram.png", root, data=sample, labels=[str(d.getclass()) for d in sample])  
    299299</xmp> 
    300300 
Note: See TracChangeset for help on using the changeset viewer.