├── .gitignore ├── README.md ├── checkpoints ├── fci_sergio │ ├── last.ckpt │ └── model_best_epoch=341_auprc=0.646.ckpt ├── fci_synthetic │ ├── last.ckpt │ └── model_best_epoch=373_auprc=0.842.ckpt └── gies_synthetic │ ├── last.ckpt │ └── model_best_epoch=535_auprc=0.849.ckpt ├── config ├── aggregator_tf_fci.yaml ├── aggregator_tf_fci_sergio.yaml ├── aggregator_tf_ges.yaml ├── aggregator_tf_gies.yaml ├── aggregator_tf_grasp.yaml └── baseline.yaml ├── data ├── goodluck.txt ├── intervention_8160.csv └── sergio_8000.csv ├── environment.yml ├── examples └── SEA-results.ipynb └── src ├── args.py ├── cdt ├── __init__.py ├── causality │ ├── __init__.py │ ├── graph │ │ ├── CAM.py │ │ ├── CCDr.py │ │ ├── CGNN.py │ │ ├── GES.py │ │ ├── GIES.py │ │ ├── LiNGAM.py │ │ ├── PC.py │ │ ├── R_templates │ │ │ ├── CCDr.R │ │ │ ├── bnlearn.R │ │ │ ├── cam.R │ │ │ ├── ges.R │ │ │ ├── gies.R │ │ │ ├── lingam.R │ │ │ └── pc.R │ │ ├── SAM.py │ │ ├── SAMv1.py │ │ ├── __init__.py │ │ ├── bnlearn.py │ │ └── model.py │ └── pairwise │ │ ├── ANM.py │ │ ├── Bivariate_fit.py │ │ ├── CDS.py │ │ ├── GNN.py │ │ ├── IGCI.py │ │ ├── Jarfo.py │ │ ├── Jarfo_model │ │ ├── README.md │ │ ├── SETTINGS.json │ │ ├── __init__.py │ │ ├── estimator.py │ │ ├── features.py │ │ ├── hsic.py │ │ ├── train.py │ │ └── util.py │ │ ├── NCC.py │ │ ├── RCC.py │ │ ├── RECI.py │ │ ├── __init__.py │ │ └── model.py ├── data │ ├── __init__.py │ ├── acyclic_graph_generator.py │ ├── causal_mechanisms.py │ ├── causal_pair_generator.py │ └── loader.py ├── independence │ ├── __init__.py │ ├── graph │ │ ├── FSGNN.py │ │ ├── FSRegression.py │ │ ├── HSICLasso.py │ │ ├── Lasso.py │ │ ├── __init__.py │ │ └── model.py │ └── stats │ │ ├── __init__.py │ │ ├── all_types.py │ │ ├── model.py │ │ └── numerical.py ├── metrics.py ├── timeseries │ ├── __init__.py │ ├── graph │ │ ├── VARLiNGAM.py │ │ └── __init__.py │ └── pairwise │ │ └── __init__.py └── utils │ ├── R.py │ ├── R_templates │ ├── cpdag.R │ ├── sid.R │ ├── sid_cpdag.R │ └── test_import.R │ ├── Settings.py │ ├── __init__.py │ ├── graph.py │ ├── io.py │ ├── loss.py │ ├── parallel.py │ └── torch.py ├── data ├── __init__.py ├── data.py ├── dataset.py ├── samplers.py └── utils.py ├── ges ├── __init__.py ├── main.py ├── scores │ ├── __init__.py │ ├── decomposable_score.py │ └── gauss_obs_l0_pen.py ├── test │ ├── __init__.py │ ├── test_decomposable_score.py │ ├── test_gauss_bic.py │ ├── test_operators.py │ ├── test_pdag_to_cpdag.py │ ├── test_utils.py │ └── test_vs_pcalg.py └── utils.py ├── gies ├── __init__.py ├── main.py ├── scores │ ├── __init__.py │ ├── decomposable_score.py │ ├── exp_gauss_int_l0_pen.py │ ├── experimental.py │ ├── gauss_int_l0_pen.py │ ├── gauss_obs_l0_pen.py │ ├── infinite_score.py │ ├── log_likelihood.py │ └── log_likelihood_means.py ├── scratch.py ├── test │ ├── R_gies.R │ ├── __init__.py │ ├── run_gies.R │ ├── test_decomposable_score.py │ ├── test_gauss_bic.py │ ├── test_int_score.py │ ├── test_operators.py │ ├── test_pdag_to_cpdag.py │ ├── test_utils.py │ ├── test_vs_R.py │ └── thesis_olga │ │ ├── change_score_equivalent.py │ │ ├── conjecture_randomgraphs_sameMEC.py │ │ ├── conjecture_randomgrsphs_MECnoise.py │ │ ├── equal_score.py │ │ ├── equal_score_change.py │ │ └── greedy_score.py └── utils.py ├── inference.py ├── inference.sh ├── model ├── __init__.py ├── aggregator.py ├── attn_test.py ├── axial.py ├── baseline.py ├── factory.py └── utils.py ├── train.py ├── train.sh └── utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/README.md -------------------------------------------------------------------------------- /checkpoints/fci_sergio/last.ckpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/checkpoints/fci_sergio/last.ckpt -------------------------------------------------------------------------------- /checkpoints/fci_sergio/model_best_epoch=341_auprc=0.646.ckpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/checkpoints/fci_sergio/model_best_epoch=341_auprc=0.646.ckpt -------------------------------------------------------------------------------- /checkpoints/fci_synthetic/last.ckpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/checkpoints/fci_synthetic/last.ckpt -------------------------------------------------------------------------------- /checkpoints/fci_synthetic/model_best_epoch=373_auprc=0.842.ckpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/checkpoints/fci_synthetic/model_best_epoch=373_auprc=0.842.ckpt -------------------------------------------------------------------------------- /checkpoints/gies_synthetic/last.ckpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/checkpoints/gies_synthetic/last.ckpt -------------------------------------------------------------------------------- /checkpoints/gies_synthetic/model_best_epoch=535_auprc=0.849.ckpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/checkpoints/gies_synthetic/model_best_epoch=535_auprc=0.849.ckpt -------------------------------------------------------------------------------- /config/aggregator_tf_fci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/config/aggregator_tf_fci.yaml -------------------------------------------------------------------------------- /config/aggregator_tf_fci_sergio.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/config/aggregator_tf_fci_sergio.yaml -------------------------------------------------------------------------------- /config/aggregator_tf_ges.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/config/aggregator_tf_ges.yaml -------------------------------------------------------------------------------- /config/aggregator_tf_gies.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/config/aggregator_tf_gies.yaml -------------------------------------------------------------------------------- /config/aggregator_tf_grasp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/config/aggregator_tf_grasp.yaml -------------------------------------------------------------------------------- /config/baseline.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/config/baseline.yaml -------------------------------------------------------------------------------- /data/goodluck.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/data/goodluck.txt -------------------------------------------------------------------------------- /data/intervention_8160.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/data/intervention_8160.csv -------------------------------------------------------------------------------- /data/sergio_8000.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/data/sergio_8000.csv -------------------------------------------------------------------------------- /environment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/environment.yml -------------------------------------------------------------------------------- /examples/SEA-results.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/examples/SEA-results.ipynb -------------------------------------------------------------------------------- /src/args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/args.py -------------------------------------------------------------------------------- /src/cdt/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/__init__.py -------------------------------------------------------------------------------- /src/cdt/causality/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/__init__.py -------------------------------------------------------------------------------- /src/cdt/causality/graph/CAM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/CAM.py -------------------------------------------------------------------------------- /src/cdt/causality/graph/CCDr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/CCDr.py -------------------------------------------------------------------------------- /src/cdt/causality/graph/CGNN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/CGNN.py -------------------------------------------------------------------------------- /src/cdt/causality/graph/GES.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/GES.py -------------------------------------------------------------------------------- /src/cdt/causality/graph/GIES.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/GIES.py -------------------------------------------------------------------------------- /src/cdt/causality/graph/LiNGAM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/LiNGAM.py -------------------------------------------------------------------------------- /src/cdt/causality/graph/PC.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/PC.py -------------------------------------------------------------------------------- /src/cdt/causality/graph/R_templates/CCDr.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/R_templates/CCDr.R -------------------------------------------------------------------------------- /src/cdt/causality/graph/R_templates/bnlearn.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/R_templates/bnlearn.R -------------------------------------------------------------------------------- /src/cdt/causality/graph/R_templates/cam.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/R_templates/cam.R -------------------------------------------------------------------------------- /src/cdt/causality/graph/R_templates/ges.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/R_templates/ges.R -------------------------------------------------------------------------------- /src/cdt/causality/graph/R_templates/gies.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/R_templates/gies.R -------------------------------------------------------------------------------- /src/cdt/causality/graph/R_templates/lingam.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/R_templates/lingam.R -------------------------------------------------------------------------------- /src/cdt/causality/graph/R_templates/pc.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/R_templates/pc.R -------------------------------------------------------------------------------- /src/cdt/causality/graph/SAM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/SAM.py -------------------------------------------------------------------------------- /src/cdt/causality/graph/SAMv1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/SAMv1.py -------------------------------------------------------------------------------- /src/cdt/causality/graph/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/__init__.py -------------------------------------------------------------------------------- /src/cdt/causality/graph/bnlearn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/bnlearn.py -------------------------------------------------------------------------------- /src/cdt/causality/graph/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/graph/model.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/ANM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/ANM.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/Bivariate_fit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/Bivariate_fit.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/CDS.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/CDS.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/GNN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/GNN.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/IGCI.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/IGCI.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/Jarfo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/Jarfo.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/Jarfo_model/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/Jarfo_model/README.md -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/Jarfo_model/SETTINGS.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/Jarfo_model/SETTINGS.json -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/Jarfo_model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/Jarfo_model/__init__.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/Jarfo_model/estimator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/Jarfo_model/estimator.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/Jarfo_model/features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/Jarfo_model/features.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/Jarfo_model/hsic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/Jarfo_model/hsic.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/Jarfo_model/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/Jarfo_model/train.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/Jarfo_model/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/Jarfo_model/util.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/NCC.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/NCC.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/RCC.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/RCC.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/RECI.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/RECI.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/__init__.py -------------------------------------------------------------------------------- /src/cdt/causality/pairwise/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/causality/pairwise/model.py -------------------------------------------------------------------------------- /src/cdt/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/data/__init__.py -------------------------------------------------------------------------------- /src/cdt/data/acyclic_graph_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/data/acyclic_graph_generator.py -------------------------------------------------------------------------------- /src/cdt/data/causal_mechanisms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/data/causal_mechanisms.py -------------------------------------------------------------------------------- /src/cdt/data/causal_pair_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/data/causal_pair_generator.py -------------------------------------------------------------------------------- /src/cdt/data/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/data/loader.py -------------------------------------------------------------------------------- /src/cdt/independence/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/independence/__init__.py -------------------------------------------------------------------------------- /src/cdt/independence/graph/FSGNN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/independence/graph/FSGNN.py -------------------------------------------------------------------------------- /src/cdt/independence/graph/FSRegression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/independence/graph/FSRegression.py -------------------------------------------------------------------------------- /src/cdt/independence/graph/HSICLasso.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/independence/graph/HSICLasso.py -------------------------------------------------------------------------------- /src/cdt/independence/graph/Lasso.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/independence/graph/Lasso.py -------------------------------------------------------------------------------- /src/cdt/independence/graph/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/independence/graph/__init__.py -------------------------------------------------------------------------------- /src/cdt/independence/graph/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/independence/graph/model.py -------------------------------------------------------------------------------- /src/cdt/independence/stats/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/independence/stats/__init__.py -------------------------------------------------------------------------------- /src/cdt/independence/stats/all_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/independence/stats/all_types.py -------------------------------------------------------------------------------- /src/cdt/independence/stats/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/independence/stats/model.py -------------------------------------------------------------------------------- /src/cdt/independence/stats/numerical.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/independence/stats/numerical.py -------------------------------------------------------------------------------- /src/cdt/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/metrics.py -------------------------------------------------------------------------------- /src/cdt/timeseries/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/timeseries/__init__.py -------------------------------------------------------------------------------- /src/cdt/timeseries/graph/VARLiNGAM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/timeseries/graph/VARLiNGAM.py -------------------------------------------------------------------------------- /src/cdt/timeseries/graph/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/timeseries/graph/__init__.py -------------------------------------------------------------------------------- /src/cdt/timeseries/pairwise/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/timeseries/pairwise/__init__.py -------------------------------------------------------------------------------- /src/cdt/utils/R.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/utils/R.py -------------------------------------------------------------------------------- /src/cdt/utils/R_templates/cpdag.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/utils/R_templates/cpdag.R -------------------------------------------------------------------------------- /src/cdt/utils/R_templates/sid.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/utils/R_templates/sid.R -------------------------------------------------------------------------------- /src/cdt/utils/R_templates/sid_cpdag.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/utils/R_templates/sid_cpdag.R -------------------------------------------------------------------------------- /src/cdt/utils/R_templates/test_import.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/utils/R_templates/test_import.R -------------------------------------------------------------------------------- /src/cdt/utils/Settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/utils/Settings.py -------------------------------------------------------------------------------- /src/cdt/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/utils/__init__.py -------------------------------------------------------------------------------- /src/cdt/utils/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/utils/graph.py -------------------------------------------------------------------------------- /src/cdt/utils/io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/utils/io.py -------------------------------------------------------------------------------- /src/cdt/utils/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/utils/loss.py -------------------------------------------------------------------------------- /src/cdt/utils/parallel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/utils/parallel.py -------------------------------------------------------------------------------- /src/cdt/utils/torch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/cdt/utils/torch.py -------------------------------------------------------------------------------- /src/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/data/__init__.py -------------------------------------------------------------------------------- /src/data/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/data/data.py -------------------------------------------------------------------------------- /src/data/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/data/dataset.py -------------------------------------------------------------------------------- /src/data/samplers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/data/samplers.py -------------------------------------------------------------------------------- /src/data/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/data/utils.py -------------------------------------------------------------------------------- /src/ges/__init__.py: -------------------------------------------------------------------------------- 1 | from .main import * 2 | -------------------------------------------------------------------------------- /src/ges/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/ges/main.py -------------------------------------------------------------------------------- /src/ges/scores/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/ges/scores/__init__.py -------------------------------------------------------------------------------- /src/ges/scores/decomposable_score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/ges/scores/decomposable_score.py -------------------------------------------------------------------------------- /src/ges/scores/gauss_obs_l0_pen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/ges/scores/gauss_obs_l0_pen.py -------------------------------------------------------------------------------- /src/ges/test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/ges/test/test_decomposable_score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/ges/test/test_decomposable_score.py -------------------------------------------------------------------------------- /src/ges/test/test_gauss_bic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/ges/test/test_gauss_bic.py -------------------------------------------------------------------------------- /src/ges/test/test_operators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/ges/test/test_operators.py -------------------------------------------------------------------------------- /src/ges/test/test_pdag_to_cpdag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/ges/test/test_pdag_to_cpdag.py -------------------------------------------------------------------------------- /src/ges/test/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/ges/test/test_utils.py -------------------------------------------------------------------------------- /src/ges/test/test_vs_pcalg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/ges/test/test_vs_pcalg.py -------------------------------------------------------------------------------- /src/ges/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/ges/utils.py -------------------------------------------------------------------------------- /src/gies/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/__init__.py -------------------------------------------------------------------------------- /src/gies/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/main.py -------------------------------------------------------------------------------- /src/gies/scores/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/scores/__init__.py -------------------------------------------------------------------------------- /src/gies/scores/decomposable_score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/scores/decomposable_score.py -------------------------------------------------------------------------------- /src/gies/scores/exp_gauss_int_l0_pen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/scores/exp_gauss_int_l0_pen.py -------------------------------------------------------------------------------- /src/gies/scores/experimental.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/scores/experimental.py -------------------------------------------------------------------------------- /src/gies/scores/gauss_int_l0_pen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/scores/gauss_int_l0_pen.py -------------------------------------------------------------------------------- /src/gies/scores/gauss_obs_l0_pen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/scores/gauss_obs_l0_pen.py -------------------------------------------------------------------------------- /src/gies/scores/infinite_score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/scores/infinite_score.py -------------------------------------------------------------------------------- /src/gies/scores/log_likelihood.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/scores/log_likelihood.py -------------------------------------------------------------------------------- /src/gies/scores/log_likelihood_means.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/scores/log_likelihood_means.py -------------------------------------------------------------------------------- /src/gies/scratch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/scratch.py -------------------------------------------------------------------------------- /src/gies/test/R_gies.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/R_gies.R -------------------------------------------------------------------------------- /src/gies/test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/gies/test/run_gies.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/run_gies.R -------------------------------------------------------------------------------- /src/gies/test/test_decomposable_score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/test_decomposable_score.py -------------------------------------------------------------------------------- /src/gies/test/test_gauss_bic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/test_gauss_bic.py -------------------------------------------------------------------------------- /src/gies/test/test_int_score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/test_int_score.py -------------------------------------------------------------------------------- /src/gies/test/test_operators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/test_operators.py -------------------------------------------------------------------------------- /src/gies/test/test_pdag_to_cpdag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/test_pdag_to_cpdag.py -------------------------------------------------------------------------------- /src/gies/test/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/test_utils.py -------------------------------------------------------------------------------- /src/gies/test/test_vs_R.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/test_vs_R.py -------------------------------------------------------------------------------- /src/gies/test/thesis_olga/change_score_equivalent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/thesis_olga/change_score_equivalent.py -------------------------------------------------------------------------------- /src/gies/test/thesis_olga/conjecture_randomgraphs_sameMEC.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/thesis_olga/conjecture_randomgraphs_sameMEC.py -------------------------------------------------------------------------------- /src/gies/test/thesis_olga/conjecture_randomgrsphs_MECnoise.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/thesis_olga/conjecture_randomgrsphs_MECnoise.py -------------------------------------------------------------------------------- /src/gies/test/thesis_olga/equal_score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/thesis_olga/equal_score.py -------------------------------------------------------------------------------- /src/gies/test/thesis_olga/equal_score_change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/thesis_olga/equal_score_change.py -------------------------------------------------------------------------------- /src/gies/test/thesis_olga/greedy_score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/test/thesis_olga/greedy_score.py -------------------------------------------------------------------------------- /src/gies/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/gies/utils.py -------------------------------------------------------------------------------- /src/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/inference.py -------------------------------------------------------------------------------- /src/inference.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/inference.sh -------------------------------------------------------------------------------- /src/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/model/__init__.py -------------------------------------------------------------------------------- /src/model/aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/model/aggregator.py -------------------------------------------------------------------------------- /src/model/attn_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/model/attn_test.py -------------------------------------------------------------------------------- /src/model/axial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/model/axial.py -------------------------------------------------------------------------------- /src/model/baseline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/model/baseline.py -------------------------------------------------------------------------------- /src/model/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/model/factory.py -------------------------------------------------------------------------------- /src/model/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/model/utils.py -------------------------------------------------------------------------------- /src/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/train.py -------------------------------------------------------------------------------- /src/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/train.sh -------------------------------------------------------------------------------- /src/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rmwu/sea-reproduce/HEAD/src/utils.py --------------------------------------------------------------------------------