Research Article
College Students’ Psychological Health Analysis Based on Multitask Gaussian Graphical Models
Algorithm 1
Method for multitask Gaussian psychological model.
| | Input: multivariate samples from conditions | | | Output: networks, one for each condition | | (1) | for each do | | (2) | Calculate generalized correlation matrix using correlation measures | | (3) | end for | | (4) | Use cvxpy module to optimize (9) above | | (5) | Solution of the optimization problem in (9) | | (6) | Using | | (7) | Using updates column by column until convergence for i in [1,K] | | (8) | Solution of the optimization problem in (8), | | (9) | for each do | | (10) | Generate networks k from | | (11) | end for |
|