Skip to content

Dimensionality error in DREAM algorithm? #255

Description

@pseur

Thank you very much for developing this package. I would like to use the DREAM sampler to calibrate uncertain parameters (i.e., sample a posterior distribution) using new experimental data I collected. There, to update the state after the first sampling, I see that you are sampling a random number "norm_vars", which has shape "(self.n_chain, self.n_chain)".

Image

To me however, it should be of dimension "(self.n_chains,current_state.shape[1])", as current_state.shape[1] is equal to the number of uncertain parameters to calibrate (i.e., the state).

Image

Otherwise, it cannot be added to the entries of the state in the following line:

Image

I hope it makes sense,
Thank you in advance!

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions