diff --git a/examples/ishigami/example_ishigami.py b/examples/ishigami/example_ishigami.py index 16ec143196631d978878a1086ee26572dd194e5f..19aac946ab8ec3c7131f4a39849905e23531ae53 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 @@ -185,7 +186,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