Changeset 3479:a88fa803fd6a in orange


Ignore:
Timestamp:
04/04/07 13:06:21 (7 years ago)
Author:
Gregor <Gregor@…>
Branch:
default
Convert:
7dc403f0b88d7144433590c6389bb4bc9c5a2a2e
Message:
  • changed signal names, signal types
File:
1 edited

Legend:

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

    r2656 r3479  
    33<description>Induces association rules from data.</description> 
    44<icon>icons/AssociationRules.png</icon> 
    5 <contact>Janez Demsar (janez.demsar(@at@)fri.uni-lj.si)</contact>  
     5<contact>Janez Demsar (janez.demsar(@at@)fri.uni-lj.si)</contact> 
    66<priority>100</priority> 
    77""" 
     
    1515        OWWidget.__init__(self, parent, signalManager, "AssociationRules") 
    1616 
    17         self.inputs = [("Examples", ExampleTable, self.cdata)] 
     17        self.inputs = [("Examples", ExampleTable, self.setData)] 
    1818        self.outputs = [("Association Rules", orange.AssociationRules)] 
    1919 
    2020        self.settingsList = ["useSparseAlgorithm", "classificationRules", "minSupport", "minConfidence", "maxRules"] 
    21                  
     21 
    2222        self.useSparseAlgorithm = 0 
    2323        self.classificationRules = 0 
     
    7979        else: 
    8080            self.cbClassificationRules.setEnabled(1) 
    81          
    82     def cdata(self,dataset): 
     81 
     82    def setData(self,dataset): 
    8383        self.dataset = dataset 
    8484        self.generateRules() 
     
    9090 
    9191##    data = orange.ExampleTable("car") 
    92 ##    ow.cdata(data) 
    93      
     92##    ow.setData(data) 
     93 
    9494    ow.show() 
    9595    a.exec_loop() 
    9696    ow.saveSettings() 
    97      
     97 
Note: See TracChangeset for help on using the changeset viewer.