package prbnmcn-dagger

  1. Overview
  2. Docs

Statistics on the LMH sampler

val reset : unit -> unit

reset () resets the number of accepted samples to 0.

val set_window_size : int -> unit

set_window_size wsize sets the size of the sliding window over which statistics are accumulated.

val acceptance_rate : unit -> float

acceptance_rate () returns the proportion of samples that were accepted over the sliding window.

OCaml

Innovation. Community. Security.