Changeset 10295:1b6b201e7356 in orange


Ignore:
Timestamp:
02/18/12 11:03:21 (2 years ago)
Author:
Miha Stajdohar <miha.stajdohar@…>
Branch:
default
rebase_source:
96579bdc7682a9300c0e58be6db925983716ca16
Message:

Sorted results.

Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • Orange/testing/regression/results_reference/hierarchical-example-3.py.txt

    r10155 r10295  
     1Iris-setosa:  49  Iris-versicolor:   0  Iris-virginica:   0  
     2Iris-setosa:   1  Iris-versicolor:   0  Iris-virginica:   0  
     3Iris-setosa:   0  Iris-versicolor:  50  Iris-virginica:  17  
    14Iris-setosa:   0  Iris-versicolor:   0  Iris-virginica:  33  
    2 Iris-setosa:   0  Iris-versicolor:  50  Iris-virginica:  17  
    3 Iris-setosa:   1  Iris-versicolor:   0  Iris-virginica:   0  
    4 Iris-setosa:  49  Iris-versicolor:   0  Iris-virginica:   0  
  • docs/reference/rst/code/hierarchical-example-3.py

    r10160 r10295  
    99root.mapping.objects = iris 
    1010 
    11 for cluster in Orange.clustering.hierarchical.top_clusters(root, 4): 
     11for cluster in sorted(Orange.clustering.hierarchical.top_clusters(root, 4)): 
    1212    dist = Orange.statistics.distribution.Distribution(iris.domain.class_var, \ 
    1313        [ ex for ex in cluster ]) 
Note: See TracChangeset for help on using the changeset viewer.