0164eac755a3c1d645c02845c9a9fbe5e39a9bea,Orange/widgets/data/owpurgedomain.py,OWPurgeDomain,__init__,#OWPurgeDomain#,32

Before Change


        boxAt = gui.widgetBox(self.controlArea, "Features")
        gui.checkBox(boxAt, self, "sortValues",
                     "Sort discrete feature values",
                     callback=self.optionsChanged)
        gui.separator(boxAt, 2)
        gui.checkBox(boxAt, self, "removeValues",
                     "Remove unused feature values",
                     callback=self.optionsChanged)
        gui.separator(boxAt, 2)
        gui.checkBox(boxAt, self, "removeAttributes",
                     "Remove constant features",
                     callback=self.optionsChanged)

        boxAt = gui.widgetBox(self.controlArea, "Classes", addSpace=True)
        gui.checkBox(boxAt, self, "sortClasses",
                     "Sort discrete class variable values",
                     callback=self.optionsChanged)
        gui.separator(boxAt, 2)
        gui.checkBox(boxAt, self, "removeClasses",
                     "Remove unused class variable values",
                     callback=self.optionsChanged)
        gui.separator(boxAt, 2)
        gui.checkBox(boxAt, self, "removeClassAttribute",
                     "Remove constant class variables",
                     callback=self.optionsChanged)

        box3 = gui.widgetBox(self.controlArea, "Statistics", addSpace=True)
        gui.label(box3, self, "Removed features: %(removedAttrs)s")
        gui.label(box3, self, "Reduced features: %(reducedAttrs)s")
        gui.label(box3, self, "Resorted features: %(resortedAttrs)s")
        gui.label(box3, self, "Removed classes: %(removedClasses)s")
        gui.label(box3, self, "Reduced classes: %(reducedClasses)s")
        gui.label(box3, self, "Resorted classes: %(resortedClasses)s")

        gui.auto_commit(self.controlArea, self, "autoSend", "Send Data",
                        checkbox_label="Send automatically  ",

After Change



        box3 = gui.widgetBox(self.controlArea, "Statistics", addSpace=True)
        for label, value in self.stat_labels:
            gui.label(box3, self, "{}: %({})s".format(label, value))

        gui.auto_commit(self.controlArea, self, "autoSend", "Send Data",
                        checkbox_label="Send automatically",
                        orientation="horizontal")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: biolab/orange3
Commit Name: 0164eac755a3c1d645c02845c9a9fbe5e39a9bea
Time: 2015-10-30
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/data/owpurgedomain.py
Class Name: OWPurgeDomain
Method Name: __init__


Project Name: biolab/orange3
Commit Name: 6823de2afd7556053d022f82472060b6d3223026
Time: 2015-12-04
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/data/owpurgedomain.py
Class Name: OWPurgeDomain
Method Name: __init__


Project Name: biolab/orange3
Commit Name: 0164eac755a3c1d645c02845c9a9fbe5e39a9bea
Time: 2015-10-30
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/data/owpurgedomain.py
Class Name: OWPurgeDomain
Method Name: __init__


Project Name: biolab/orange3
Commit Name: 66de5391387db9dba6bc557b1180829eb7b41bf1
Time: 2020-05-29
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/data/owpurgedomain.py
Class Name: OWPurgeDomain
Method Name: __init__