ICB-DCM / pyPESTO

python Parameter EStimation TOolbox
https://pypesto.readthedocs.io
BSD 3-Clause "New" or "Revised" License
216 stars 47 forks source link

Parallel tempering with PymcSampler #1066

Open Theorell opened 1 year ago

Theorell commented 1 year ago

Feature description Running PymcSampler as an internal sampler under the AdaptiveParallelTemperingSampler.

Motivation/Application It seems like infrastructure is already in place for running the PymcSampler with parallel tempering, since it takes a beta argument. However, the feature seem not yet to be "unlocked", since:

sample.AdaptiveParallelTemperingSampler( internal_sampler=PymcSampler(), n_chains=3 )

gives the error

AttributeError: 'PymcSampler' object has no attribute 'make_internal'

under pypesto 0.3.0.

PaulJonasJost commented 1 year ago

Hey @Theorell,

sorry for the delay. Thanks for the suggestion, i will look into it. 👍🏼