Skip to content
GitLab
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
f5efc36b
Commit
f5efc36b
authored
Jul 02, 2018
by
Martin Reinecke
Browse files
adjust demo
parent
2f338d20
Changes
1
Hide whitespace changes
Inline
Side-by-side
demos/getting_started_3.py
View file @
f5efc36b
...
...
@@ -81,7 +81,8 @@ if __name__ == '__main__':
samples
=
[
H
.
curvature
.
draw_sample
(
from_inverse
=
True
)
for
_
in
range
(
N_samples
)]
KL
=
ift
.
SampledKullbachLeiblerDivergence
(
H
,
samples
,
ic_cg
)
KL
=
ift
.
SampledKullbachLeiblerDivergence
(
H
,
samples
)
KL
=
KL
.
makeInvertible
(
ic_cg
)
KL
,
convergence
=
minimizer
(
KL
)
position
=
KL
.
position
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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