Commit 8ef6c7b4 authored by Lukas Platz's avatar Lukas Platz
Browse files

fix StudentTEnergy docstring

parent ec4c6f1a
Pipeline #63422 passed with stages
in 9 minutes and 37 seconds
...@@ -250,20 +250,18 @@ class InverseGammaLikelihood(EnergyOperator): ...@@ -250,20 +250,18 @@ class InverseGammaLikelihood(EnergyOperator):
class StudentTEnergy(EnergyOperator): class StudentTEnergy(EnergyOperator):
"""Computes likelihood energy of expected event frequency constrained by """Computes likelihood energy corresponding to Student's t-distribution.
event data.
.. math :: .. math ::
E(f) = -\\log \\text{Bernoulli}(d|f) E_\\theta(f) = -\\log \\text{StudentT}_\\theta(f)
= -d^\\dagger \\log f - (1-d)^\\dagger \\log(1-f), = \\frac{\\theta + 1}{2} \\log(1 + \\frac{f^2}{\\theta}),
where f is a field defined on `d.domain` with the expected where f is a field defined on `domain`.
frequencies of events.
Parameters Parameters
---------- ----------
d : Field domain : `Domain` or `DomainTuple`
Data field with events (1) or non-events (0). Domain of the operator
theta : Scalar theta : Scalar
Degree of freedom parameter for the student t distribution Degree of freedom parameter for the student t distribution
""" """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment