You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to provide a background graph to reduce the number of edges that I have to check when running PC. I'm doing this by setting forbidden edges in my BackgroundKnowledge object.
it looks like the conditional independence test is being tested even when the pair of nodes is marked as 'forbidden'. Is this correct? Shouldn't this be completely skipped?
Because of this I see that my runtime for the naive (no background) is the same as the runtime for when I give a background graph, even when I use the FastBackgroundKnowledge object that was previously discussed (#142).
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, thanks for your interest and question! The current implementation for incorporating background knowledge mainly focuses on fine-tuning the result instead of speeding up the search procedure, since achieving the latter while preserving the correctness of the result might not be straightforward (e.g., forcing a model to choose a specific edge might influence other edges). However, I do think that background should be helpful in some cases. We will work on it, and, at the same time, please feel free to propose any changes :)
Hi, I'm trying to provide a background graph to reduce the number of edges that I have to check when running PC. I'm doing this by setting forbidden edges in my BackgroundKnowledge object.
However, based on the code here: https://github.com/py-why/causal-learn/blob/main/causallearn/utils/PCUtils/SkeletonDiscovery.py#L100
it looks like the conditional independence test is being tested even when the pair of nodes is marked as 'forbidden'. Is this correct? Shouldn't this be completely skipped?
Because of this I see that my runtime for the naive (no background) is the same as the runtime for when I give a background graph, even when I use the FastBackgroundKnowledge object that was previously discussed (#142).
Thanks!
The text was updated successfully, but these errors were encountered: