File tree 2 files changed +22
-1
lines changed
2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,31 @@ All inference algorithms benefit from fast message passing code
10
10
written in Cython with direct calls to the BLAS and LAPACK routines
11
11
linked to the scipy build.
12
12
13
+ # Installation
14
+
15
+ To install from pypi, just run
16
+
13
17
```
14
18
pip install pylds
15
19
```
16
20
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
+
17
38
# Example
18
39
PyLDS exposes a variety of classes and functions for working with linear
19
40
dynamical systems. For example, the following snippet will
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def finalize_options(self):
61
61
packages = ['pylds' ],
62
62
install_requires = [
63
63
'numpy>=1.9.3' , 'scipy>=0.16' , 'matplotlib' ,
64
- 'pybasicbayes' , 'autograd' ],
64
+ 'pybasicbayes' , 'autograd' , 'pypolyagamma>=1.1' ],
65
65
setup_requires = ['future' ],
66
66
ext_modules = ext_modules ,
67
67
classifiers = [
You can’t perform that action at this time.
0 commit comments