{"action":"closed","issue":{"url":"https://api.github.com/repos/bartdag/pymining/issues/2","labels_url":"https://api.github.com/repos/bartdag/pymining/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/bartdag/pymining/issues/2/comments","events_url":"https://api.github.com/repos/bartdag/pymining/issues/2/events","html_url":"https://github.com/bartdag/pymining/issues/2","id":65382716,"number":2,"title":"seems min_support does not work well as expected ","user":{"login":"Madhuka","id":1180128,"avatar_url":"https://avatars.githubusercontent.com/u/1180128?v=3","gravatar_id":"","url":"https://api.github.com/users/Madhuka","html_url":"https://github.com/Madhuka","followers_url":"https://api.github.com/users/Madhuka/followers","following_url":"https://api.github.com/users/Madhuka/following{/other_user}","gists_url":"https://api.github.com/users/Madhuka/gists{/gist_id}","starred_url":"https://api.github.com/users/Madhuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Madhuka/subscriptions","organizations_url":"https://api.github.com/users/Madhuka/orgs","repos_url":"https://api.github.com/users/Madhuka/repos","events_url":"https://api.github.com/users/Madhuka/events{/privacy}","received_events_url":"https://api.github.com/users/Madhuka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-31T07:02:52Z","updated_at":"2015-08-11T04:59:52Z","closed_at":"2015-08-11T04:59:52Z","body":"report = itemmining.relim(relim_input, min_support=4)\r\n\r\nhere is dataset I used to test transactions = (('1','14043','6686','8302','8298'),('1','14043','6686','8298','8302'),('1','14043','6686','8302','8298'),('1','14043','6686','8298','8302'),('1','14043','8302','6686','8298'),('1','14043','6686','8302','8298'),('1','14043','6686','8302','8298'),('1','14043','6686','8298','8302'),('1','14043','8302','8298','6686'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8302','8298'),('1','14043','6686','8302','8298'),('1','14043','6686','8302','8298'),('1','14043','8298','8302','6686'),('1','14043','6686','8302','8298'),('1','14043','6686','8302','8298'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','8302','8298','6686'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','8298','8302','6686'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8302','8298'),('1','14043','6686','8302','8298'),('1','14043','6686','8298','8302'),('1','14043','6686','8302','8298'),('1','14043','8302','8298','6686'),('1','14043','8302','8298','6686'),('1','14043','6686','8302','8298'),('1','14043','8302','6686','8298'),('14043','1','6686','8302','8298'),('1','14043','6686','8298','8302'),('1','14043','6686','8302','8298'),('1','14043','8302','6686','8298'),('1','14043','6686','8302','8298'),('8298','14043','6686','8302','1'),('1','14043','8302','6686','8298'),('1','14043','6686','8302','8298'),('1','14043','8298','6686','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8302','8298'),('1','14043','6686','8298','8302'),('1','14043','8298','8302','6686'),('1','14043','6686','8298','8302'),('1','14043','6686','8302','8298'),('1','14043','8302','8298','6686'),('1','14043','8298','8302','6686'),('6686','1','8298','8302','14043'),('1','14043','8302','8298','6686'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','8302','14043','6686','8298'),('1','8298','14043','6686','8302'),('1','8298','8302','14043','6686'),('1','8302','14043','8298','6686'),('1','8298','14043','6686','8302'),('1','8298','8302','14043','6686'),('1','8298','8302','14043','6686'),('1','8302','14043','6686','8298'),('1','8298','8302','14043','6686'),('1','8298','8302','14043','6686'),('1','8298','8302','14043','6686'),('6686','1','14043','8298','8302'),('1','8298','8302','14043','6686'),('1','6686','14043','8302','8298'),('1','8302','14043','6686','8298'),('1','8302','8298','14043','6686'),('1','8302','14043','8298','6686'),('14043','6686','1','8298','8302'),('1','8302','14043','6686','8298'),('1','8302','8298','14043','6686'),('1','8302','8298','14043','6686'),('1','8298','8302','14043','6686'),('8298','8302','1','14043','6686'),('1','8302','14043','6686','8298'))\r\n\r\nout put \r\n{frozenset(['1', '8298', '14043']): 84, frozenset(['8298', '8302', '6686', '14043']): 84, frozenset(['1', '8298', '8302', '6686']): 84, frozenset(['8298', '14043']): 84, frozenset(['8298']): 84, frozenset(['8302', '14043']): 84, frozenset(['8302', '6686']): 84, frozenset(['6686', '14043']): 84, frozenset(['8298', '6686', '14043']): 84, frozenset(['1', '6686']): 84, frozenset(['1', '14043']): 84, frozenset(['1', '8298', '8302']): 84, frozenset(['1', '6686', '14043']): 84, frozenset(['1', '8298', '6686', '14043']): 84, frozenset(['8298', '6686']): 84, frozenset(['8302', '6686', '14043']): 84, frozenset(['1']): 84, frozenset(['1', '8298']): 84, frozenset(['1', '8298', '8302', '6686', '14043']): 84, frozenset(['8298', '8302', '14043']): 84, frozenset(['1', '8302']): 84, frozenset(['1', '8298', '6686']): 84, frozenset(['1', '8302', '6686']): 84, frozenset(['1', '8298', '8302', '14043']): 84, frozenset(['6686']): 84, frozenset(['14043']): 84, frozenset(['1', '8302', '14043']): 84, frozenset(['8298', '8302']): 84, frozenset(['8302']): 84, frozenset(['1', '8302', '6686', '14043']): 84, frozenset(['8298', '8302', '6686']): 84}\r\n\r\ncode \r\nfrom pymining import itemmining\r\n\r\ncluster07_transactions = (('1','14043','6686','8302','8298'),('1','14043','6686','8298','8302'),('1','14043','6686','8302','8298'),('1','14043','6686','8298','8302'),('1','14043','8302','6686','8298'),('1','14043','6686','8302','8298'),('1','14043','6686','8302','8298'),('1','14043','6686','8298','8302'),('1','14043','8302','8298','6686'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8302','8298'),('1','14043','6686','8302','8298'),('1','14043','6686','8302','8298'),('1','14043','8298','8302','6686'),('1','14043','6686','8302','8298'),('1','14043','6686','8302','8298'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','8302','8298','6686'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','8298','8302','6686'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8302','8298'),('1','14043','6686','8302','8298'),('1','14043','6686','8298','8302'),('1','14043','6686','8302','8298'),('1','14043','8302','8298','6686'),('1','14043','8302','8298','6686'),('1','14043','6686','8302','8298'),('1','14043','8302','6686','8298'),('14043','1','6686','8302','8298'),('1','14043','6686','8298','8302'),('1','14043','6686','8302','8298'),('1','14043','8302','6686','8298'),('1','14043','6686','8302','8298'),('8298','14043','6686','8302','1'),('1','14043','8302','6686','8298'),('1','14043','6686','8302','8298'),('1','14043','8298','6686','8302'),('1','14043','6686','8298','8302'),('1','14043','6686','8302','8298'),('1','14043','6686','8298','8302'),('1','14043','8298','8302','6686'),('1','14043','6686','8298','8302'),('1','14043','6686','8302','8298'),('1','14043','8302','8298','6686'),('1','14043','8298','8302','6686'),('6686','1','8298','8302','14043'),('1','14043','8302','8298','6686'),('1','14043','6686','8298','8302'),('1','14043','6686','8298','8302'),('1','8302','14043','6686','8298'),('1','8298','14043','6686','8302'),('1','8298','8302','14043','6686'),('1','8302','14043','8298','6686'),('1','8298','14043','6686','8302'),('1','8298','8302','14043','6686'),('1','8298','8302','14043','6686'),('1','8302','14043','6686','8298'),('1','8298','8302','14043','6686'),('1','8298','8302','14043','6686'),('1','8298','8302','14043','6686'),('6686','1','14043','8298','8302'),('1','8298','8302','14043','6686'),('1','6686','14043','8302','8298'),('1','8302','14043','6686','8298'),('1','8302','8298','14043','6686'),('1','8302','14043','8298','6686'),('14043','6686','1','8298','8302'),('1','8302','14043','6686','8298'),('1','8302','8298','14043','6686'),('1','8302','8298','14043','6686'),('1','8298','8302','14043','6686'),('8298','8302','1','14043','6686'),('1','8302','14043','6686','8298'))\r\nrelim_input = itemmining.get_relim_input(cluster07_transactions)\r\nreport = itemmining.relim(relim_input, min_support=4)\r\nprint (report)"}}