Xun Zheng – Notes

DAGs with NO TEARS: Structure learning in <60 lines

ER2 gif 
SF4 gif 

Github: https://github.com/xunzheng/notears

This repo contains a complete, end-to-end implementation of the NOTEARS algorithm in fewer than 60 lines of Python.

This includes L2, Logistic, and Poisson loss functions with L1 penalty.

New: This repo also supports nonlinear version of NOTEARS.