Skip to content

Commit

Permalink
Merge pull request #1 from Sanghyun-Hong/patch-1
Browse files Browse the repository at this point in the history
Minor error corrections in the README file
  • Loading branch information
rdlester committed May 8, 2016
2 parents 84f8203 + e142980 commit 1b6f383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Requires NumPy and future.

To use:

from Graph import Graph
from graph import Graph
import numpy as np

G = Graph()
Expand All @@ -18,7 +18,7 @@ To use:
# add factors
# unary factor
Pb = np.array([[0.3],[0.7]])
G.addFacNode(Pa, b)
G.addFacNode(Pb, b)

# connecting factor
Pab = np.array([[0.2, 0.8], [0.4, 0.6], [0.1, 0.9]])
Expand Down

0 comments on commit 1b6f383

Please sign in to comment.