Commit d47e70e2 authored by Megha Khosla's avatar Megha Khosla

Update readme.md

parent 04bd50a6
Required: gsl library for random number generation
To Compile and Link : g++ -lgsl -lgslcblas -lm -pthread *.cpp -o HINE
To Compile and Link : g++ -lgsl -lgslcblas -lm -pthread *.cpp -o NERD
The algorithm expects a directed weighted edgelist. If your graph is unweighted, please add 1 as weight for all edges. For undirected graphs, please add 2 edges ( in both directions) corresponding to each edge.
Example command for training : ./HINE -train edgelist.txt -output1 hub.txt -output2 auth.txt -binary 0 -size 50 -walkSize 2 -negative 5 -samples 10 -rho 0.025 -threads 20 -joint 1 -inputvertex 0 -errorLog log_file_name
Example command for training : ./NERD -train edgelist.txt -output1 hub.txt -output2 auth.txt -binary 0 -size 128-walkSize 5 -negative 5 -samples 10 -rho 0.025 -threads 20 -joint 1 -inputvertex 0 -errorLog log_file_name
-initSrc "sourceEmbeddingFile" -initDst "destEmbeddingFile"
Parameters for training:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment