├── .gitignore ├── MANIFEST.in ├── README.md ├── VERSION ├── env ├── install.sh ├── update.sh └── version_update.sh ├── idne ├── __init__.py ├── datasets │ └── io.py ├── eval │ ├── link_prediction.py │ ├── link_prediction_new.py │ ├── multi_class_classification.py │ ├── multi_class_classification_new.py │ ├── multi_label_classification.py │ ├── multi_label_classification_new.py │ └── visualization.py ├── models │ ├── cane.py │ ├── data_generator.py │ ├── graph2gauss.py │ ├── graph2gauss_utils.py │ ├── gvnrt.py │ ├── idne.py │ ├── lsa.py │ ├── tadw.py │ ├── tools.py │ └── transformer.py ├── preprocessing │ ├── __init__.py │ ├── graph │ │ ├── random_walker.py │ │ └── window_slider.py │ └── text │ │ ├── __init__.py │ │ ├── dictionary.py │ │ ├── light_vocabulary.py │ │ ├── regex.py │ │ ├── stop_words.py │ │ ├── tokenizer.py │ │ ├── vectorizers.py │ │ └── window_slider.py └── resources │ ├── cora.npz │ ├── gaming.stackexchange.com.npz │ ├── nyt.npz │ └── travel.stackexchange.com.npz ├── logs └── .gitkeep ├── notebook └── example.ipynb ├── output └── .gitkeep ├── requirements.txt ├── scripts ├── context.py ├── evaluations.py ├── topic_attention_weights.py └── topic_distrib_eval.py ├── setup.py └── tests ├── context.py ├── test_link_prediction.py ├── test_link_prediction_new.py ├── test_multi_class_classification.py ├── test_multi_class_classification_new.py ├── test_multi_label_classification.py └── test_multi_label_classification_new.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/.gitignore -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/README.md -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 2019.05.06.10.46.46 2 | -------------------------------------------------------------------------------- /env/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/env/install.sh -------------------------------------------------------------------------------- /env/update.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/env/update.sh -------------------------------------------------------------------------------- /env/version_update.sh: -------------------------------------------------------------------------------- 1 | echo "$(date '+%Y.%m.%d.%H.%M.%S')" > VERSION 2 | -------------------------------------------------------------------------------- /idne/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /idne/datasets/io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/datasets/io.py -------------------------------------------------------------------------------- /idne/eval/link_prediction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/eval/link_prediction.py -------------------------------------------------------------------------------- /idne/eval/link_prediction_new.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/eval/link_prediction_new.py -------------------------------------------------------------------------------- /idne/eval/multi_class_classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/eval/multi_class_classification.py -------------------------------------------------------------------------------- /idne/eval/multi_class_classification_new.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/eval/multi_class_classification_new.py -------------------------------------------------------------------------------- /idne/eval/multi_label_classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/eval/multi_label_classification.py -------------------------------------------------------------------------------- /idne/eval/multi_label_classification_new.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/eval/multi_label_classification_new.py -------------------------------------------------------------------------------- /idne/eval/visualization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/eval/visualization.py -------------------------------------------------------------------------------- /idne/models/cane.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/models/cane.py -------------------------------------------------------------------------------- /idne/models/data_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/models/data_generator.py -------------------------------------------------------------------------------- /idne/models/graph2gauss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/models/graph2gauss.py -------------------------------------------------------------------------------- /idne/models/graph2gauss_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/models/graph2gauss_utils.py -------------------------------------------------------------------------------- /idne/models/gvnrt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/models/gvnrt.py -------------------------------------------------------------------------------- /idne/models/idne.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/models/idne.py -------------------------------------------------------------------------------- /idne/models/lsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/models/lsa.py -------------------------------------------------------------------------------- /idne/models/tadw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/models/tadw.py -------------------------------------------------------------------------------- /idne/models/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/models/tools.py -------------------------------------------------------------------------------- /idne/models/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/models/transformer.py -------------------------------------------------------------------------------- /idne/preprocessing/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /idne/preprocessing/graph/random_walker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/preprocessing/graph/random_walker.py -------------------------------------------------------------------------------- /idne/preprocessing/graph/window_slider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/preprocessing/graph/window_slider.py -------------------------------------------------------------------------------- /idne/preprocessing/text/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /idne/preprocessing/text/dictionary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/preprocessing/text/dictionary.py -------------------------------------------------------------------------------- /idne/preprocessing/text/light_vocabulary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/preprocessing/text/light_vocabulary.py -------------------------------------------------------------------------------- /idne/preprocessing/text/regex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/preprocessing/text/regex.py -------------------------------------------------------------------------------- /idne/preprocessing/text/stop_words.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/preprocessing/text/stop_words.py -------------------------------------------------------------------------------- /idne/preprocessing/text/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/preprocessing/text/tokenizer.py -------------------------------------------------------------------------------- /idne/preprocessing/text/vectorizers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/preprocessing/text/vectorizers.py -------------------------------------------------------------------------------- /idne/preprocessing/text/window_slider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/preprocessing/text/window_slider.py -------------------------------------------------------------------------------- /idne/resources/cora.npz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/resources/cora.npz -------------------------------------------------------------------------------- /idne/resources/gaming.stackexchange.com.npz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/resources/gaming.stackexchange.com.npz -------------------------------------------------------------------------------- /idne/resources/nyt.npz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/resources/nyt.npz -------------------------------------------------------------------------------- /idne/resources/travel.stackexchange.com.npz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/idne/resources/travel.stackexchange.com.npz -------------------------------------------------------------------------------- /logs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /notebook/example.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/notebook/example.ipynb -------------------------------------------------------------------------------- /output/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/scripts/context.py -------------------------------------------------------------------------------- /scripts/evaluations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/scripts/evaluations.py -------------------------------------------------------------------------------- /scripts/topic_attention_weights.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/scripts/topic_attention_weights.py -------------------------------------------------------------------------------- /scripts/topic_distrib_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/scripts/topic_distrib_eval.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/setup.py -------------------------------------------------------------------------------- /tests/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/tests/context.py -------------------------------------------------------------------------------- /tests/test_link_prediction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/tests/test_link_prediction.py -------------------------------------------------------------------------------- /tests/test_link_prediction_new.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/tests/test_link_prediction_new.py -------------------------------------------------------------------------------- /tests/test_multi_class_classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/tests/test_multi_class_classification.py -------------------------------------------------------------------------------- /tests/test_multi_class_classification_new.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/tests/test_multi_class_classification_new.py -------------------------------------------------------------------------------- /tests/test_multi_label_classification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/tests/test_multi_label_classification.py -------------------------------------------------------------------------------- /tests/test_multi_label_classification_new.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brochier/idne/HEAD/tests/test_multi_label_classification_new.py --------------------------------------------------------------------------------