##EkiNetworkX - Custom functions to compute networkX graph
========================================================
### INSTALL
Install with pip:
pip install ekiNx
Example of usage:
>>> from ekiNx import core
>>> core.proclamer()
========================================================
### This module provides complement functions for lib NetworkX
_Function to compute bipartite graph and project to one set of nodes_
#### __FromDataFrame__ :
* _INPUT:_
* data is a pandas dataframe
* u is the name of column for node 'projected'
* v is the name of column for node to project
* w is the name of column for weight
* alpha is a threshold to map or not a edge
* _OUTPUT:_
* compute numpy array (dim 2 N)
* U: are nodes projected
* V: are node to project
* E: edges with weight attributes if weight columns filled
#### __mapBipartite__ :
- create biGraph and map nodes/edges
* _INPUT:_
* U nodes 'projected'
* V nodes to project
* E: edges with weight attributes if weight columns filled
* _OUTPUT:_
* g: networkX biGraph
#### __projectGraph__ :
- create biGraph and map nodes/edges
* _INPUT:_
* U biGraph a bigraph networkX object
* V is the set on
* weight_function to compute edges weight ( for instance jaccard)
* _OUTPUT:_
* g: networkX object representing a undirected graph
#### __graphFromPandasAdjancyMatrix__ :
- map nodes and edges from adjancy matrix:
* _INPUT:_
* data is a pandas object representing an adjacency matrix
* _OUTPUT:_
* g: anetworkX object representing a undirected graph
each node contain is label with column label
========================================================
Ce code est sous licence WTFPL.
========================================================
### INSTALL
Install with pip:
pip install ekiNx
Example of usage:
>>> from ekiNx import core
>>> core.proclamer()
========================================================
### This module provides complement functions for lib NetworkX
_Function to compute bipartite graph and project to one set of nodes_
#### __FromDataFrame__ :
* _INPUT:_
* data is a pandas dataframe
* u is the name of column for node 'projected'
* v is the name of column for node to project
* w is the name of column for weight
* alpha is a threshold to map or not a edge
* _OUTPUT:_
* compute numpy array (dim 2 N)
* U: are nodes projected
* V: are node to project
* E: edges with weight attributes if weight columns filled
#### __mapBipartite__ :
- create biGraph and map nodes/edges
* _INPUT:_
* U nodes 'projected'
* V nodes to project
* E: edges with weight attributes if weight columns filled
* _OUTPUT:_
* g: networkX biGraph
#### __projectGraph__ :
- create biGraph and map nodes/edges
* _INPUT:_
* U biGraph a bigraph networkX object
* V is the set on
* weight_function to compute edges weight ( for instance jaccard)
* _OUTPUT:_
* g: networkX object representing a undirected graph
#### __graphFromPandasAdjancyMatrix__ :
- map nodes and edges from adjancy matrix:
* _INPUT:_
* data is a pandas object representing an adjacency matrix
* _OUTPUT:_
* g: anetworkX object representing a undirected graph
each node contain is label with column label
========================================================
Ce code est sous licence WTFPL.
Release files for ekiNx 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ekiNx-0.0.4.tar.gz | 5.5 kB | Details |
Release files / ekiNx-0.0.4.tar.gz
| Download URL | ekiNx-0.0.4.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02871a75e9a2c43d6355dec3375412dba433ec15249e1760b80848e405d63526
|
|
BLAKE2b-256 checksum How to use checksums |
6b6286d7313b740e8c07d18b7fcbded54da6a669f992afbfd4a48e44b7461386
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |