Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
19c89972
Commit
19c89972
authored
Oct 20, 2020
by
Philipp Arras
Browse files
Fix Sphinx warnings
parent
afc3e2df
Pipeline
#84673
passed with stages
in 12 minutes and 16 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Sidebyside
docs/source/ift.rst
View file @
19c89972
...
@@ 224,7 +224,7 @@ Thus, only the gradient of the KL is needed with respect to this, which can be e
...
@@ 224,7 +224,7 @@ Thus, only the gradient of the KL is needed with respect to this, which can be e
We stochastically estimate the KLdivergence and gradients with a set of samples drawn from the approximate posterior distribution.
We stochastically estimate the KLdivergence and gradients with a set of samples drawn from the approximate posterior distribution.
The particular structure of the covariance allows us to draw independent samples solving a certain system of equations.
The particular structure of the covariance allows us to draw independent samples solving a certain system of equations.
This KLdivergence for MGVI is implemented in the class :class:`~minimization.metric_gaussian_kl.MetricGaussianKL` within NIFTy6.
This KLdivergence for MGVI is implemented in the class :class:`~
nifty6.
minimization.metric_gaussian_kl.MetricGaussianKL` within NIFTy6.
The demo `getting_started_3.py` for example not only infers a field this way, but also the power spectrum of the process that has generated the field.
The demo `getting_started_3.py` for example not only infers a field this way, but also the power spectrum of the process that has generated the field.
...
...
nifty6/operators/normal_operators.py
View file @
19c89972
...
@@ 30,8 +30,8 @@ def NormalTransform(mean, sigma, key, N_copies=0):
...
@@ 30,8 +30,8 @@ def NormalTransform(mean, sigma, key, N_copies=0):
"""Opchain that transforms standard normally distributed values to
"""Opchain that transforms standard normally distributed values to
normally distributed values with given mean an standard deviation.
normally distributed values with given mean an standard deviation.
Parameters
:
Parameters



mean : float
mean : float
Mean of the field
Mean of the field
sigma : float
sigma : float
...
@@ 60,8 +60,8 @@ def LognormalTransform(mean, sigma, key, N_copies):
...
@@ 60,8 +60,8 @@ def LognormalTransform(mean, sigma, key, N_copies):
"""Opchain that transforms standard normally distributed values to
"""Opchain that transforms standard normally distributed values to
lognormally distributed values with given mean an standard deviation.
lognormally distributed values with given mean an standard deviation.
Parameters
:
Parameters



mean : float
mean : float
Mean of the field
Mean of the field
sigma : float
sigma : float
...
...
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