Closed JMSAnita closed 2 years ago
Hi, thanks for your interest in our work.
For specific, you should first define your new graph structure with a similar format as the "fc_struc". Then you could modify the code around here https://github.com/d-ailin/GDN/blob/9853899da860682669a134e4af315d036aab4eca/models/GDN.py#L157
For example, you could filter the edges which do not exist in your prior structure by setting these items in cos_ji_mat as 0. In this way, the final adjacency matrix(topk_indices_ji) is only taking the top-K relationship under your predefined prior graph.
ok, i understand what you mean, thank you for your patience
Hi, thanks for your interest in our work.
- Yes, we assume the initial graph structure is fully connected and later could be learned in the training phase.
- If you want to fusion your prior information, one way is to replace the "fc_struc" with your predefined relationship. Then you could select the top-K most relative relationship(edges) which is in your predefined edges.
For specific, you should first define your new graph structure with a similar format as the "fc_struc". Then you could modify the code around here
https://github.com/d-ailin/GDN/blob/9853899da860682669a134e4af315d036aab4eca/models/GDN.py#L157
For example, you could filter the edges which do not exist in your prior structure by setting these items in cos_ji_mat as 0. In this way, the final adjacency matrix(topk_indices_ji) is only taking the top-K relationship under your predefined prior graph.
- For we have used the early stop and the whole model architecture is relatively simple, the training might stop to avoid overfitting. So if the trained model has already got a good accuracy or performance, I think that should be fine.
ok, i understand what you mean, thank you for your patience
Hello, I am very interested in your research. When I was trying to understand the code, I had some questions, which are summarized as follows: