I have a data of a bag of words in a document. The data has 3 coulumns : document number, word number, count of the word in the number. I am supposed to generate frequent itemsets of particular size.
I thought I will make list of all words that appear in a document. Create a table of this list. Then generate frequent itemsets using Mlxtend or Orange . But it doesn’t seem to be efficient.