Fixed bug. Concerns a hidden feature (initialization of the posterior kernel from the prior mode instead of the prior mean).
(cherry picked from commit 90dc33764de443ee7c1063f8d165510756d70f89)time-shift
parent
fd4c71a2a4
commit
7b83a39342
|
@ -259,8 +259,8 @@ if options_.initialize_estimated_parameters_with_the_prior_mode
|
||||||
if ~isempty(k)
|
if ~isempty(k)
|
||||||
xparam1(k) = bayestopt_.p1(k);
|
xparam1(k) = bayestopt_.p1(k);
|
||||||
end
|
end
|
||||||
xparam1 = transpose(xparam1);
|
xparam1 = xparam1;
|
||||||
end
|
end
|
||||||
|
|
||||||
% I create subfolder M_.dname/prior if needed.
|
% I create subfolder M_.dname/prior if needed.
|
||||||
CheckPath('prior',M_.dname);
|
CheckPath('prior',M_.dname);
|
||||||
|
|
Loading…
Reference in New Issue