No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
datasets TNE Oct 16, 2018
examples TNE Oct 16, 2018
ext TNE Oct 16, 2018
outputs TNE Oct 16, 2018
tne TNE Oct 16, 2018
utils TNE Oct 16, 2018
.gitignore TNE Oct 16, 2018
README.md readme file Oct 17, 2018
__init__.py TNE Oct 16, 2018
requirements.txt TNE Oct 16, 2018
run.py TNE Oct 16, 2018
settings.py TNE Oct 16, 2018

README.md

TNE

TNE: A Latent Model for Representation Learning on Networks

Installation

Anaconda installation
  1. Clone the repository by typing the following command:
git clone https://github.com/abdcelikkanat/TNE.git
  1. To initialize a new environment for Python 3.5 and to activate it, run the commands
conda create -n tne python=3.5
source activate tne
  1. Install all the required modules.
pip3 install -r requirements.txt

Note: It may be required to compile "word2vec_inner.pyx" file.

How to run

python run.py --graph_path ./datasets/karate.gml --random_walk deepwalk --n 80 --l 10 --k 2 --community_detection_method lda --negative 5 --output_folder ./outputs --concat_method max

The detailed list of commands can be seen by typing

python run.py -h