Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
7a6052d7
Commit
7a6052d7
authored
Mar 06, 2020
by
Reimar Leike
Browse files
more documentation
parent
6dfed616
Pipeline
#70296
passed with stages
in 15 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty6/operators/energy_operators.py
View file @
7a6052d7
...
...
@@ -98,20 +98,22 @@ class QuadraticFormOperator(EnergyOperator):
class
VariableCovarianceGaussianEnergy
(
EnergyOperator
):
"""Computes
a
negative
-
log Gaussian with unknown covariance.
"""Computes
the
negative
log
pdf of a
Gaussian with unknown covariance.
Represents up to constants in :math:`s`:
The covariance is assumed to be diagonal.
.. math ::
E(
f
) = -
\\
log G(s, D) = 0.5 (s)^
\\
dagger D^{-1} (s) + 0.5 tr log(D),
E(
s,D
) = -
\\
log G(s, D) = 0.5 (s)^
\\
dagger D^{-1} (s) + 0.5 tr log(D),
an information energy for a Gaussian distribution with residual s and
diagonal covariance D.
The domain of this energy will be a MultiDomain with two keys,
the target will be the scalar domain.
Parameters
----------
domain : Domain, DomainTuple, tuple of Domain
Operator domain
.
domain of the residual and domain of the covariance diagonal
.
residual : key
Residual key of the Gaussian.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment