Skip to content

Progressive Skeleton Learning for Effective Local-to-Global Causal Structure Learning

Notifications You must be signed in to change notification settings

Xianjie-Guo/PCSL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Progressive Skeleton Learning for Effective Local-to-Global Causal Structure Learning

Usage

"PCSL.m" is main function.
Note that the current code has only been debugged on Matlab (2018a) with a 64-bit Windows system and supports only discrete datasets.

function [DAG, time] = PCSL(Data_0, Alpha, rand_sample_numb)

  • INPUT:
Data_0 is the data matrix, and rows represent the number of samples and columns represent the number of nodes. If Data_0 is a discrete dataset, the value in Data_0 should start from 1.
Alpha is the significance level, e.g., 0.01 or 0.05.
rand_sample_numb is the number of sub-datasets generated, e.g., 15.
  • OUTPUT:
DAG is a directed acyclic graph learned on a given dataset。
time is the runtime of the algorithm.

Example for discrete dataset

clear;
clc;
addpath(genpath('common_func/'));
alpha=0.01;
data=load('./dataset/Alarm_1000s.txt');
data=data+1;
[DAG, time] = PCSL(data, alpha, 15);

Reference

  • Guo, Xianjie, et al. "Progressive Skeleton Learning for Effective Local-to-Global Causal Structure Learning." IEEE Transactions on Knowledge and Data Engineering (TKDE) (2024).

About

Progressive Skeleton Learning for Effective Local-to-Global Causal Structure Learning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages