abuzarmahmood / pytau

Library to streamline batch-fitting of Bayesian changepoint models to neural population spiking data
https://abuzarmahmood.github.io/pytau/
MIT License
1 stars 0 forks source link

Mean offset model can't do vi or HMC because of min max operations #15

Open abuzarmahmood opened 1 year ago

abuzarmahmood commented 1 year ago

Use linearized sigmoid to perform these operations instead

https://math.stackexchange.com/questions/1386510/try-to-create-a-more-linear-part-in-a-sigmoid-curve

https://www.wolframalpha.com/input?i=plot+1+%2F+%281+%2B+exp+%28-x+-+x%5E3%2F12+-x%5E5%2F80+-x%5E7%2F448%29%29+for+x%3D-4..4