Bipartite network embedding method used in (PTE: Predictive Text Embedding through Large-scale Heterogeneous Text Networks).
Our codes rely on two external packages, which are the Eigen package and the GSL package.
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.
The GSL package is used to generate random numbers. After installing the package, users also need to modify the package path in the makefile.
After installing the two packages and modifying the package paths, users may use the makefile to compile the codes.
- cu.node :2部グラフのノードを順番に並べる(sample)
- user.node :userノードのみを順番に並べる(sample)
- cu.hin :content user 1 d と並べる(sample)
To run the model, users may directly use the example script (run.sh) we provide.