-
Notifications
You must be signed in to change notification settings - Fork 24
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
Integration with RobertGregg/FGES.jl #77
Comments
Found two functions which do about the same thing: CausalInference.jl/src/graphs.jl Line 11 in 531b0a4
That should help getting acquainted with the different interfaces (CausalInference uses directed Graphs.jl, with PDAG represented as DAGs with both the forward and the backward edge added, and FGES uses their own graph structure) |
@samurai-kant Might be interesting for you as well. |
Fantastic thank you for starting this thread. Switching over to Graphs.jl using a DiGraph should be really easy because I borrowed a lot of naming conventions from Graphs.jl. I think at the time I didn't realize one edge could have multiple directions in a DiGraph. It does look like Would it make sense to put some of the functions used by multiple algorithms into a common file? For example, the Do you have a specific naming convention for functions/structures? It looks like you generally use snake_case which I can adopt. |
Yes, as undirected is represented by both edges just |
|
So I forked the repository and got FGES running without any errors. However, I'm not getting the same results as before from testing. I think it might be due to Just out curiosity, what does "Package Extensions" do? I noticed it in the main CausalInference.jl module |
Yes, exactly!
The code to plot graphs depends on the plotting package, we use PackageExtension to load the right code for the users plotting package. |
I am still eager to pick that up! |
I am happy to contribute, but my progress will be a bit slow. |
@RobertGregg I create this issue to see how can integrate your FGES algorithm implementation https://github.com/RobertGregg/FGES.jl
The text was updated successfully, but these errors were encountered: