Skip to content

marekpetrik/pypolyagamma

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple Cython port of Jesse Windle's code at https://github.com/jwindle/BayesLogit.

Try this: make sure you have gsl installed (I put it in /usr/local/lib) and that you are using gcc (export CXX=gcc), then run pip intall pypolyagamma.

To build and install from source, run python setup.py build_ext --inplace, To test, run ipython test/sample_pg.py

Tested on Mac OSX Yosemite with gcc 4.9 (not clang)

About

A port of Jesse Windles PolyaGamma sampling code using Cython.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 87.3%
  • Python 12.7%