(self)
Create itemsets over rows or columns (domains) of input tables.
Create itemsets over rows or columns (domains) of input tables.
Create itemsets over rows or columns ( domains ) of input tables .
def _createItemsets(self):
        """
        Create itemsets over rows or columns (domains) of input tables.
        """
        olditemsets = dict(self.itemsets)
        self.itemsets.clear()

        for key, input_ in self.data.items():
            if self.rowwise:
                items = self._itemsForInput(key)
            else:
                items = [el.name for el in input_.table.domain.attributes]
            name = input_.name
            if key in olditemsets and olditemsets[key].name == name:
                # Reuse the title (which might have been changed by the user)
                title = olditemsets[key].title
            else:
                title = name

            itemset = _ItemSet(key=key, name=name, title=title, items=items)
            self.itemsets[key] = itemset
def _createItemsets ( self ) : olditemsets = dict ( self . itemsets ) self . itemsets . clear ( ) for key , input_ in self . data . items ( ) : if self . rowwise : items = self . _itemsForInput ( key ) else : items = [ el . name for el in input_ . table . domain . attributes ] name = input_ . name if key in olditemsets and olditemsets [ key ] . name == name : # Reuse the title (which might have been changed by the user) title = olditemsets [ key ] . title else : title = name itemset = _ItemSet ( key = key , name = name , title = title , items = items ) self . itemsets [ key ] = itemset