From b2e9a7497f0599bbe35b12aa702dfe9700508e4f Mon Sep 17 00:00:00 2001 From: Emmanuel Lujan Date: Tue, 9 Jul 2024 13:18:40 -0400 Subject: [PATCH] Small change in optimization example. --- examples/Opt-ACE-aHfO2/fit-opt-ace-ahfo2.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/Opt-ACE-aHfO2/fit-opt-ace-ahfo2.jl b/examples/Opt-ACE-aHfO2/fit-opt-ace-ahfo2.jl index 7a4f2cb..ee2cad4 100644 --- a/examples/Opt-ACE-aHfO2/fit-opt-ace-ahfo2.jl +++ b/examples/Opt-ACE-aHfO2/fit-opt-ace-ahfo2.jl @@ -57,7 +57,7 @@ pars = OrderedDict( :body_order => [2, 3, 4], :csp => LinRange(0.5, 1.5, 10), :r0 => LinRange(0.5, 1.5, 10)); -# Use **latin hypercube sampling** to find the optimal hyper-parameters. +# Use **latin hypercube sampling** to find the optimal hyper-parameters. Alternatively, use **random sampling** (sampler = RandomSampler()). sampler = CLHSampler(dims=[Categorical(3), Categorical(3), Continuous(), Continuous(), Continuous(), Continuous()]) iap, res = hyperlearn!(model, pars, conf_train; @@ -76,5 +76,3 @@ err_time = plot_err_time(res) @save_fig res_path err_time DisplayAs.PNG(err_time) -# Alternatively, use **random sampling** using "sampler = RandomSampler()". -