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

Add compatibility between GCM and CausalModel class #1084

Merged
merged 4 commits into from
Dec 4, 2023

Conversation

bloebp
Copy link
Member

@bloebp bloebp commented Nov 21, 2023

Before, the causal graphs between the GCM and CausalModel part required some additional work to be converted. Now, a GCM can be used to initiate a CausalModel or CausalGraph and vice versa.

This should improve the interoperability and makes it easier to switch between the functionalities.

However, after the change #943, this compatibility should be deprecated until the CausalModel and CausalGraph object is removed completely.

@bloebp bloebp requested a review from amit-sharma November 21, 2023 23:20
Before, the causal graphs between the GCM and CausalModel part required some additional work to be converted.
Now, a GCM can be used to initiate a CausalModel or CausalGraph and vice versa.

Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
@bloebp bloebp force-pushed the add_causal_model_compatibility branch from 952c6ea to 9e2d47d Compare November 27, 2023 17:56
Signed-off-by: Amit Sharma <amit_sharma@live.com>
Signed-off-by: Amit Sharma <amit_sharma@live.com>
Signed-off-by: Amit Sharma <amit_sharma@live.com>
Copy link
Member

@amit-sharma amit-sharma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now

@amit-sharma amit-sharma merged commit 92030c8 into main Dec 4, 2023
30 checks passed
@amit-sharma amit-sharma deleted the add_causal_model_compatibility branch December 4, 2023 15:56
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

Successfully merging this pull request may close these issues.

2 participants