Changeset 4019:7b954bba31c4 in orange


Ignore:
Timestamp:
07/21/07 23:32:04 (7 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
a6a1ab65e1ca52cfc58c35aaa553c0eafeb3a2cd
Message:
  • fixed problems after merging some modifications from the multilingual branch
Location:
orange/OrangeWidgets
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Associate/OWInteractionGraph.py

    r4016 r4019  
    1919from math import floor, ceil 
    2020from orngCI import FeatureByCartesianProduct 
     21import OWGUI 
    2122 
    2223class IntGraphView(QCanvasView): 
  • orange/OrangeWidgets/Data/OWDiscretize.py

    r4018 r4019  
    860860 
    861861    # This weird construction of the list is needed for easier translation into other languages 
    862     shortDiscNames = "" + [" (%s)" % x for x in ("leave continuous", "entropy", "equal frequency", "equal width", "removed")] + ["custom %i" % x for x in range(1, 4)] 
     862    shortDiscNames = [""] + [" (%s)" % x for x in ("leave continuous", "entropy", "equal frequency", "equal width", "removed")] + ["custom %i" % x for x in range(1, 4)] 
    863863 
    864864    def computeDiscretizer(self, i, idx, onlyDefaults=False): 
  • orange/OrangeWidgets/Regression/OWRegressionTreeViewer2D.py

    r4016 r4019  
    157157 
    158158        nodeInfoBox = QVButtonGroup("Show Info On", self.NodeTab) 
    159         nodeInfoButtons = ['Predicted value', 'Variance', 'Deviation, 'Error', 'Number of instances'] 
     159        nodeInfoButtons = ['Predicted value', 'Variance', 'Deviation', 'Error', 'Number of instances'] 
    160160        nodeInfoSettings = ['maj', 'majp', 'tarp', 'error', 'inst'] 
    161161        self.NodeInfoW = []; self.dummy = 0 
  • orange/OrangeWidgets/Visualize/OWPolyvizGraph.py

    r4016 r4019  
    820820                    else: 
    821821                       self.kNNOptimization.setStatusBarText("Evaluated %(n)s projections (attribute %(attra)s/%(attrb)s). Last accuracy was: %2.2(acc)f%%" % {"n": orngVisFuncts.createStringFromNumber(self.triedPossibilities), "attra": orngVisFuncts.createStringFromNumber(attrIndex), "attrb": strTotalAtts, "acc": acc}) 
    822                         if min(acc, accuracy)/max(acc, accuracy) > 0.98:  # if the found projection is at least 98% as good as the one optimized, add it to the list of projections anyway 
     822                       if min(acc, accuracy)/max(acc, accuracy) > 0.98:  # if the found projection is at least 98% as good as the one optimized, add it to the list of projections anyway 
    823823                            addResultFunct(acc, other_results, lenTable, [self.attributeNames[i] for i in attrList], 1, generalDict = {"reverse": reverse}) 
    824824 
Note: See TracChangeset for help on using the changeset viewer.