Network topology from Spectral templates code always results in NaN for lambda #1352
Replies: 1 comment 4 replies
-
First, it is bit unclear what you actually look for. You've explicitly said A_est should have a non-symmetric parameterization, but then added the constraint that it is symmetric, and then A_est>=0. I hope you realize that means you are looking for a non-negative symmetric matrix (i.e. not positive semidefinite). Regardless, it is a bit strange to force a use of twice as many variables as required. If you want a symmetric non-negative matrix, you can just use A_est=sdpvar(N) and then impose the non-negativity with, e.g., triu(A_est)>=0 The only way for lambda to contain NaN is that there are zero columns/rows in V meaning some lamda aren't part of of the problem (i.e. any value is just as valid). A_est being 0 simply cannot happen if the problem has been solved, as you have the constraint that the rows sum to 1. |
Beta Was this translation helpful? Give feedback.
-
I am trying to use matlab and YALMIP to solve a graph learning problem of recovering eigenvalues from the eigenvectors of the covariance of sampled graph signal data. This is to implement the algorithm in https://graphex.mit.edu/sites/default/files/documents/2017_Poster_Segarra.pdf. My objective is to estimate the Adjacency matrix.
I have tried different versions of the constraints and other troubleshooting, but lambda is always NaN or very small, and estimated_A is also very small, so interpreted as 0.
This is my first time working through this kind of optimization problem and I appreciate any assistance. Thank you.
My code is
Beta Was this translation helpful? Give feedback.
All reactions