Logo Lanfrica

Morgan11-tech/Machine-Learning-for-Precision-Medicine-in-Ghana

Domaine:

healthcare
Créateur:
Mor
Hôte:
Machine Learning with Graphs using RGCN for link prediction, cosine similarity and node2vec for predicting novel associations and streamlit for web interface. # Leveraging Machine Learning for Precision Medicine in Ghana Machine Learning with Graphs using RGCN for link prediction, cosine similarity and node2vec for predicting novel associations and streamlit for web interface. ## 🙌🏽 Research Question and Objective Research indicates that machine learning for precision medicine significantly improves patient survival outcomes in developed countries. However, a noticeable gap exists in its application in developing countries, such as Ghana. Hence, there is a critical need to establish systems dedicated to delivering personalized treatments using machine learning. This research investigates the question, “can machine learning be leveraged to develop personalized plans in the context of Ghana’s personalized healthcare system?” ### 🚀 This repo contains - Source code for drug disease association prediction - Source code for drug disease gene/protein association prediction (with genes (**UGT1A1, PIK3CA, BRAF, NRAS, KRAS and DYPD**) from Ghanaian dataset) - Streamlit web interface for both predictions ### 🫶🏽 Data Source All data used in this project is from Harvard's Zitnik Lab's Precision Medicine Knowledge Graph (PrimeKG) LINK TO THEIR REPO ### How to run: the notebooks - Open the notebook in google colab (preferrably) or any IDE of choice and run the cells. #### ❗Disclaimer - The packages (those from pytorch geometric) were imported based on the requirements of the system I used to run the code. You wouldn't have issues in google colab, just add **kg.csv** to your drive change the path to it in the second cell. If you decided to use your gpu, then you'd have to change the imports to obtain the gpu versions of the packages. ### How to run: the interface - Open the **web-app.py** - In the **load_data** function, change the links to the location of the various pickle files. Example: change this **/Users/sarpongmorgan/Downloads/Capstone stuff/CapstoneProject/tests/drug-disease-association-application/drug_nodes.pkl** to ** …