Changeset 8552:667009925860 in orange


Ignore:
Timestamp:
08/01/11 12:12:32 (3 years ago)
Author:
matejd <matejd@…>
Branch:
default
Convert:
f42fb30c8aa7a960b1eb1ceef0c84bafe4cf392b
Message:

Corrected vizrank projections count

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/orngVizRank.py

    r8539 r8552  
    897897            attrCount = len(self.graph.data_domain.attributes) 
    898898 
    899             count = len(evaluatedAttributes)*(len(evaluatedAttributes)-1)/2 
     899            leva = len(evaluatedAttributes) 
     900            count = leva*(leva-1)*(leva-2) / 6 
    900901            strCount = orngVisFuncts.createStringFromNumber(count) 
    901902             
Note: See TracChangeset for help on using the changeset viewer.