Skip to content

Make the acceptance rate a property of the sampler state

Vicentini Filippo requested to merge acceptance into master

Created by: PhilipVinc

This makes it easy to log it during optimisation.

Currently this will raise a divideby0warning if you call it before having sampled. We should maybe chose if it should return None or 0 in those cases?

Merge request reports