storyandwine / LAGCN

Code and Datasets for "Predicting Drug-Disease Associations through Layer Attention Graph Convolutional Networks"
51 stars 15 forks source link

程序运行问题 #17

Closed night-changes closed 1 year ago

night-changes commented 1 year ago

您好! 我按照说明运行了main.py 文件 ,但运行结束没有得到任何结果性的文件如 一个新的drug-dis矩阵,无法判断预测的具体情况!

storyandwine commented 1 year ago

Well, the new predicted drug-dis matrix can be found in https://github.com/storyandwine/LAGCN/blob/a490d4917090339f47af4f460ed0c2138b837a6a/code/main.py#L92 named predict_y_proba. This is an array in numpy format, you can use np.savetxt() or other functions to save as a file.

night-changes commented 1 year ago

Well, the new predicted drug-dis matrix can be found in

https://github.com/storyandwine/LAGCN/blob/a490d4917090339f47af4f460ed0c2138b837a6a/code/main.py#L92

named predict_y_proba. This is an array in numpy format, you can use np.savetxt() or other functions to save as a file.

谢谢 我已解决!