Metadata-Version: 2.1
Name: Xnode2vec
Version: 0.0.4.2
Summary: Implementation of fastnode2vec algorithm for networkx objects.
Home-page: https://github.com/Stefano314/XNode2Vec
Author: Stefano Bianchi
Author-email: stefanobianchi314@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# XNode2Vec
Description
-----------
This repository is meant to show the strength of Node2Vec prediction algorithm and to apply it to very different types of networks. In addition, the original [Node2Vec](https://github.com/aditya-grover/node2vec) algorithm was replaced with an extremely faster version, called [FastNode2Vec](https://github.com/louisabraham/fastnode2vec). The application of the algorithm is provided by a function that works with **networkx** objects, that are quite user-friendly.

Installation
------------
In order to install the Xnode2vec package simply use pip:

- pip install Xnode2vec

*If there are some problems with the installation, please read the "Note" below.*

Note
-----------
9/17/2021: I had some issues when installing the fastnode2vec package; in particular, the example given by Louis Abraham gives an error. I noticed that after the installation, the declaration of the file "node2vec.py" wasn't the same as the latest version available on its GitHub (at the moment). My brutal solution was simply to just copy the whole content into the node2vec.py file. This solves the problem.

# Examples
Most Similar Nodes, Balanced Tree
---------------------------------
![tree_15](https://user-images.githubusercontent.com/79590448/132143490-64ac2417-4d21-4a87-aa42-e9e0784bcb58.png)

Most Similar Nodes Distribution, E-R
------------------------------------
![E-R_Nodes](https://user-images.githubusercontent.com/79590448/132143507-94807c17-4656-44b0-bac1-6af945d50fbf.png)

Community Network
-----------------
![Com_class](https://user-images.githubusercontent.com/79590448/134899866-713d943d-0159-40af-bda5-9297195d4596.png)

Hi-C Translocation Detection
----------------------------
![Sim3_2](https://user-images.githubusercontent.com/79590448/134982724-307334c8-74c8-48af-b6a8-88f0547fc40a.png)



