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
3fbe334c
Commit
3fbe334c
authored
Aug 21, 2018
by
Martin Reinecke
Browse files
fixes
parent
6bbeea6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
demos/getting_started_3.py
View file @
3fbe334c
...
...
@@ -91,7 +91,7 @@ if __name__ == '__main__':
# number of samples used to estimate the KL
N_samples
=
20
for
i
in
range
(
2
):
KL
=
ift
.
KL_Energy
(
position
,
H
,
N_samples
)
KL
=
ift
.
KL_Energy
(
position
,
H
,
N_samples
,
want_metric
=
True
)
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