Hyperbolic Graph Embedding with Enhanced Semi-Implicit Variational Inference in Pytorch
Hierarchical Input | Latent Output |
---|---|
- NumPy
- PyTorch 1.6
- Scipy
- networkx
- json
pip install -r requirements.txt
- Clone the repository:
$ git clone https://github.com/AliLotfi92/ESI_HGE $ cd esihge
- Install requirements:
$ pip install -r requirements.txt
lr
: learning rate for the inference networkdropout
: Dropout rate (1 - keep probability).epochs
: number of epochs to train the model.c
: constant negative curvatureK
: semi-implicit vi hyperparametersJ
: semi-implicit vi hyperparametersdataset-str
: synthetic, cora, citeseer, or pubmed