FenTechSolutions / CausalDiscoveryToolbox

Package for causal inference in graphs and in the pairwise settings. Tools for graph structure recovery and dependencies are included.
https://fentechsolutions.github.io/CausalDiscoveryToolbox/html/index.html
MIT License
1.08k stars 198 forks source link

Weights for TCEP dataset #57

Open ArnoVel opened 4 years ago

ArnoVel commented 4 years ago

Hi, Many different papers related to bivariate causal discovery discuss the necessity of attaching a weight to each pair to account for the fact they come from the same joint distribution.

I do not see this as an option currently in CDT.

Would this possibly be an option in later releases? :)

Thanks!

ArnoVel commented 4 years ago

As a reference:

0.166,
0.166,
0.167,
0.166,
0.143,
0.143,
0.143,
0.143,
0.143,
0.143,
0.142,
0.5,
0.25,
0.25,
0.25,
0.25,
0.5,
1,
1,
0.166,
0.167,
0.333,
0.333,
0.334,
0.125,
0.125,
0.125,
0.125,
0.125,
0.125,
0.125,
0.125,
0.2,
0.2,
0.2,
0.2,
0.2,
0.25,
0.25,
0.25,
0.25,
0.5,
0.25,
0.25,
0.25,
0.25,
1,
1,
0.333,
0.333,
0.334,
0,
0,
0,
0,
0.083,
0.083,
0.084,
0.083,
0.083,
0.084,
0.083,
0.083,
0.084,
0.333,
0.333,
0.334,
1,
1,
1,
0,
1 ,
0.083,
0.083,
0.084,
1,
0.5,
0.3333,
0.3333,
0.3334,
0.3333,
0.3333,
0.3334,
1,
1,
1,
1,
1,
0.25,
0.25,
0.25,
0.25,
1,
0.3333,
0.3333,
0.3333,
0.2,
0.2,
1.0,
1.0,
0.5,
0.2,
0.2,
0.2,
0 0.5,
1
1
1

is the list of weights for the current dataset (108 pairs). The current TCEP version differs from the CDT one in the following:

ArnoVel commented 4 years ago

edit: Most missing pair have a corresponding weight of 0.

diviyank commented 4 years ago

Hi, The difference between the datasets comes from the version of the Tuebingen Cause-effect-pairs datasets. I might update that as well. I will update the weights very soon, thanks for the contribution !