From e21c36580a9cff7b0777ef31fa07d78d7719d988 Mon Sep 17 00:00:00 2001 From: Alina Lacheim <a.lacheim@outlook.de> Date: Tue, 3 Dec 2024 00:00:10 +0100 Subject: [PATCH] fixed ishigami example --- examples/ishigami/example_ishigami.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/ishigami/example_ishigami.py b/examples/ishigami/example_ishigami.py index c74a6bcdb..20a08cca6 100644 --- a/examples/ishigami/example_ishigami.py +++ b/examples/ishigami/example_ishigami.py @@ -106,6 +106,7 @@ if __name__ == "__main__": ExpDesign = ExpDesigns(Inputs) # One-shot (normal) or Sequential Adaptive (sequential) Design + ExpDesign.method = 'normal' ExpDesign.n_init_samples = 50 # Sampling methods @@ -184,7 +185,7 @@ if __name__ == "__main__": PostPCE.check_accuracy(n_samples=3000) # 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() # Plot the sobol indices -- GitLab