|
Algorithm 1: HPO EM algorithm for synthetic data
|
| 1. Generate randomly hyperparameters value , , and the dataset
|
| 2. Choose a suitable linear basis function to get an matrix by using (12). |
| 3. Generate parameters value randomly sampled by (2). |
| 4. Generate N-dimensional vector sampled randomly by the Gaussian distribution and then generate by (4) and (5), respectively. |
| 5. E step. Compute the mean and covariance using the current hyperparameter values. |
|
, |
(49) |
|
. |
(50) |
|
|
| 6. M step. Estimate again the hyperparameters by employing the mean and covariance obtained by step 5 and the following update equations |
|
, |
(51) |
|
, |
(52) |
|
. |
(53) |
|
|
| 7. Compute the likelihood function or the log likelihood function given by the following result: |
|
| or |
|
| and then determine the convergence of the hyperparameters or the likelihood. If convergence is not satisfied, back to step 5. If the likelihood or the log likelihood converges, then the algorithm’s computational complexity is . |