Hi,
Under the current API, one implements two specializations of step: one for initializing the chain, and one for actually "stepping". But why didn't we make a separate interface for the first use like initialize_state or something? It seems that, partly due to the naming, what the first call to step actually does seem to differ across implementations. For example, AdvancedHMC does an actual transition in the first call, while others like EllipticalSliceSampling doesn't. For some downstream use-cases of AbstractMCMC where step is called just once at a time, I think this underspecification is not ideal.
Also, is there a reason why init_params became optional?
Hi,
Under the current API, one implements two specializations of
step: one for initializing the chain, and one for actually "stepping". But why didn't we make a separate interface for the first use likeinitialize_stateor something? It seems that, partly due to the naming, what the first call tostepactually does seem to differ across implementations. For example,AdvancedHMCdoes an actual transition in the first call, while others likeEllipticalSliceSamplingdoesn't. For some downstream use-cases ofAbstractMCMCwherestepis called just once at a time, I think this underspecification is not ideal.Also, is there a reason why
init_paramsbecame optional?