Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
e-yi authored Nov 10, 2020
1 parent 992836c commit 9f12b34
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
A pytorch implementation of [HIN2vec](https://github.com/csiesheep/hin2vec)




>*HIN2Vec* learns distributed representations of nodes in heterogeneous information networks (HINs) by capturing the distiguishing metapath relationships between nodes.
Please refer the paper [here](https://dl.acm.org/citation.cfm?doid=3132847.3132953).

Please find more details in [the original repo](https://github.com/csiesheep/hin2vec)

### Requirements
- python3.6+
- pytorch
Expand Down Expand Up @@ -112,4 +116,6 @@ create a main.py in the project folder, copy the following code and modify it.
# torch.save(hin2vec.state_dict(), 'hin2vec.pt')
```

Some more details could be found in [the original repo](https://github.com/csiesheep/hin2vec)
### About `data_demo.csv`
In this repository, the Heterogeneous Information Network is considered as an undirected weighted simple graph with multiple node types and multiple edge types. And each edge type is presented as "<node_type_A>-<node_type_B>" (e.g. "User-Item"), so there is at most one type of edges for each pair of node types. Besides, isolated nodes are not preferable and the only way to add a node into the graph is to add an edge with this node on one side.

0 comments on commit 9f12b34

Please sign in to comment.