GithubHelp home page GithubHelp logo

FCM lags suspicious results about causal-learn HOT 5 OPEN

priamai avatar priamai commented on September 26, 2024
FCM lags suspicious results

from causal-learn.

Comments (5)

kunwuz avatar kunwuz commented on September 26, 2024

Thanks for the question. The optimal order (lag) for the vector regression model is determined automatically using bayesian information criterion. As a result, even if we set lags as 100, the optimal one might still be selected as 2. To avoid that optimization process, you may consider setting criterion as None, e.g.,

model = lingam.VARLiNGAM(lags=3, criterion=None)

from causal-learn.

priamai avatar priamai commented on September 26, 2024

What's the expected result when lags=3, is it going to permutate all the possible columns 3 times?

from causal-learn.

kunwuz avatar kunwuz commented on September 26, 2024

Sorry, I'm not sure if I fully understand the question. The lags here mean those for lagged causal relations (in contrast to contemporaneous causal relations).

from causal-learn.

priamai avatar priamai commented on September 26, 2024

Okay so this is my understanding so far (we should really put some basic example in the test folder):
let's say I have a classical fork DAG: X <- A -> Y.
The generation process implies that: A- lag (5) -> X and A -> lag (7) -> Y.
What's the output going to look like?
Will each edge have a different lag value?
Can we build a simple toy example to verify the desired behaviour?

from causal-learn.

priamai avatar priamai commented on September 26, 2024

Also would be interesting to see how to import the output into a DAG for DoWhy.

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.