Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 040a9cc

Browse files
committedMay 25, 2017
Merge branch 'master' of https://github.com/mattjj/pylds
2 parents 875e33d + 599c67a commit 040a9cc

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed
 

‎README.md

+21
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,31 @@ All inference algorithms benefit from fast message passing code
1010
written in Cython with direct calls to the BLAS and LAPACK routines
1111
linked to the scipy build.
1212

13+
# Installation
14+
15+
To install from pypi, just run
16+
1317
```
1418
pip install pylds
1519
```
1620

21+
To install from a clone of the git repository, you need to install Cython.
22+
Here's one way to do it:
23+
24+
```
25+
pip install cython
26+
git clone https://github.com/mattjj/pylds.git
27+
pip install -e pylds
28+
```
29+
30+
To handle count data, you'll also need
31+
[pypolyagamma](https://github.com/slinderman/pypolyagamma), which can be
32+
installed with
33+
34+
```
35+
pip install pypolyagamma>=1.1
36+
```
37+
1738
# Example
1839
PyLDS exposes a variety of classes and functions for working with linear
1940
dynamical systems. For example, the following snippet will

‎setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def finalize_options(self):
6161
packages=['pylds'],
6262
install_requires=[
6363
'numpy>=1.9.3', 'scipy>=0.16', 'matplotlib',
64-
'pybasicbayes', 'autograd'],
64+
'pybasicbayes', 'autograd', 'pypolyagamma>=1.1'],
6565
setup_requires=['future'],
6666
ext_modules=ext_modules,
6767
classifiers=[

0 commit comments

Comments
 (0)
Please sign in to comment.