Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xunzheng committed Jun 20, 2020
1 parent a4bbfe2 commit c3636d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Code for nonlinear NOTEARS has been added. See [[2](https://arxiv.org/abs/1909.1

## tl;dr Structure learning in <60 lines

Check out [`linear.py`](src/linear.py) for a complete, end-to-end implementation of the NOTEARS algorithm in fewer than **60 lines**.
Check out [`linear.py`](notears/linear.py) for a complete, end-to-end implementation of the NOTEARS algorithm in fewer than **60 lines**.

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

Expand Down Expand Up @@ -90,7 +90,7 @@ The simplest way to try out NOTEARS is to run a simple example:
```bash
$ git clone https://github.com/xunzheng/notears.git
$ cd notears/
$ python src/linear.py
$ python notears/linear.py
```
This runs the l1-regularized NOTEARS on a randomly generated 20-node Erdos-Renyi graph with 100 samples.
Within a few seconds, you should see output like this:
Expand Down

0 comments on commit c3636d4

Please sign in to comment.