Skip to content

Latest commit

 

History

History
executable file
·
26 lines (20 loc) · 1.41 KB

README.md

File metadata and controls

executable file
·
26 lines (20 loc) · 1.41 KB

bipartite network embedding

Bipartite network embedding method used in (PTE: Predictive Text Embedding through Large-scale Heterogeneous Text Networks).

Install

Our codes rely on two external packages, which are the Eigen package and the GSL package.

Eigen

The Eigen package is used for matrix operations. To run our codes, users need to download the Eigen package and modify the package path in the makefile.

GSL

The GSL package is used to generate random numbers. After installing the package, users also need to modify the package path in the makefile.

Compile

After installing the two packages and modifying the package paths, users may use the makefile to compile the codes.

Data

userとcontentの2部グラフの場合

  • cu.node :2部グラフのノードを順番に並べる(sample)
  • user.node :userノードのみを順番に並べる(sample)
  • cu.hin :content user 1 d と並べる(sample)

Running

To run the model, users may directly use the example script (run.sh) we provide.