Thanks for providing the codes and data, really nice work.
I have a question about the function sample_expansion_from_community in seal_attr/graph.py #54.
When the algo tries to add a boundary node to the walk list,
the candidate can only be chosen from
candidates = tuple(boundary & remaining) which is a subset of remaining.
Besides, due to the condition of the while loop while len(remaining),
thus the output walk list seems equal to the input comm_nodes.
So, could you help me understand the pipeline of this function?
thx~
Thanks for providing the codes and data, really nice work.
I have a question about the function
sample_expansion_from_communityinseal_attr/graph.py #54.When the algo tries to add a boundary node to the walk list,
the candidate can only be chosen from
candidates = tuple(boundary & remaining)which is a subset of remaining.Besides, due to the condition of the while loop
while len(remaining),thus the output
walklist seems equal to the inputcomm_nodes.So, could you help me understand the pipeline of this function?
thx~