-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
Thanks for the good work!!
Am looking at the bayesian creation code and have questions regarding line 153-155 and line 111in the PrivBayes.py code:
num_parents = min(len(V), k)
tasks = [(child, V, num_parents, split, dataset) for child, split in
product(rest_attributes, range(len(V) - num_parents + 1))]
What is the rationale behind generating a list of combinations with different split points for each attribute in the rest_attributes list?
It seems like the worker function code can account for all the combinations of attribute and parents pairs in line 111 , just by looking at the entire V for each attribute, instead of iterating all possible V[split:] for each attribute.
Metadata
Metadata
Assignees
Labels
No labels