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

Before Change


        box = gui.widgetBox(self.controlArea, "Neighbors")
        gui.spin(box, self, "n_neighbors", 1, 100, label="Number of neighbors")

        box = gui.widgetBox(box, "Metric")
        box.setFlat(True)

        gui.comboBox(box, self, "metric_index",
                     items=["Euclidean", "Manhattan", "Maximal", "Mahalanobis"])

After Change


        apply = gui.button(None, self, "Apply",
                           callback=self.apply, default=True)
        g.layout().addWidget(self.report_button)
        g.layout().addWidget(apply)
        self.apply()

    @check_sql_input
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

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: 64e63c2f8a72bf218b67ec3d3fb75c0dd94621cb
Time: 2014-02-18
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/widgets/classify/owlogisticregression.py
Class Name: OWLogisticRegression
Method Name: __init__


Project Name: biolab/orange3
Commit Name: 02d16a304d14d45a70c0ebefd3122a3a94e04a74
Time: 2015-12-12
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/classify/owclassificationtreegraph.py
Class Name: OWClassificationTreeGraph
Method Name: __init__


Project Name: biolab/orange3
Commit Name: b819aa83fed31e6d287fc60a3280ea8b30a64f0e
Time: 2015-12-11
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/classify/owclassificationtreegraph.py
Class Name: OWClassificationTreeGraph
Method Name: __init__