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
d1b554b8
Commit
d1b554b8
authored
May 13, 2020
by
Philipp Arras
Browse files
Fixup
parent
4eda4d7a
Pipeline
#74835
passed with stages
in 30 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
demos/polynomial_fit.py
View file @
d1b554b8
...
...
@@ -113,7 +113,7 @@ if __name__ == '__main__':
# Draw posterior samples
metric
=
Ham
(
ift
.
Linearization
.
make_var
(
H
.
position
,
want_metric
=
True
)).
metric
samples
=
[
metric
.
draw_sample
(
dtype
=
np
.
float64
,
from_inverse
=
True
)
+
H
.
position
samples
=
[
metric
.
draw_sample
(
from_inverse
=
True
)
+
H
.
position
for
_
in
range
(
N_samples
)]
# Plotting
...
...
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