Skip to main content

Predicting graph structure from a time series of graphs

Project description

Netseer

Predicting graph structure from a time series of graphs

This is a Python implementation of netseer.
Netseer is a tool that outputs a predicted graph based on a time series graph sequence

Purpose

The goal of netseer is to predict the graph structure including new nodes and edges from a time series of graphs.
The methodology is explained in the preprint (Kandanaarachchi et al. 2025).

Image of a time-series list of graphs and a predicted graph.

Installation

This package is available on PyPI, and can be installed with PIP or with a Package Manager:

pip install netseer # or uv add netseer

Quick Example

Generating an example graph list:

from netseer import generate_graph

graph_list = generate_graph.generate_graph_list()

The generate_graph_list() function has parameters for templating what types of graphs to generate. Information about these can be found in the reference docs.

Predicting on that graph:

from netseer import prediction

predict = prediction.predict_graph(graph_list, h=1)

Increasing the h parameter increases how many steps into the future the prediction is, with h=1 being 1 step in the graph sequence.

References

Kandanaarachchi, Sevvandi, Ziqi Xu, Stefan Westerlund, and Conrad Sanderson. 2025. “Predicting Graph Structure via Adapted Flux Balance Analysis.” https://arxiv.org/abs/2507.05806.

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

netseer-0.1.0.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netseer-0.1.0-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

Details for the file netseer-0.1.0.tar.gz.

File metadata

  • Download URL: netseer-0.1.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.4

File hashes

Hashes for netseer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ca4f29c229a8ce5435f92660ef3be00168f4b1797c0b14a77f99332a234b427c
MD5 dced6ed10d15dd9c230073b628dce7fd
BLAKE2b-256 b00ca60c7866b355ae5e497f3d49e9036f89ad1e0c2cd089e06edd923b3739fb

See more details on using hashes here.

File details

Details for the file netseer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: netseer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.4

File hashes

Hashes for netseer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d00a8bae5a86b7ed9e5351aa7b05620e521ccc22c4c789bd3bffce766a6f04d4
MD5 83329c307887de13291c56815725c688
BLAKE2b-256 13a2d95800bdd806bee5e4490a38effe8fbcab80cd268ee209eb989c2088ad27

See more details on using hashes here.

Supported by

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