This PR introduces a Model object, with creation methods that parallel the old Events.observe. To support those methods, we also reintroduce the logic that used to be in ToLikelihood typeclasses, but simplified to be directly on Distribution; this makes it more straightforward to add more Distribution subtypes.
This PR introduces a
Model
object, with creation methods that parallel the oldEvents.observe
. To support those methods, we also reintroduce the logic that used to be inToLikelihood
typeclasses, but simplified to be directly onDistribution
; this makes it more straightforward to add more Distribution subtypes.