GithubHelp home page GithubHelp logo

Comments (9)

MattFill avatar MattFill commented on June 24, 2024 1

from causal-learn.

kunwuz avatar kunwuz commented on June 24, 2024

Hi, thanks for the question. The output of GES is a Markov Equivalence Class, which means that there may exist edges of which the directions cannot be determined by the algorithm. It seems that the algorithm cannot determine any direction for your data.

If you would like to get direction for every edge, perhaps you may consider functional-constraint-based methods, such as LiNGAM. A usage case of LiNGAM can be found in this notebook.

from causal-learn.

MattFill avatar MattFill commented on June 24, 2024

Hi, thanks for the question. The output of GES is a Markov Equivalence Class, which means that there may exist edges of which the directions cannot be determined by the algorithm. It seems that the algorithm cannot determine any direction for your data.

If you would like to get direction for every edge, perhaps you may consider functional-constraint-based methods, such as LiNGAM. A usage case of LiNGAM can be found in this notebook.

Thank you for your comment. I've tried the LiNGAM model and I do indeed obtain a directed graph. I am wondering if these models permit bi-directional paths between nodes (i.e., a causal path from bio -> psycho as well as psycho -> bio)?

Screenshot 2023-10-06 at 12 50 50 PM

from causal-learn.

kunwuz avatar kunwuz commented on June 24, 2024

No, LiNGAM only returns a directed acyclic graph. A bidirectional path as you mentioned will introduce cycles. FCI permits bi-directional edges, which may be useful.

from causal-learn.

MattFill avatar MattFill commented on June 24, 2024

No, LiNGAM only returns a directed acyclic graph. A bidirectional path as you mentioned will introduce cycles. FCI permits bi-directional edges, which may be useful.

I see. It seems that the FCI algorithm can't determine any direction for my data. I suppose this is inherent in the structure of my data that I will need to investigate. Thank you for your help!

image

from causal-learn.

jdramsey avatar jdramsey commented on June 24, 2024

Sorry to interject--do you know if your data is Gaussian, non-Gaussian, linear, nonlinear, etc.?

from causal-learn.

MattFill avatar MattFill commented on June 24, 2024

from causal-learn.

jdramsey avatar jdramsey commented on June 24, 2024

from causal-learn.

kunwuz avatar kunwuz commented on June 24, 2024

Yeah, it would be good to have a mixed score or test. I know that there is a team that is interested in contributing a test for mixed-type data. Perhaps the work will start soon :)

BTW, let me know if anyone would like to contribute more scores or tests for mixed cases (maybe degenerate Gaussian?). Right now the only solution in causal-learn might be approximation using Kernel-based methods with small kernel width.

from causal-learn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.