chemicalchecker.tool.node2vec.node2vec
Wrapper for SNAP C++ implementation of node2vec.
An algorithmic framework for representational learning on graphs. [Aug 27 2018] usage: node2vec
-i:Input graph path (default:’graph/karate.edgelist’) -o:Output graph path (default:’emb/karate.emb’) -d:Number of dimensions. Default is 128 (default:128) -l:Length of walk per source. Default is 80 (default:80) -r:Number of walks per source. Default is 10 (default:10) -k:Context size for optimization. Default is 10 (default:10) -e:Number of epochs in SGD. Default is 1 (default:1) -p:Return hyperparameter. Default is 1 (default:1) -q:Inout hyperparameter. Default is 1 (default:1) -v Verbose output. -dr Graph is directed. -w Graph is weighted. -ow Output random walks instead of embeddings.
Classes
Wrapper to run SNAP's node2vec. |