You can find the code here: rare-diseases-word2vec
In our final approach, we encoded the HPO features with a word2vec embedding.
To run the notebook you need to install the simple following library:
pip install simple-icd-10
We also worked on an approach using a knowledge graph. You can find the code here: rare-diseases-owl2vec