Changeset 5019:5ffd53984107 in orange


Ignore:
Timestamp:
07/29/08 17:07:18 (6 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
3d4d34dc6fb21c62e25abf0dfe48e0ee7a27f5bb
Message:
  • changed the signal for itemsets from tuple to Itemsets
Location:
orange/OrangeWidgets/Associate
Files:
2 edited

Legend:

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

    r4999 r5019  
    1111import OWGUI 
    1212 
     13class Itemsets: 
     14    def __init__(self, itemsets, data): 
     15        self.itemsets = itemsets 
     16        self.data = data 
     17         
    1318class OWItemsets(OWWidget): 
    1419    settingsList = ["minSupport", "useSparseAlgorithm", "maxRules"] 
     
    1722        OWWidget.__init__(self, parent, signalManager, "Itemsets", wantMainArea = 0) 
    1823 
     24        from OWItemsets import Itemsets 
    1925        self.inputs = [("Examples", ExampleTable, self.setData)] 
    20         self.outputs = [("Itemsets", tuple)] 
     26        self.outputs = [("Itemsets", Itemsets)] 
    2127 
    2228        self.minSupport = 60 
  • orange/OrangeWidgets/Associate/OWItemsetsExplorer.py

    r5002 r5019  
    1818        OWWidget.__init__(self, parent, signalManager, "Itemsets explorer") 
    1919 
     20        from OWItemsets import Itemsets 
    2021        self.inputs = [("Itemsets", tuple, self.setItemsets)] 
    21         self.outputs = [("Itemsets", tuple), ("Examples", ExampleTable)] 
     22        self.outputs = [("Itemsets", Itemsets), ("Examples", ExampleTable)] 
    2223 
    2324        self.showWholeItemsets = 1 
Note: See TracChangeset for help on using the changeset viewer.