Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
BayesValidRox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
inversemodeling
BayesValidRox
Commits
5dae6fb9
Commit
5dae6fb9
authored
3 months ago
by
Alina Lacheim
Browse files
Options
Downloads
Patches
Plain Diff
fixed ishigami example
parent
2178dd07
No related branches found
No related tags found
1 merge request
!37
Fix/post processing
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/ishigami/example_ishigami.py
+2
-1
2 additions, 1 deletion
examples/ishigami/example_ishigami.py
with
2 additions
and
1 deletion
examples/ishigami/example_ishigami.py
+
2
−
1
View file @
5dae6fb9
...
@@ -106,6 +106,7 @@ if __name__ == "__main__":
...
@@ -106,6 +106,7 @@ if __name__ == "__main__":
ExpDesign
=
ExpDesigns
(
Inputs
)
ExpDesign
=
ExpDesigns
(
Inputs
)
# One-shot (normal) or Sequential Adaptive (sequential) Design
# One-shot (normal) or Sequential Adaptive (sequential) Design
ExpDesign
.
method
=
'
normal
'
ExpDesign
.
n_init_samples
=
50
ExpDesign
.
n_init_samples
=
50
# Sampling methods
# Sampling methods
...
@@ -185,7 +186,7 @@ if __name__ == "__main__":
...
@@ -185,7 +186,7 @@ if __name__ == "__main__":
PostPCE
.
check_accuracy
(
n_samples
=
3000
)
PostPCE
.
check_accuracy
(
n_samples
=
3000
)
# Plot the evolution of the KLD,BME, and Modified LOOCV error
# Plot the evolution of the KLD,BME, and Modified LOOCV error
if
MetaModelOpts
.
ExpDesign
.
method
==
'
sequential
'
:
if
ExpDesign
.
method
==
'
sequential
'
:
PostPCE
.
plot_seq_design_diagnostics
()
PostPCE
.
plot_seq_design_diagnostics
()
# Plot the sobol indices
# Plot the sobol indices
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment