pints icon indicating copy to clipboard operation
pints copied to clipboard

Add notice to CMA-ES to explain it does not support 1d problems

Open MichaelClerx opened this issue 1 year ago • 0 comments

I can describe the phenomenon, as it appears in my own work: I am working with an SEIR model for which I am trying to infer one parameter beta. I use my usual approach in which I write up a pints.LogPDF, pints.LogPrior and a pints.LogPosterior objects, and then when I try to run it (with 3 chains, so is not that issue), I get this error message:

Screenshot 2024-03-25 at 14 00 23

Originally posted by @I-Bouros in https://github.com/pints-team/pints/issues/1520#issuecomment-2018073752

We should add a notice to the pints.CMAES wrapper to say 1d is not supported, and raise a more informative exception from its constructor (to clarify that PINTS supports 1d in general, but this particular method does not, and please choose another method)

MichaelClerx avatar Mar 25 '24 14:03 MichaelClerx