question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Items missing in the output

See original GitHub issue

`import pyfpgrowth

item_list = [[11, 13], [4, 12, 13], [4, 13, 14, 17], [7, 11, 13, 14, 17], [2, 4, 13, 14], [13, 14], [2, 7, 11, 13, 14], [4, 13, 14, 15], [6, 11, 13], [11, 13], [11, 13, 14, 17], [7, 11, 13, 14], [2, 11, 12, 13, 14], [7, 11, 13], [11, 13], [7, 8, 13, 14, 17], [0, 7, 11, 13], [2, 11, 13, 14, 15], [7, 11, 12, 13, 14], [11, 12, 13, 14]]

patterns = pyfpgrowth.find_frequent_patterns(item_list, 1)`

My code and dataset is defined as above. The problem is when I try patterns = pyfpgrowth.find_frequent_patterns(item_list[:15], 1), I can find the key (7,) in patterns, but when I use the whole item_list, key(7,) is missing. Is this a bug or I get something wrong with the algorithm?

Thanks.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:2
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Billy4195commented, Oct 26, 2017

Hey guys, I had fixed one of the problem in my own repo, now it can show the “7” itemset which @yanxiang007 mentioned , but it still exists some other bugs.

I am using orange3-associate as an alternate. Hope this information can help you.

1reaction
Billy4195commented, Oct 24, 2017

I met the same issue now. @ZaxR , @yanxiang007 Did you find any project can do this job?? Otherwise I want to fixed this bug.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Get Items finds input returns blank Output
Is there an specific reason why "Get Items" would receive the Imput but not send it as an output? My "Filter query" is...
Read more >
Output Lines are missing - perl - Stack Overflow
I have written small program for getting output from router. but the starting content of the output is missing in output file.
Read more >
finding missing items in file - The UNIX and Linux Forums
I have a need to compare 2 files, then print results to file. Need to find items from file2 that are not found...
Read more >
values are missing in script output? - SAP Community
hi abapers, I have developed one script everything is good but in pdf some values are missing those are highlighted in red box...
Read more >
Data is missing in output file Tableau Prep
Solution: The problem occured when we switched from a CSV input source to a Tableau datasource which was created by a query that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found