Skip to main content
. 2024 Feb 22;10:e1875. doi: 10.7717/peerj-cs.1875

Algorithm 1. Model parameter estimation using integrated MLE and Jeffreys prior.

1 1em
 Data: Observed dataset D={(y1,x1),,(yN,xN)}
 Result: Posterior model parameters Θ^post
2 Initialize starting values for parameters Θ;
3 Initialize regularization parameters λ1,λ2;
4 Phase One: MLE Parameter Estimation;
5 while MLE stopping criteria not met do
6   Compute the gradient of the objective function (Eq.(15));
7   Update Θ using advanced optimization method LBFGS;
8   Update model complexity and adaptability metrics;
9 Use MLE results as initial values for Jeffreys Prior calculation: Θinit=Θ^;
10 Phase Two: Bayesian Parameter Estimation Using Jeffreys Prior;
11 Calculate Fisher Information Matrix I(Θinit), see Eq.(16);
12 Calculate Jeffreys Prior π(Θ), see Eq. (17);
13 while Bayesian stopping criteria not met do
14   Compute the gradient of the posterior distribution using Eqs. (18) and (21);
15   Update using Metropolis-Hastings algorithm for MCMC;
16   Update λ1,λ2 to control model complexity;
17 Calculate optimal posterior parameters Θ^post, see Eq. (22);
18 return Θ^post