3d0a31a8cbdaf90434d732259fa17bc6bd703a0b,Orange/widgets/classify/owknn.py,OWKNNLearner,__init__,#OWKNNLearner#,24

Before Change


                     items=["Euclidean", "Manhattan", "Maximal", "Mahalanobis"])
        self.metrics = ["euclidean", "manhattan", "chebyshev", "mahalanobis"]

        self.weights = ["uniform", "distance"]
        gui.comboBox(self.controlArea, self, "weight_type",
		     box="Neigbours weight",			
                     items=[i.capitalize() for i in self.weights])

After Change


                 alignment=Qt.AlignRight)
        gui.comboBox(box, self, "metric_index", label="Metric",
                     orientation="horizontal",
                     items=[i.capitalize() for i in self.metrics])
        gui.comboBox(box, self, "weight_type", label="Weight",
                     orientation="horizontal",
                     items=[i.capitalize() for i in self.weights])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biolab/orange3
Commit Name: 3d0a31a8cbdaf90434d732259fa17bc6bd703a0b
Time: 2016-04-01
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/classify/owknn.py
Class Name: OWKNNLearner
Method Name: __init__


Project Name: biolab/orange3
Commit Name: 4d56537fc9020329e871b52060e39d010409bcfb
Time: 2016-03-18
Author: wim.bertels@ucll.be
File Name: Orange/widgets/classify/owknn.py
Class Name: OWKNNLearner
Method Name: __init__


Project Name: ilastik/ilastik
Commit Name: 6f5fc2434882ee41eb7c9d01abc23830a1718099
Time: 2015-02-13
Author: buwen@stud.uni-heidelberg.de
File Name: ilastik/applets/tracking/base/trackingBaseGui.py
Class Name: TrackingBaseGui
Method Name: handleEditorRightClick