Changeset 5059:0fdd1a09653e in orange


Ignore:
Timestamp:
08/04/08 10:28:09 (6 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
9e0c09de7a07ee6225ff053701c59cd345f9ff8c
Message:
  • removed the test for negative cdisp which caused false errors
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Unsupervised/OWKMeans.py

    r5035 r5059  
    7171            # This fix is needed since orngCluster.MClustering does not report errors, 
    7272            # and only returns erroneous results instead 
    73             if max(self.mc.mapping) > self.K or min(self.mc.cdisp) < 0: 
     73            if max(self.mc.mapping) > self.K: 
    7474                self.error("Check whether your data contains enough distinct examples\nfor the desired number of clusters")   
    7575                self.mc = None 
Note: See TracChangeset for help on using the changeset viewer.