Skip to content

WuYunjin/Two-step-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Two-step-python

A python implement of the Two-step algorithm

More details about the Two-step algorithm can be found in the original repo.

A dataset X of non-Gaussian variables is required as input, together with a positive value for the penalization parameter, lambda.

Two-Step outputs the causal coefficients matrix B, from X = BX + E.

In B, the causal direction goes from column to row, such that a matrix entry Bij, implies Xj --> Xi.

A toy example to run this algorithm is given in 'Two-Step/two_step_CD.py'.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages