Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding constraints to structure learning #94

Open
kavir1698 opened this issue Jul 7, 2020 · 1 comment
Open

Adding constraints to structure learning #94

kavir1698 opened this issue Jul 7, 2020 · 1 comment

Comments

@kavir1698
Copy link

Is it possible to add constraints to structure learning? so that the user can pre-exclude some connections based on expert knowledge. That would be a functionality similar to tabu_edges in CausalNex.

@mykelk
Copy link
Member

mykelk commented Jul 7, 2020

The package doesn't currently have that implemented. I think it would be fairly easy to add "exclude" and "include" edges to particular algorithms. It could be an optional argument to Distributions.fit for particular algorithms like greedy hill climbing. Those lists could be just vectors of node pairs. It should be fairly straightforward to implement. PRs are definitely welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants