twinlab.Prior#

class twinlab.Prior(name, distribution)[source]#

A prior probability distribution

Variables:
  • name (str) – This is the name given to the prior, usually corresponding to the parameter it represents.

  • distribution (Distribution) – The one-dimensional probability distribution for the prior.

__init__(name, distribution)[source]#

Methods

__init__(name, distribution)

to_json()