Skip to content

Error with using using emcee through the minimizer interface in lmfit for Markov-chain Monte Carlo #2

@Ruslan1541

Description

@Ruslan1541

Hello!

I get an error when I use emcee to minimize the mismatch:
IndexError: index -1 is out of bounds for axis 0 with size 0
but I also see that in "example_Fig17_USS_dpw%2Bdpo%2BSwz_bumpfloods.ipynb" when I tried to replace:
result_pckr = Minimizer(uss_matchobj, params_pckr ).least_squares(diff_step=1e-4, verbose=2)
on this:
result_pckr = Minimizer(uss_matchobj, params_pckr, nan_policy=’omit’ ).emcee(steps=20000, burn=300, thin=20, is_weighted=True)
i also get the same error.
Could you please explain the details of your MCMC implementation in inverse modeling, or maybe you know why this problem occurs?

Best regards, Ruslan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions