Skip to main content

An open source framework for network data mining that provides a large collection of network analysis techniques

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

noesis-0.2.8.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

noesis-0.2.8-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file noesis-0.2.8.tar.gz.

File metadata

  • Download URL: noesis-0.2.8.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for noesis-0.2.8.tar.gz
Algorithm Hash digest
SHA256 23ec6df39bb0e38eddb368bbb04f2b60e0a83f310cc85b655aee8de9dc1a3dbd
MD5 60812a74292fdcbb8a23eaa1522f3d1a
BLAKE2b-256 27a2c40d08b933aef121a96f110e58c4228e18c65ad15e8d354afb001239d5d4

See more details on using hashes here.

File details

Details for the file noesis-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: noesis-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for noesis-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6e46041fa8bf66044e999817c13688ddb40daa9648f233ee58cab103ac55bb38
MD5 b3fc4f3ceed5e581c29177c604cf7009
BLAKE2b-256 2d808f433234897c6649c4375cb1ec07b72051bb915862e99c9f8256aacc09d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page