Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find the best-fitting partitions for a list of groups using co-occurrence counts
ResourceFunction["PartitionByCooccurence"][subgroups] partitions the subgroups list based on the co-occurrence frequency of list items. |
For all the elements in a set of lists, find a set of disjoint subsets containing all the elements:
In[1]:= |
Out[1]= |
Suppose you have a list of user IDs which are conversing on different threads. On one thread, there’s a discussion between users {"Alice","Bob","Carol","Dan"}, on another thread between {"Alice","Bob"} and on a third thread, users {"Carol","Dan"} are chatting. Using this information, let’s find the best way to organize all participants into groups based on these self-assembling communities:
In[2]:= |
Out[2]= |
This work is licensed under a Creative Commons Attribution 4.0 International License