muhanzhang / SEAL

SEAL (learning from Subgraphs, Embeddings, and Attributes for Link prediction). "M. Zhang, Y. Chen, Link Prediction Based on Graph Neural Networks, NeurIPS 2018 spotlight".
587 stars 139 forks source link

about the row_data and .mat files #63

Open chenguanxi12138 opened 2 years ago

chenguanxi12138 commented 2 years ago

I'd like to know how your row_data file was converted into a .mat file. The sparse matrix in the .mat file represents what kind of information.

muhanzhang commented 2 years ago

The .mat file contains two variables, 'net' and 'group'. The 'net' contains the adjacency matrix, and 'group' contains the node attributes. You may use MATLAB or Python scipy.io to open Ecoli.mat to have a look.