rctn / sparsecoding

Reference sparse coding implementations for efficient learning and inference.
BSD 3-Clause "New" or "Revised" License
17 stars 4 forks source link

add laplace prior; spike-and-slab prior can use generic slab distributions #39

Open alvinzz opened 2 years ago

alvinzz commented 2 years ago

Improve the Spike-and-Slab Prior so that it can take in arbitrary "Slab" distributions.

Also requires adding a Laplace Prior so as to not break tests.