Skip to content

Hi Mark, how to construct the joint adj A and the truth alignment adj P? #3

@Weifanwong

Description

@Weifanwong

Hi Mark,

Sorry to bother you again. Now I try to use some datasets(arenas-meta.edges) get online as A1 for your REGAL program. As I learned from your paper, the input for this program is a jointed matrix in the form as A = [A1,0;0,A2]. 
The adjacency matrix A1 is the true adj of the network we focus on, while the other matrix A2 is just generated by A2 = P * A1 *P' (P is randomly generated).  
Now, I have constructed both the jointed adjacency matrix A and the true-alignment matrix P as input in your method. But my output result is really bad... I only got 0.02 for score top10. 
I've spent 2 days on contructing the correct-format input file for the program. The input file I constructed and the corresponding code generating it have been upload as appendix.
I'm afraid it would be a bother for you to read my code or find mistakes in it... So would you like to give some more detail about how to construct the joint adj A and the truth alignment file P which respectively respond to the file named "arenas_combined_edges.txt" and the file named "arenas_edges-mapping-permutation" in your program? It would be better if you already have some program deal with this problem and if you can share it with me...

I have been confused on this problem for a long time... I'm looking forward to your reply.

Best wishes,
Weifan

code.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions