Ignore:
Timestamp:
01/18/12 10:56:15 (2 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
a367b01157310c282e7919193d767127e7829e26
Message:

Renamed widget channel names in line with the new naming rules/convention.
Added backwards compatibility in orngDoc loadDocument to enable loading of schemas saved before the change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Classify/OWKNN.py

    r8042 r9546  
    1919        self.callbackDeposit = [] 
    2020 
    21         self.inputs = [("Examples", ExampleTable, self.setData), ("Preprocess", PreprocessedLearner, self.setPreprocessor)] 
    22         self.outputs = [("Learner", orange.Learner),("KNN Classifier", orange.kNNClassifier)] 
     21        self.inputs = [("Data", ExampleTable, self.setData), ("Preprocess", PreprocessedLearner, self.setPreprocessor)] 
     22        self.outputs = [("Learner", orange.Learner),("kNN Classifier", orange.kNNClassifier)] 
    2323 
    2424        self.metricsList = [("Euclidean", orange.ExamplesDistanceConstructor_Euclidean), 
     
    115115                self.classifier = None 
    116116                self.error(str(errValue)) 
    117         self.send("KNN Classifier", self.classifier) 
     117        self.send("kNN Classifier", self.classifier) 
    118118 
    119119############################################################################## 
Note: See TracChangeset for help on using the changeset viewer.