Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd graphs/frequent_pattern_graph_miner.py #1866
Conversation
|
Thanks for your contribution. It needs some changes to meet our standards. |
Co-Authored-By: Christian Clauss <cclauss@me.com>
|
Nice! Test are passing again. (LGTM can be ignored) |
Co-Authored-By: Christian Clauss <cclauss@me.com>
|
OK. Now we appear in the Travis tests Now please remove the second test that was designed to fail. |
|
https://travis-ci.com/github/TheAlgorithms/Python/builds/161205503#L1270 You can run these tests on your own computer with the command: |
|
All changes have made. |
|
Could you please add doctests to at least some of these?
|
|
| @@ -100,7 +100,7 @@ def get_support(cluster :Dict[int,Dict[str,List[str]]])-> List[float]: | |||
| ''' | |||
| Returns support | |||
| >>> get_support({5: {'11111': ['ab', 'ac', 'df', 'bd', 'bc']}, 4: {'11101': ['ef', 'eg', 'de', 'fg'], '11011': ['cd']}, 3: {'11001': ['ad'], '10101': ['dg']}, 2: {'10010': ['dh', 'bh'], '11000': ['be'], '10100': ['gh'], '10001': ['ce']}, 1: {'00100': ['fh', 'eh'], '10000': ['hi']}}) | |||
This comment has been minimized.
This comment has been minimized.
cclauss
Apr 25, 2020
Member
Lines in Python should be 88 characters max. Lines that can not be read in GitHub without left/right scrolling (127 characters) need to be wrapped for readability.
|
I will review tonight and then I think then we can land this one. Thanks for your persistence! |
|
can you pls merge the file? |
siva1098 commentedApr 15, 2020
•
edited
Describe your change:
Checklist:
Fixes: #{$ISSUE_NO}.