pints-team / pints

Probabilistic Inference on Noisy Time Series
http://pints.readthedocs.io
Other
229 stars 33 forks source link

Compare PINTS samplers with Stan for a range of models #82

Closed ben18785 closed 5 months ago

ben18785 commented 7 years ago

We should compare PINTS' outputs for its implemented samplers with those of Stan (or Pymc3) -- the current industry standard.

In the future of PINTS development, I think it's important that whatever samplers we implement in PINTS we do extensive testing of them. I think as a base this should include the following models,

Any other models that people can think of to test?

mirams commented 7 years ago

Just some y=mx + c + sigma ?

ben18785 commented 7 years ago

@mirams Yes, some regression equation of the form,

y ~ N(alpha + beta x, sigma),

would definitely be worth including.

Do all models that we'll be considering have continuous parameters? I'm guessing so, but thought I'd check...

ben18785 commented 7 years ago

What's the simplest electrochemistry/electrophysiology models that exist? Can we test those?

chonlei commented 7 years ago

Maybe the basic HH model? ("simplest electrophysiology model")

MichaelClerx commented 7 years ago

~There's simplified versions of that! I'll post one here tomorrow~

mirams commented 7 years ago

Just an open-closed one gate ion channel model would be a nice simple example.

MichaelClerx commented 6 years ago

@ben18785 This is based on the HH model:

I = g * n^4 * (V - E)
E = -80 [mV]
g = 50 [A/F]
dot(n) = a * (1 - n) - b * n
    a = 0.01 * (-V - 65) / (exp((-V - 65) / 10) - 1)
    b = 0.1 * exp((-V - 75) / 80)

You should see a current if you keep it at V=-80 for 1000ms and then jump to V=-40 for 1000ms (then back to -80, then -30, then -80, then -20, etc.)

hh-ik

ben18785 commented 6 years ago

@MichaelClerx That's great, thank you. Which of the parameters should I be trying to infer? Am guessing the 0.01 and 0.1 might be a good place to start?

MichaelClerx commented 6 years ago

Yeah those would be good! Initially you can vary anything except g and E. Not sure if adding g makes it overdetermined, but think adding both g and E definitely should.

MichaelClerx commented 5 years ago

Is this still something we want to do?

MichaelClerx commented 4 years ago

@ben18785 @martinjrobins here's an old stan ticket

MichaelClerx commented 1 year ago

@ben18785 can we close this? It's still interesting, but it would just be a project that uses PINTS, not really an "issue" with PINTS or something that would require changes to its code or documentation