Skip to main content

Official Python API for NOESIS, an open source framework for network data mining that provides a large collection of network analysis techniques, including the analysis of network structural properties, community detection methods, link scoring, and link prediction, as well as network visualization algorithms.

Installation

From PyPi:

pip install noesis

From source:

git clone https://github.com/fvictor/noesis-python.git
cd noesis-python
python setup.py install

Getting started

NOESIS for Python provides simple and unified interfaces for most of the implemented techniques. The following example loads a network from a GML file and detects its communities using the Kernighan–Lin algorithm:

from noesis import Noesis

ns = Noesis()

network_reader = ns.create_network_reader('GML')
network = network_reader.read('my_network.gml')

community_detector = ns.create_community_detector('KernighanLin')
communities = community_detector.compute(network)

for node in range(network.nodes()):
	print('Node {} belongs to community {}'.format(node, communities[node]))

ns.end()

The following example generates a network of 20 nodes and 100 links using the Erdös–Rényi model and computes the PageRank score of each node:

from noesis import Noesis

ns = Noesis()

network = ns.create_network_from_model('ErdosRenyi', 20, 100)

pagerank_scorer = ns.create_node_scorer('PageRank', 0.9)
scores = pagerank_scorer.compute(network)

for node in range(network.nodes()):
	print('Node {} has a PageRank score of {}'.format(node, scores[node]))

ns.end()

Always remember to call the end method of Noesis class to properly terminate the NOESIS session and finish the execution of your program.

Documentation

The documentation of the project, which can be built using SPHINX, is located in the doc folder. A readily available up-to-date version of the documentation can be found at http://noesis-python.readthedocs.io.

Metadata

Release files for noesis 0.2.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for noesis 0.2.8
File Size Uploaded
noesis-0.2.8.tar.gz 1.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for noesis 0.2.8
File Interpreter ABI Platform
noesis-0.2.8-py3-none-any.whl Python 3 none any Details

Total release size: 2.3 MB

Release files / noesis-0.2.8.tar.gz

Download URL noesis-0.2.8.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
23ec6df39bb0e38eddb368bbb04f2b60e0a83f310cc85b655aee8de9dc1a3dbd
BLAKE2b-256 checksum
How to use checksums
27a2c40d08b933aef121a96f110e58c4228e18c65ad15e8d354afb001239d5d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.5.4

Release files / noesis-0.2.8-py3-none-any.whl

Download URL noesis-0.2.8-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6e46041fa8bf66044e999817c13688ddb40daa9648f233ee58cab103ac55bb38
BLAKE2b-256 checksum
How to use checksums
2d808f433234897c6649c4375cb1ec07b72051bb915862e99c9f8256aacc09d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.5.4

Release history Release notifications | RSS feed

This release

0.2.8 This release

2 release files

0.2.7

2 release files

0.2.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page