CausalInference.jl icon indicating copy to clipboard operation
CausalInference.jl copied to clipboard

add CausalEffectsMatrix in SCM

Open JorgeLuizFranco opened this issue 1 year ago • 3 comments

We want to given a vector of features(where number of features = number of nodes in the causal graph) $x$ create a decoded vector $x_{\text{decoded}}$ that has new values corresponding to the causal effects of its parents + bias. In this sense, we want to create a matrix to encode this matrix in such a way that:

$x_{\text{decoded}} = A x$

In this case, $A = \text{CausalEffectsMatrix}$ is the matrix that stores the causal equations of the SCM.

JorgeLuizFranco avatar Aug 26 '24 19:08 JorgeLuizFranco

Here you are changing the interface? I had a bit of a feeling that the interface wasn't ripe yet, but did not want to bother you yet. But in future, let's be more careful about not breaking the API needlessy. There is also a "conflict", can you check?

mschauer avatar Aug 26 '24 21:08 mschauer

Here you are changing the interface? I had a bit of a feeling that the interface wasn't ripe yet, but did not want to bother you yet. But in future, let's be more careful about not breaking the API needlessy. There is also a "conflict", can you check?

Sorry, @mschauer . I think I don't get what you mean as "interface". Could you clarify? Going to check the conflicts

JorgeLuizFranco avatar Aug 26 '24 21:08 JorgeLuizFranco

Maybe this helps? https://www.youtube.com/watch?v=q3qE2nJRuYM

mschauer avatar Aug 27 '24 07:08 mschauer

@mschauer I forgot to ask, but we need to place @JuliaRegistrator register in the commit comment to register the package, right? Also update de Project.toml with this new version.

JorgeLuizFranco avatar Sep 03 '24 16:09 JorgeLuizFranco

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.

JuliaRegistrator avatar Sep 03 '24 16:09 JuliaRegistrator

Yes, can you prepare a minor version bump to the project as pull request?

mschauer avatar Sep 03 '24 17:09 mschauer

Yes, can you prepare a minor version bump to the project as pull request?

Sure, @mschauer I can prepare it. Which number should I insert in version? 16.0.1?

JorgeLuizFranco avatar Sep 03 '24 17:09 JorgeLuizFranco