PietroMSB / DrugSideEffects

Project for the prediction of drug side-effect occurrences in the general population with Graph Neural Networks.
7 stars 1 forks source link

Help #3

Open Ehab09 opened 4 hours ago

Ehab09 commented 4 hours ago

Dear Pietro,

How can I install the library "tensorflow.keras.models" knowing that the library "tensorflow" is already installed? https://github.com/PietroMSB/DrugSideEffects/blame/56a7dafad4a757cab6f35c1c1eb5660092e10cc9/graphsage_node_classifier.py#L20

In file -> graphsage_node_classifier.py

There is also a similar one in the file -> spektral_node_classifier.py.

Best, Ehab09

PietroMSB commented 3 hours ago

Dear Ehab09,

You don't need to install subpackages: when any package is installed, you can import any of its subpackages and their children at any level of the hierarchy. For instance, if you installed tensorflow you should be able to either import tensorflow as tf, import tensorflow, import tensorflow.keras, import tensorflow.keras.models and so on. If you have issues importing subpackages you might need a different version of tensorflow, or maybe just try using tensorflow.compat.v1 instead of tensorflow Let me know if everything works fine,

Best, Pietro

Ehab09 commented 3 hours ago

Dear Pietro,

Thank you very much my dear friend for helping me.

I am working on the project... Is there a research paper or something similar to show the steps of the project? I will be grateful to you.

Best, Ehab09

PietroMSB commented 2 hours ago

Dear Ehab09,

Sure, you can find our paper here: https://ieeexplore.ieee.org/abstract/document/9775571

Thank you very much for asking: only now I noticed that I didn't add the paper to the project's description (I am adding it now)

Best, Pietro